Only 64-bit targets support TImode libcalls. Disable the TImode shift libcalls

for ARM.  This fixes rdar://6908807.

llvm-svn: 72269
This commit is contained in:
Bob Wilson 2009-05-22 17:38:41 +00:00
parent d5fc3518d5
commit 372984e7a2

View File

@ -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