[llvm] ISel/AArch64/SVE: custom lower vector ISD::[L]LRINT (PR #89035)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed May 8 11:06:47 PDT 2024


================
@@ -1526,6 +1526,8 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
       setOperationAction(ISD::FNEARBYINT, VT, Custom);
       setOperationAction(ISD::FRINT, VT, Custom);
       setOperationAction(ISD::FROUND, VT, Custom);
+      setOperationAction(ISD::LRINT, VT, Custom);
----------------
davemgreen wrote:

Can you add custom for Neon lrint/llrint too, perhaps similar to the code on line 1300 but marking them as Custom as opposed to Legal.

https://github.com/llvm/llvm-project/pull/89035


More information about the llvm-commits mailing list