[llvm] [SCCP] Give SimplifyInst a chance in visitCmpInst (PR #226327)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 00:27:04 PDT 2026


================

----------------
nikic wrote:

This is incorrect, the lattice does have vector ranges. They're just not handled in `ValueLatticeElement::getCompare()`. More specifically, it does not handle comparison between constant ranges and constants.

https://github.com/llvm/llvm-project/pull/226327


More information about the llvm-commits mailing list