[llvm-branch-commits] [llvm] [SelectionDAG] Adaptation for FP operation lowering (PR #138553)

Serge Pavlov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon May 12 09:36:05 PDT 2025


================
@@ -6826,9 +6824,7 @@ void SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I,
     case Intrinsic::exp10:        Opcode = ISD::FEXP10;        break;
     case Intrinsic::floor:        Opcode = ISD::FFLOOR;        break;
     case Intrinsic::ceil:         Opcode = ISD::FCEIL;         break;
-    case Intrinsic::trunc:        Opcode = ISD::FTRUNC;        break;
     case Intrinsic::rint:         Opcode = ISD::FRINT;         break;
-    case Intrinsic::nearbyint:    Opcode = ISD::FNEARBYINT;    break;
----------------
spavloff wrote:

They are handles together with all floating-point operations, see the code added at line 6958.

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


More information about the llvm-branch-commits mailing list