diff options
author | Oliver Cruickshank <oliver.cruickshank@arm.com> | 2019-09-20 15:03:44 +0000 |
---|---|---|
committer | Oliver Cruickshank <oliver.cruickshank@arm.com> | 2019-09-20 15:03:44 +0000 |
commit | c84722ff277a6848dfa17d137dcf21d64cdfb972 (patch) | |
tree | df4ca5657d3d2242248f6d1d5120dde632f64791 /llvm/lib | |
parent | 267205149587595e956db25a12252835a51cd372 (diff) | |
download | bcm5719-llvm-c84722ff277a6848dfa17d137dcf21d64cdfb972.tar.gz bcm5719-llvm-c84722ff277a6848dfa17d137dcf21d64cdfb972.zip |
[ARM] Fix CTTZ not generating correct instructions MVE
CTTZ intrinsic should have been set to Custom, not Expand
llvm-svn: 372401
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index e30b878d84e..fbcdbbc2d0a 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -262,7 +262,7 @@ void ARMTargetLowering::addMVEVectorTypes(bool HasMVEFP) { setOperationAction(ISD::MLOAD, VT, Custom); setOperationAction(ISD::MSTORE, VT, Legal); setOperationAction(ISD::CTLZ, VT, Legal); - setOperationAction(ISD::CTTZ, VT, Expand); + setOperationAction(ISD::CTTZ, VT, Custom); setOperationAction(ISD::BITREVERSE, VT, Legal); setOperationAction(ISD::BSWAP, VT, Legal); |