[llvm] [X86] Adding lowerings for vector ISD::LRINT and ISD::LLRINT (PR #90065)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 25 08:32:30 PDT 2024
================
@@ -1092,6 +1092,8 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
setOperationAction(ISD::FABS, MVT::v2f64, Custom);
setOperationAction(ISD::FCOPYSIGN, MVT::v2f64, Custom);
+ setOperationAction(ISD::LRINT, MVT::v4f32, Custom);
----------------
artagnon wrote:
Is this correct? The MVT of `ISD::LRINT` is usually set to its output type, not input type. Shouldn't this be `MVT::v4i32`?
https://github.com/llvm/llvm-project/pull/90065
More information about the llvm-commits
mailing list