arie2026
arie2026
SLP recognises a byte-packing `or` reduction as a bit pack, but one lane is `add %za, 0` instead of `shl %za, 0`. The interchangeable-opcode logic puts that lane into the...
When `getTreeCost` picks the block for extracting an externally used scalar, a loop PHI user's site is the *incoming block* of the edge that carries the scalar. Only the PHI's...
Since #238017, the `DSEState` constructor calls `AnyCoroEndInst::isFallthrough()` on every `llvm.coro.end` / `llvm.coro.end.async` call. `isUnwind()` does `cast(getArgOperand(1))`, but that operand has no `ImmArg` and the verifier accepts any `i1`. So DSE...
The absolute-difference partial-reduction transform rewrites `abs(sub(sext X, sext Y))` into new `freeze`/`smax`/`smin`/`sub` widen recipes that have no underlying IR instruction. When `X`/`Y` are loop-invariant, `narrowToSingleScalarRecipes` treats `freeze X` as single-scalar...
On x86-64 with AVX2, LoopVectorize turns an **`or`** reduction whose operand is `abs(sub(sext a, sext b))` into `llvm.vector.partial.reduce.add`, i.e. it adds the values instead of or-ing them. The middle block...
`sinkUnusedInvariants` moves a sinkable preheader instruction to `ExitBlock->getFirstInsertionPt()`. If the unique exit block is a `catchswitch` block, that is `end()`, and `Instruction::moveBefore(BasicBlock::iterator)` dereferences the sentinel. Reproducer (`opt -passes=indvars`, no target...
In IR the two `or`s share no operand, so MinBWs gives them different widths. VPlan then folds `sext i8 1 to i32` into the live-in `ir`, which the first `or`...
In this tail-folded loop with a predicated `srem`, `zext i8 %iv` becomes a single-scalar `EMIT-SCALAR` cast that reads only lane 0 of the SCALAR-STEPS, but its user `select` is widened....
This is another instance of the `scheduleBlock` "must be scheduled at this point" assertion (cf. #223139 and earlier, all closed); it still fails on current main. The scalar `%sub1` appears...
`canFormVector` dereferences `*Diff` from `getPointersDiff(front, SI)` without a check. That relies on `collectUserStores` having validated the same pair, but in the *other* order. With the pointer-distance cache, the two orders...