[llvm] [AMDGPU] Custom lower get_fpmode for demanded-bits based read narrowing (PR #218137)

Madhur Kumar via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 03:58:55 PDT 2026


================
@@ -14935,6 +14966,45 @@ SDValue SITargetLowering::performAndCombine(SDNode *N,
       }
     }
 
+    if (CRHS && LHS.getOpcode() == ISD::INTRINSIC_W_CHAIN && LHS.hasOneUse()) {
----------------
MadhurKumar004 wrote:

> Also does this mean that global isel is broken now? The test seems to be missing -global-isel run lines

Yes it seems the global-isel case case is broken and the test needs -global-isel run lines too. 

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


More information about the llvm-commits mailing list