Change the test to check to see that CSE happens not dead call elim
llvm-svn: 19017
diff --git a/llvm/test/Regression/Analysis/GlobalsModRef/purecse.ll b/llvm/test/Regression/Analysis/GlobalsModRef/purecse.ll
index 17e6a0a..f812494 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