[PATCH] D37460: [GVN] Prevent LoadPRE from hoisting across instructions that don't pass control flow to successors

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 27 04:41:44 PDT 2017


mkazantsev updated this revision to Diff 120572.
mkazantsev edited the summary of this revision.
mkazantsev added a comment.

Changes from https://reviews.llvm.org/D38944 (fixed version) have been included into this one since they must go together.


https://reviews.llvm.org/D37460

Files:
  include/llvm/Transforms/Scalar/GVN.h
  lib/Transforms/Scalar/GVN.cpp
  test/Transforms/GVN/PRE/2017-10-16-LoadPRECrash.ll
  test/Transforms/GVN/PRE/pre-load-guards.ll
  test/Transforms/GVN/PRE/pre-load-implicit-cf-updates.ll
  test/Transforms/GVN/PRE/pre-load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37460.120572.patch
Type: text/x-patch
Size: 17039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171027/ea710fb4/attachment.bin>


More information about the llvm-commits mailing list