[PATCH] D45299: API to update MemorySSA for cloned blocks.

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 16 17:22:30 PDT 2018


asbirlea updated this revision to Diff 147218.
asbirlea added a comment.

Update patch with the following:

- Fix a few bugs that were triggered by tests in SimpleLoopUnswitch
- Slightly modify current APIs and add a couple APIs motivated by SimpleLoopUnswitch
- Add APIs to delete blocks (SimpleLoopUnswitch modifies the CFG heavily) and MemoryPhi entries.

This is becoming a pretty complex patch, so if you think at least the removeBlocks/delete from MPhis should be in a separate patch, I can split them.

I will upload the patch that updates MSSA in SimpleLoopUnswitch as a dependecy as well.

As far as testing, all tests pass with the sequence of patches, but I am looking into additional testing.


Repository:
  rL LLVM

https://reviews.llvm.org/D45299

Files:
  include/llvm/Analysis/MemorySSA.h
  include/llvm/Analysis/MemorySSAUpdater.h
  lib/Analysis/MemorySSA.cpp
  lib/Analysis/MemorySSAUpdater.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45299.147218.patch
Type: text/x-patch
Size: 30835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180517/9f04f3f3/attachment.bin>


More information about the llvm-commits mailing list