ubmaxxer
ubmaxxer
**Description** When dxc unrolls a loop that has two `break`s nested inside a conditional, a shader invocation that leaves through the first `break` gets the value that belongs to the...
**Description** dxc fails to compile the valid shader below at `-O1`, `-O2` and `-O3` (the default). The source has no out-of-bounds access: every array index is masked to the array...
On main, the SLP vectorizer demotes a `trunc` node to `i1`, because its vectorized user is `and x, 1`. Two of its scalars are also in a second `trunc` node,...
Since #203787, the dependence check in LoopAccessAnalysis adds the no-wrap predicates of both pointers to `PredicatedScalarEvolution` again for every pair of accesses, and each add walks the predicates already held...
InstSimplify folds `select (icmp ugt Y, X), X, umin(X, Y)` to the existing `umin(X, Y)` call. If that call has a `range` attribute, on its return value or on an...
Since #185602, `RISCVTargetLowering::lowerInterleavedLoad` lowers a masked interleaved load with a single active field to a full N-field segment load and relies on a later DAG combine to turn it into...
With fixed-length SVE of 256 bits or more and strict alignment, converting four under-aligned `i16` elements to `float` crashes instruction selection. After vector legalization the DAG combiner splits `zero_extend (load...
### Reproducer godbolt: https://godbolt.org/z/997qT16Tr Reproduces with `opt` (trunk) on godbolt and locally at faf262703dfc53f2fc7a877c32a1ba8c462ed343 (`opt` and `llubi` built from that revision). `opt` 23.1.0 gives the same output; `opt` 22.1.0 does...
With `-force-vector-interleave=8 -epilogue-vectorization-force-VF=2`, a loop with exactly 2 iterations enters the epilogue vector loop with a vector trip count of 0. The exit test never succeeds and the loop reads...
With `-tail-folding-policy=must-fold-tail -force-vector-interleave=4 -prefer-inloop-reductions`, a plain add reduction is interleaved by 4 with VF 1 and a folded tail. The loads are predicated, but the reduction adds are not, so...