From dbd4f1000e6abe73dec4e26b24f19bcc7fb78494 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 17 Dec 2004 17:11:41 +0000 Subject: [PATCH] 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 --- test/Analysis/GlobalsModRef/purecse.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Analysis/GlobalsModRef/purecse.ll b/test/Analysis/GlobalsModRef/purecse.ll index 17e6a0a521a..f812494f1aa 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