OSDN Git Service

Keep CodeGenPrepare from preserving the domtree.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 22 Mar 2016 21:25:08 +0000 (21:25 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 22 Mar 2016 21:25:08 +0000 (21:25 +0000)
commit58cad7988f77ae64f15c99ea9b79c92dac281b91
tree68cb1c56f4a6a4b9462143bbc70c1e05c1e689c9
parenta31e8913896aad0d2cce70193bc6f416efd21a4b
Keep CodeGenPrepare from preserving the domtree.

CGP modifies the domtree in some cases, so saying that it preserves the
domtree is a lie. We'll be able to selectively preserve it with the new
pass manager.

Differential Revision: http://reviews.llvm.org/D16893

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264099 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenPrepare.cpp
test/Transforms/CodeGenPrepare/dom-tree.ll [new file with mode: 0644]