[PATCH] D51960: [EarlyCSEwMemorySSA] Add MSSA verification and tests to make EarlyCSE failures easier to track.

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 11 16:49:17 PDT 2018


asbirlea created this revision.
asbirlea added reviewers: george.burgess.iv, gberry.
Herald added subscribers: Prazek, jlebar, sanjoy.

EarlyCSE can make IR changes that will leave MemorySSA with accesses claiming to be optimized, but for which a subsequent MemorySSA run will yield a different optimized result.
Due to relying on AA queries, we can't fix this in general, unless we recompute MemorySSA.
Adding some tests to track this and a basic verify for future potential failures.


Repository:
  rL LLVM

https://reviews.llvm.org/D51960

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51960.164999.patch
Type: text/x-patch
Size: 7445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180911/844afca0/attachment.bin>


More information about the llvm-commits mailing list