[llvm] [CVP] Propagate constant range on icmp at use level (PR #73767)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 00:59:42 PST 2023


================
@@ -275,11 +275,26 @@ static bool processICmp(ICmpInst *Cmp, LazyValueInfo *LVI) {
   if (!Cmp->isSigned())
     return false;
----------------
nikic wrote:

This code should come before the isSigned() check.

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


More information about the llvm-commits mailing list