[llvm] [RFC][LV] Add support for speculative loads in loops that may fault (PR #151300)

Shih-Po Hung via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 1 06:06:02 PDT 2025


arcbbb wrote:

> I think it would be good for reviewers if this patch was split up into several parts, probably roughly in this order:
> 
> 1. Codegen specific parts related to the RISCV intrinsic,
> 2. A standalone loop vectorisation legality patch similar to [[LV] Add initial legality checks for ee loops with stores #145663](https://github.com/llvm/llvm-project/pull/145663),
> 3. A loop vectoriser patch that starts vectorising the loops you're interested in.

Thanks for outlining the steps. That’s very helpful! I’ll follow this order for splitting up the patch.


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


More information about the llvm-commits mailing list