[llvm] [X86] Narrow vXi32/vXi64 usubsat to vpsubusb/vpsubusw when LHS is known to fit in fewer bits (PR #206592)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 17 00:43:47 PDT 2026
================
----------------
RKSimon wrote:
Would this work? It'd avoid the `ActiveBits > NarrowBits` early-out check
```suggestion
for (unsigned NarrowBits = PowerOf2Ceil(ActiveBits); NarrowBits < ScalarBits; NarrowBits *= 2) {
```
https://github.com/llvm/llvm-project/pull/206592
More information about the llvm-commits
mailing list