[llvm] SelectionDAG: Use qNaN constant if FCANONICALIZE not LegalOrCustom (PR #104564)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 16 10:53:12 PDT 2024
================
@@ -668,6 +669,8 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
setOperationAction(ISD::FSIN , VT, Expand);
setOperationAction(ISD::FCOS , VT, Expand);
setOperationAction(ISD::FSINCOS, VT, Expand);
+
+ setOperationAction(ISD::FCANONICALIZE, VT, Expand);
----------------
arsenm wrote:
This is just a workaround with no actual expand implementation
https://github.com/llvm/llvm-project/pull/104564
More information about the llvm-commits
mailing list