JIT fails to treat expression as non-negative after range check #112765
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
in-pr
There is an active PR which will close this issue when it is merged
Milestone
https://godbolt.org/z/Wv5bv99bb
This occurs in practice in a bunch of places throughput our
IndexOf
-like logic, e.g.runtime/src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Packed.cs
Line 431 in 7e5e573
runtime/src/libraries/System.Private.CoreLib/src/System/SearchValues/IndexOfAnyAsciiSearcher.cs
Line 347 in 7e5e573
The text was updated successfully, but these errors were encountered: