[PATCH] D51218: [GVN] Invalidate cached info for values replaced by equality propagation

John Brawn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 7 08:11:01 PDT 2018


john.brawn updated this revision to Diff 164422.
john.brawn added a comment.

I've adjusted the comment in the test case. I'm pretty sure that the part that the test is testing (that PRE is happening) is correct even if the equality propagation didn't happen, as it's based on knowing that the value of two pointers differs by a nonzero value and not anything to do with the provenance of the pointers.


Repository:
  rL LLVM

https://reviews.llvm.org/D51218

Files:
  lib/Transforms/Scalar/GVN.cpp
  test/Transforms/GVN/condprop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51218.164422.patch
Type: text/x-patch
Size: 3289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180907/735b4c19/attachment.bin>


More information about the llvm-commits mailing list