summaryrefslogtreecommitdiffstats
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
commit493cc124155651939fa637839b8e431ebf093b5f (patch)
treef3b60948bf9fdad0867307793a54629af457fed5
parentf953b24f4e5bf83fdaf653a241646df02c8e99fe (diff)
downloadbcm5719-llvm-493cc124155651939fa637839b8e431ebf093b5f.tar.gz
bcm5719-llvm-493cc124155651939fa637839b8e431ebf093b5f.zip
Change the test to check to see that CSE happens not dead call elim
llvm-svn: 19017
-rw-r--r--llvm/test/Regression/Analysis/GlobalsModRef/purecse.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Regression/Analysis/GlobalsModRef/purecse.ll b/llvm/test/Regression/Analysis/GlobalsModRef/purecse.ll
index 17e6a0a521a..f812494f1aa 100644
--- a/llvm/test/Regression/Analysis/GlobalsModRef/purecse.ll
+++ b/llvm/test/Regression/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
OpenPOWER on IntegriCloud