Unnecessary assertion inside while i < *::MAX
loop
#75546
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
A-mir-opt
Area: MIR optimizations
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
I-slow
Issue: Problems and improvements with respect to performance of generated code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
https://godbolt.org/z/oY5ra8
The assertion disappears when comparing against a non-MAX value for a given type, or with
mir-opt-level
2 and above.The text was updated successfully, but these errors were encountered: