Allow PRE to insert no-cost phi nodes
authorDaniel Berlin <dberlin@dberlin.org>
Tue, 3 Feb 2015 20:37:08 +0000 (20:37 +0000)
committerDaniel Berlin <dberlin@dberlin.org>
Tue, 3 Feb 2015 20:37:08 +0000 (20:37 +0000)
commit403050abcc091260be2e8f58484e7a39c0782b47
treec6b719fbfe8981eea1476937d79805258d10b509
parent646722d55f8016e6c8edbff55dfc02157114d658
Allow PRE to insert no-cost phi nodes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228024 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/pre-no-cost-phi.ll [new file with mode: 0644]