mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Remove another Darwin assembler workaround.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78779 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c972165b11
commit
e0d7fe8550
@ -1378,8 +1378,6 @@ bool ARMConstantIslands::OptimizeThumb2JumpTables(MachineFunction &MF) {
|
||||
if (ByteOk && (DstOffset - JTOffset) > ((1<<8)-1)*2)
|
||||
ByteOk = false;
|
||||
unsigned TBHLimit = ((1<<16)-1)*2;
|
||||
if (STI->isTargetDarwin())
|
||||
TBHLimit >>= 1; // FIXME: Work around an assembler bug.
|
||||
if (HalfWordOk && (DstOffset - JTOffset) > TBHLimit)
|
||||
HalfWordOk = false;
|
||||
if (!ByteOk && !HalfWordOk)
|
||||
|
Loading…
x
Reference in New Issue
Block a user