projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6d0294
)
Only 64-bit targets support TImode libcalls. Disable the TImode shift libcalls
author
Bob Wilson
<bob.wilson@apple.com>
Fri, 22 May 2009 17:38:41 +0000
(17:38 +0000)
committer
Bob Wilson
<bob.wilson@apple.com>
Fri, 22 May 2009 17:38:41 +0000
(17:38 +0000)
for ARM. This fixes rdar://
6908807
.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72269
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMISelLowering.cpp
b/lib/Target/ARM/ARMISelLowering.cpp
index e06846559c3de088544e8a146fa21a8e1970b3ad..c0fd9dcd10729a4d9c093fc0dd1e3a3b8078d2be 100644
(file)
--- 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