[PATCH] D44257: [MemorySSAUpdater] Mark non-trivial Phi for not to optimize

Z. Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 8 09:54:17 PST 2018


zzheng created this revision.
zzheng added reviewers: dberlin, efriedma.
Herald added a subscriber: Prazek.

Fix PR36484, as suggested:

<quote>
during moves, mark the direct users of the erased things that were phis as "not to be optimized"
<quote>


Repository:
  rL LLVM

https://reviews.llvm.org/D44257

Files:
  include/llvm/Analysis/MemorySSAUpdater.h
  lib/Analysis/MemorySSA.cpp
  lib/Analysis/MemorySSAUpdater.cpp
  test/Transforms/GVNHoist/non-trivial-phi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44257.137595.patch
Type: text/x-patch
Size: 3799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180308/f355d9a6/attachment.bin>


More information about the llvm-commits mailing list