diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-05-22 17:38:41 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-05-22 17:38:41 +0000 |
commit | 7518879697bee64c8ce35c3f41e781f5858285be (patch) | |
tree | 7aaa3da23514344466c1156635578788cf667183 /lib/Target | |
parent | ca885988aed5337f4d5efc4843dd91f7f1f02208 (diff) | |
download | external_llvm-7518879697bee64c8ce35c3f41e781f5858285be.zip external_llvm-7518879697bee64c8ce35c3f41e781f5858285be.tar.gz external_llvm-7518879697bee64c8ce35c3f41e781f5858285be.tar.bz2 |
Only 64-bit targets support TImode libcalls. Disable the TImode shift libcalls
for ARM. This fixes rdar://6908807.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72269 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index e068465..c0fd9dc 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -137,6 +137,11 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM) } } + // These libcalls are not available in 32-bit. + setLibcallName(RTLIB::SHL_I128, 0); + setLibcallName(RTLIB::SRL_I128, 0); + setLibcallName(RTLIB::SRA_I128, 0); + if (Subtarget->isThumb()) addRegisterClass(MVT::i32, ARM::tGPRRegisterClass); else |