[llvm] [LoopVectorize] Enable vectorisation of early exit loops with live-outs (PR #120567)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 29 03:26:25 PST 2025


david-arm wrote:

> We have the same issue for other phi-like recipes, see TODO above (line 210). I think it should be sufficient to skip VPIRInstructions wrapping a phi instruction there as well?
> 
> That way we would preserve def-use checks for other recipes in VPIRBasicBlocks.

Yep, I've tried to do that in the latest patch. That will then be superseded by https://github.com/llvm/llvm-project/pull/124838 (or whichever comes first).

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


More information about the llvm-commits mailing list