[llvm] [VPlan] Use VP intrinsics for trapping divisors with EVL tail folding (PR #154076)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 18 02:44:40 PDT 2025


https://github.com/fhahn commented:

Hmm, I think it would be best to avoid introducing this early, as this seems inconsistent with how tail-folding with EVL is handled.

I think we could still run into the same issue as with https://github.com/llvm/llvm-project/pull/148828 (e.g. consider a transform that can prove all divisors are != for all loop iterations.

For https://github.com/llvm/llvm-project/pull/148828, we should be able to check if all users are safe, no?

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


More information about the llvm-commits mailing list