[llvm] [RISCV] Remove {s,u}int_to_fp custom op action for f16/bf16. NFC (PR #111471)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 21:39:15 PDT 2024


================
@@ -1071,9 +1071,7 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
       setOperationAction({ISD::VP_MERGE, ISD::VP_SELECT, ISD::SELECT}, VT,
                          Custom);
       setOperationAction(ISD::SELECT_CC, VT, Expand);
-      setOperationAction({ISD::SINT_TO_FP, ISD::UINT_TO_FP, ISD::VP_SINT_TO_FP,
-                          ISD::VP_UINT_TO_FP},
-                         VT, Custom);
+      setOperationAction({ISD::VP_SINT_TO_FP, ISD::VP_UINT_TO_FP}, VT, Custom);
----------------
topperc wrote:

Does this mean the VP intrinsics use a different operand than the non-VP for this?

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


More information about the llvm-commits mailing list