GVN-hoist: compute MSSA once per function (PR28670)
authorSebastian Pop <sebpop@gmail.com>
Wed, 3 Aug 2016 20:54:33 +0000 (20:54 +0000)
committerSebastian Pop <sebpop@gmail.com>
Wed, 3 Aug 2016 20:54:33 +0000 (20:54 +0000)
commit5d3822fc12f15d83286fda42b737135edb0f2fbb
tree1f80a6fd5ec93f3f81499a363d7a06a96febd0c0
parentac5bf59b6e5eee1ef41cb9e63bc7b0c6709f234e
GVN-hoist: compute MSSA once per function (PR28670)

With this patch we compute the MemorySSA once and update it in the code generator.

Differential Revision: https://reviews.llvm.org/D22966

llvm-svn: 277649
llvm/lib/Transforms/Scalar/GVNHoist.cpp
llvm/test/Transforms/GVN/hoist-mssa.ll [new file with mode: 0644]