[llvm] [ExpandVectorPredication] Expand vp.load.ff. (PR #154440)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 21 09:13:16 PDT 2025


lukel97 wrote:

> The current LangRef text allows the EVL parameter to be zero. As a result, this lowering is unsound - we need to conditionally zero the first mask element based on whether the EVL is zero.

The EVL is folded into the mask in `foldEVLIntoMask` so if the EVL is zero then the mask in the expansion will also be zero


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


More information about the llvm-commits mailing list