diff options
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp index b2f61ab85d8..12ae9087e0f 100644 --- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp +++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp @@ -598,6 +598,15 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM, setOperationAction(ISD::CTLZ, MVT::v1i64, Expand); setOperationAction(ISD::CTLZ, MVT::v2i64, Expand); + setOperationAction(ISD::CTTZ, MVT::v2i8, Expand); + setOperationAction(ISD::CTTZ, MVT::v4i16, Expand); + setOperationAction(ISD::CTTZ, MVT::v2i32, Expand); + setOperationAction(ISD::CTTZ, MVT::v1i64, Expand); + setOperationAction(ISD::CTTZ, MVT::v16i8, Expand); + setOperationAction(ISD::CTTZ, MVT::v8i16, Expand); + setOperationAction(ISD::CTTZ, MVT::v4i32, Expand); + setOperationAction(ISD::CTTZ, MVT::v2i64, Expand); + // AArch64 doesn't have MUL.2d: setOperationAction(ISD::MUL, MVT::v2i64, Expand); // Custom handling for some quad-vector types to detect MULL. |