[llvm] [AMDGPU] Reland "Remove redundant s_cmp_lg_* sX, 0" (PR #164201)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 21 08:09:10 PDT 2025
================
@@ -709,6 +709,50 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
}
}
+ static bool setsSCCifResultIsNonZero(const MachineInstr &MI) {
+ switch (MI.getOpcode()) {
+ case AMDGPU::S_ABS_I32:
----------------
LU-JOHN wrote:
Sorted. Added S_WQM_*.
https://github.com/llvm/llvm-project/pull/164201
More information about the llvm-commits
mailing list