[llvm] [X86][DAG] remove LowerFCanonicalize (PR #188127)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 26 03:12:31 PDT 2026


================
@@ -345,9 +343,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
   // TODO: when we have SSE, these could be more efficient, by using movd/movq.
   if (!Subtarget.hasSSE2()) {
     setOperationAction(ISD::BITCAST        , MVT::f32  , Expand);
-    setOperationAction(ISD::BITCAST        , MVT::i32  , Expand);
-    setOperationAction(ISD::FCANONICALIZE, MVT::f32, Expand);
-    setOperationAction(ISD::FCANONICALIZE, MVT::f64, Expand);
+    setOperationAction(ISD::BITCAST, MVT::i32, Expand);
----------------
RKSimon wrote:

undo formatting change

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


More information about the llvm-commits mailing list