[llvm] [AMDGPU] Remove RCP_IFLAG combine (PR #197426)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Wed May 13 05:38:20 PDT 2026


================
@@ -15463,12 +15463,6 @@ SDValue SITargetLowering::performRcpCombine(SDNode *N,
                                  SDLoc(N), VT);
   }
 
-  if (VT == MVT::f32 && (N0.getOpcode() == ISD::UINT_TO_FP ||
-                         N0.getOpcode() == ISD::SINT_TO_FP)) {
-    return DCI.DAG.getNode(AMDGPUISD::RCP_IFLAG, SDLoc(N), VT, N0,
----------------
jayfoad wrote:

I think you can now remove all support for the RCP_IFLAG ISD node?

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


More information about the llvm-commits mailing list