[llvm] Non-functional changes found static analyer (PR #171197)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 8 14:47:05 PST 2025
================
@@ -5809,9 +5809,6 @@ bool PPCInstrInfo::getMemOperandWithOffsetWidth(
if (!LdSt.getOperand(1).isImm() ||
(!LdSt.getOperand(2).isReg() && !LdSt.getOperand(2).isFI()))
return false;
- if (!LdSt.getOperand(1).isImm() ||
- (!LdSt.getOperand(2).isReg() && !LdSt.getOperand(2).isFI()))
----------------
arsenm wrote:
I'm guessing this meant to check the commuted operands
https://github.com/llvm/llvm-project/pull/171197
More information about the llvm-commits
mailing list