diff options
| author | Dan Gohman <gohman@apple.com> | 2009-09-03 15:34:35 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-09-03 15:34:35 +0000 |
| commit | bccfc24c4e8092e1ee18746dd4cee01247728faa (patch) | |
| tree | bf1ea31f55e271210a43862a4fe5c64749b8c796 /test/Transforms | |
| parent | dd12de686cb0a3bcff879ae895fe461caa6f7842 (diff) | |
Change PHINode::hasConstantValue to have a DominatorTree argument
instead of a bool argument, and to do the dominator check itself.
This makes it eaiser to use when DominatorTree information is
available.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80920 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
| -rw-r--r-- | test/Transforms/GVN/2008-07-02-Unreachable.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/GVN/2008-07-02-Unreachable.ll b/test/Transforms/GVN/2008-07-02-Unreachable.ll index 15667d2bfb..fc273c30f7 100644 --- a/test/Transforms/GVN/2008-07-02-Unreachable.ll +++ b/test/Transforms/GVN/2008-07-02-Unreachable.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep undef +; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {ret i8 \[%\]tmp3} ; PR2503 @g_3 = external global i8 ; <i8*> [#uses=2] |
