[llvm] [AMDGPU] Reland "Remove redundant s_cmp_lg_* sX, 0" (PR #164201)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 20 08:13:49 PDT 2025


================
@@ -729,6 +729,7 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
     case AMDGPU::S_MAX_I32:
     case AMDGPU::S_MAX_U32:
     case AMDGPU::S_ADDK_I32:
+    case AMDGPU::SI_PC_ADD_REL_OFFSET:
----------------
LU-JOHN wrote:

Added new test and inverted logic.

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


More information about the llvm-commits mailing list