[llvm] [AMDGPU][CodeGen] Implement SimplifyDemandedBitsForTargetNode for readlane, wwm and set.inactive intrinsics. (PR #190830)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 02:31:59 PDT 2026


================
@@ -5813,7 +5813,10 @@ bool AMDGPUTargetLowering::SimplifyDemandedBitsForTargetNode(
   switch (Op.getOpcode()) {
   case ISD::INTRINSIC_WO_CHAIN: {
     switch (Op.getConstantOperandVal(0)) {
-    case Intrinsic::amdgcn_readfirstlane: {
+    case Intrinsic::amdgcn_readfirstlane:
+    case Intrinsic::amdgcn_readlane:
+    case Intrinsic::amdgcn_set_inactive:
----------------
jayfoad wrote:

Ah, is this #201817?

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


More information about the llvm-commits mailing list