[PATCH] D153752: [InstSimplify] Fold icmp comparing GEPs with local allocation

hanbum via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 17:56:23 PDT 2023


ParkHanbum added a comment.

sure, I use email kese111 at gmail.com and name is Hanbum Park!



================
Comment at: llvm/test/Transforms/InstSimplify/cmp-alloca-offsets.ll:173
   ret i1 %res
 }
 
----------------
nikic wrote:
> We should have some additional test cases that work on differently-sized allocas, to show that the check is asymmetric. E.g. allocas with size 2 and 4 with effective diffs 2 and -2.
added test cases!


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153752/new/

https://reviews.llvm.org/D153752



More information about the llvm-commits mailing list