Ramkumar Ramachandra e8cceccea1
[IVDesc] Fix off-by-one error in FindFirstIV ranges (#174441)
ConstantRange::getNonEmpty was excluding MAX and MAX - 1 in FindFirstIV
vectorization, and this was discovered in an i1 miscompile, where it
returns the full range: fix it to exclude MAX only. The change has also
necessitated fixing a test that's not supposed to be vectorized.

Fixes #173459.

Co-authored-by: Nikita Popov <npopov@redhat.com>
2026-01-12 18:08:49 +00:00
..