[llvm] [PowerPC] fixed issue "Failure to optimize (x == 0) ? 0xFF : 0 to addic+subfe instead of cntlzw+srwi+neg" (PR #190606)
Lei Huang via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 7 07:00:03 PDT 2026
================
----------------
lei137 wrote:
same as before. Early exit
```
if (CC != ISD::SETEQ || (!isNullConstant(LHS) && !isNullConstant(RHS)))
return SDValue();
```
https://github.com/llvm/llvm-project/pull/190606
More information about the llvm-commits
mailing list