[llvm] [VPlan] Use llvm.masked.{u, s}{div, rem} for predicated division (PR #191377)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 02:03:51 PDT 2026


================
@@ -85,8 +85,7 @@ define void @vector_sdiv(ptr noalias nocapture %a, i64 %v, i64 %n) {
 ; CHECK-NEXT:    [[TMP10:%.*]] = call i32 @llvm.experimental.get.vector.length.i64(i64 [[AVL]], i32 2, i1 true)
----------------
fhahn wrote:

It looks like there's one remaining `safe divisor` reference in `llvm/test/Transforms/LoopVectorize/RISCV/pr154103.ll`

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


More information about the llvm-commits mailing list