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 499f3f9c5d
commit ccbc17b3a3
1 changed files with 5 additions and 0 deletions

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()) if (Subtarget->isThumb())
addRegisterClass(MVT::i32, ARM::tGPRRegisterClass); addRegisterClass(MVT::i32, ARM::tGPRRegisterClass);
else else