[PATCH] D48372: [MemorySSAUpdater] Remove deleted trivial Phis from active workset

Alexandros Lamprineas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 10 10:41:13 PDT 2018


labrinea updated this revision to Diff 154838.
labrinea added a comment.

Changes to the prior revision:

- I've used std::set for InsertedPHIs to avoid linear cost lookups upon deletion.
- I've refactored insertDef() so that it no longer relies on insertion order iteration over InsertedPHIs.


https://reviews.llvm.org/D48372

Files:
  include/llvm/Analysis/MemorySSAUpdater.h
  lib/Analysis/MemorySSAUpdater.cpp
  test/Transforms/GVNHoist/pr37808.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48372.154838.patch
Type: text/x-patch
Size: 9337 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180710/2da24f1b/attachment-0001.bin>


More information about the llvm-commits mailing list