[PATCH] D98422: [Alias] Add a ah-hoc pattern with two PHI for isKnownNonEqual

JinGu Kang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 22 04:11:09 PDT 2021


jaykang10 updated this revision to Diff 332245.
jaykang10 added a comment.

Following patch and comment of @nikic, use isKnownNonEqual instead of checking add/mul.


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

https://reviews.llvm.org/D98422

Files:
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/test/Analysis/ValueTracking/non-equal-two-phis.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98422.332245.patch
Type: text/x-patch
Size: 7868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210322/a7d1e75f/attachment.bin>


More information about the llvm-commits mailing list