[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
Tue May 22 06:49:27 PDT 2018
john.brawn updated this revision to Diff 147996.
john.brawn retitled this revision from "[GVN] Detect fully redundant loads when we have more than one available value" to "[GVN] Don't use the eliminated load as an available value in phi construction".
john.brawn edited the summary of this revision.
john.brawn added a comment.
Go with the approach of not adding the eliminated load to SSAUpdate.
https://reviews.llvm.org/D44160
Files:
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/pre-after-rle.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44160.147996.patch
Type: text/x-patch
Size: 3413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180522/4a7ec672/attachment.bin>
More information about the llvm-commits
mailing list