mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Thumb does not have clz.
llvm-svn: 33773
This commit is contained in:
parent
e5e4a44cca
commit
73975a6076
@ -154,7 +154,7 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
|
||||
setOperationAction(ISD::ROTL, MVT::i32, Expand);
|
||||
setOperationAction(ISD::CTTZ , MVT::i32, Expand);
|
||||
setOperationAction(ISD::CTPOP, MVT::i32, Expand);
|
||||
if (!Subtarget->hasV5TOps())
|
||||
if (!Subtarget->hasV5TOps() || Subtarget->isThumb())
|
||||
setOperationAction(ISD::CTLZ, MVT::i32, Expand);
|
||||
|
||||
// These are expanded into libcalls.
|
||||
|
Loading…
Reference in New Issue
Block a user