[llvm] [X86] optimize masked truncated saturating stores (PR #169827)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 28 05:15:26 PST 2025


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

----------------
RKSimon wrote:

No need to create a SmallVector on the fly as we know the array width:
```
SDValue Ops[]  = {
  Mst->getChain(),
  SatSrc,
  Mst->getBasePtr(),
  Mask
};
```

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


More information about the llvm-commits mailing list