Change the test to check to see that CSE happens not dead call elim
authorChris Lattner <sabre@nondot.org>
Fri, 17 Dec 2004 17:11:41 +0000 (17:11 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 17 Dec 2004 17:11:41 +0000 (17:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19017 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/GlobalsModRef/purecse.ll

index 17e6a0a521a4bd544e274d85d3a2c0143f110d50..f812494f1aa7b307eeb1aa811512a46daf4ec6bf 100644 (file)
@@ -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