mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Remove another Darwin assembler workaround.
llvm-svn: 78779
This commit is contained in:
parent
410447e028
commit
bb24fe8602
@ -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…
Reference in New Issue
Block a user