llvm-project
af03d6b5 - [AArch64][SVE] Refactor getPTrue to return splat(1) when pattern=all. (#139236)

Commit
216 days ago
[AArch64][SVE] Refactor getPTrue to return splat(1) when pattern=all. (#139236) Similarly to #135016, refactor getPTrue to return splat (1) for all-active patterns. The main motivation for this is to improve code gen for fixed-length vector loads/stores that are converted to SVE masked memory ops when the vectors are wider than Neon. Emitting the mask as a splat helps DAGCombiner simplify all-active masked loads/stores into unmaked ones, for which it already has suitable combines and ISel has suitable patterns.
Author
Parents
Loading