[PATCH] D19821: [EarlyCSE] Port to use MemorySSA (disabled by default). NFC.

Geoff Berry via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 12:18:19 PDT 2016


gberry created this revision.
gberry added reviewers: dberlin, sanjoy, reames, majnemer.
gberry added a subscriber: llvm-commits.
Herald added a subscriber: mcrosier.

Use MemorySSA for memory dependency checking.  Usage of MemorySSA is
controlled by -early-cse-use-memoryssa option, which is off by default.

Note that since MemorySSA is built lazily, this change should not impact
compile time when the -early-cse-use-memoryssa option is not used.

There are still a few bugs in MemorySSA to work through before this can
be enabled.

When the -early-cse-use-memoryssa is used, an assert will fire if the
MemorySSA-based memory dependency check is more conservative than the
current simple memory generation number approach.

http://reviews.llvm.org/D19821

Files:
  lib/Transforms/Scalar/EarlyCSE.cpp
  test/Transforms/EarlyCSE/memoryssa.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19821.55861.patch
Type: text/x-patch
Size: 13469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160502/5634326b/attachment.bin>


More information about the llvm-commits mailing list