summaryrefslogtreecommitdiff
path: root/test/Analysis/GlobalsModRef
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-12-17 17:11:41 +0000
committerChris Lattner <sabre@nondot.org>2004-12-17 17:11:41 +0000
commitdbd4f1000e6abe73dec4e26b24f19bcc7fb78494 (patch)
tree473cc9253bbc80ae91c44b992becd7784ace1131 /test/Analysis/GlobalsModRef
parentfb752ba02ada9349353b256f81405dd6866c1364 (diff)
downloadllvm-dbd4f1000e6abe73dec4e26b24f19bcc7fb78494.tar.gz
llvm-dbd4f1000e6abe73dec4e26b24f19bcc7fb78494.tar.bz2
llvm-dbd4f1000e6abe73dec4e26b24f19bcc7fb78494.tar.xz
Change the test to check to see that CSE happens not dead call elim
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19017 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/GlobalsModRef')
-rw-r--r--test/Analysis/GlobalsModRef/purecse.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/GlobalsModRef/purecse.ll b/test/Analysis/GlobalsModRef/purecse.ll
index 17e6a0a521..f812494f1a 100644
--- a/test/Analysis/GlobalsModRef/purecse.ll
+++ b/test/Analysis/GlobalsModRef/purecse.ll
@@ -1,6 +1,6 @@
; Test that pure functions are cse'd away
-; RUN: llvm-as < %s | opt -globalsmodref-aa -load-vn -gcse -instcombine -adce| llvm-dis | not grep call
+; RUN: llvm-as < %s | opt -globalsmodref-aa -load-vn -gcse -instcombine | llvm-dis | not grep sub
int %pure(int %X) {
%Y = add int %X, 1