Remix.run Logo
▲ afdbcreid an hour ago

The reasoning is roughly correct but range checking isn't what const-folding the comparisons into `false` (rather it's a special rule for LLVM's `undef`).