[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
Mon Oct 30 00:53:18 PDT 2017


mkazantsev updated this revision to Diff 120773.
mkazantsev marked 4 inline comments as done.
mkazantsev added a comment.

Addressed comments.


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.120773.patch
Type: text/x-patch
Size: 20173 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171030/8cded1b5/attachment.bin>


More information about the llvm-commits mailing list