aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-08-12 02:07:19 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-08-12 02:07:19 +0000
commite0d7fe85505b14c014a9da78e891359a99c1e0a3 (patch)
tree67484cf3f8799b1217e0c44515841703d810e4d3
parentc972165b114477a57f0c6e0984b1be81d5ccdd82 (diff)
downloadexternal_llvm-e0d7fe85505b14c014a9da78e891359a99c1e0a3.zip
external_llvm-e0d7fe85505b14c014a9da78e891359a99c1e0a3.tar.gz
external_llvm-e0d7fe85505b14c014a9da78e891359a99c1e0a3.tar.bz2
Remove another Darwin assembler workaround.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78779 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMConstantIslandPass.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMConstantIslandPass.cpp b/lib/Target/ARM/ARMConstantIslandPass.cpp
index 1491569..5f2c902 100644
--- a/lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/lib/Target/ARM/ARMConstantIslandPass.cpp
@@ -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)