forked from OSchip/llvm-project
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:
parent
499f3f9c5d
commit
ccbc17b3a3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue