Skip to content
Snippets Groups Projects
Commit a6527d6a authored by Chris Lattner's avatar Chris Lattner
Browse files

Dan pointed out that this is done, remove it!

llvm-svn: 35430
parent 734077b1
No related branches found
No related tags found
No related merge requests found
...@@ -28,27 +28,6 @@ _bar: ...@@ -28,27 +28,6 @@ _bar:
We need to do the tailcall optimization as well. We need to do the tailcall optimization as well.
//===---------------------------------------------------------------------===//
For this:
int test(int a)
{
return a * 3;
}
We generates
leal (%edi,%edi,2), %eax
We should be generating
leal (%rdi,%rdi,2), %eax
instead. The later form does not require an address-size prefix 67H.
It's probably ok to simply emit the corresponding 64-bit super class registers
in this case?
//===---------------------------------------------------------------------===// //===---------------------------------------------------------------------===//
AMD64 Optimization Manual 8.2 has some nice information about optimizing integer AMD64 Optimization Manual 8.2 has some nice information about optimizing integer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment