[PATCH] D44160: [GVN] Don't use the eliminated load as an available value in phi construction

John Brawn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 20 05:15:00 PDT 2018


john.brawn updated this revision to Diff 152063.
john.brawn set the repository for this revision to rL LLVM.
john.brawn added a comment.

Adjusted to require that the load must be available in the block the load is in, as in some cases not having that causes things to go wrong (test for this also added).


Repository:
  rL LLVM

https://reviews.llvm.org/D44160

Files:
  lib/Transforms/Scalar/GVN.cpp
  test/Transforms/GVN/PRE/phi-translate-2.ll
  test/Transforms/GVN/PRE/pre-after-rle.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44160.152063.patch
Type: text/x-patch
Size: 5169 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180620/1a680184/attachment.bin>


More information about the llvm-commits mailing list