mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Dan pointed out that this is done, remove it!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35430 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6461bbfc50
commit
e9a61234ce
@ -28,27 +28,6 @@ _bar:
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user