[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:07 PDT 2026


================

----------------
lei137 wrote:

nit:

```suggestion
      SDValue Addc = DAG.getNode(PPCISD::ADDC, dl, DAG.getVTList(VT, MVT::i32),
```

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


More information about the llvm-commits mailing list