Conservative fix for PR17827 - don't optimize a shift + and + compare sequence where...
[oota-llvm.git] / test / Transforms / SCCP / apint-basictest.ll
index eaffc1daa3b6e0cf68b33134fe5b1bc8b9f6bf3f..f6ef1ab3f23b9f5baaacac7d91074bc4296f3422 100644 (file)
@@ -1,8 +1,7 @@
-; This is a basic sanity check for constant propogation.  The add instruction 
+; This is a basic sanity check for constant propagation.  The add instruction
 ; should be eliminated.
 
-; RUN: llvm-as < %s | opt -sccp | llvm-dis -o /dev/null -f &&
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep add
+; RUN: opt < %s -sccp -S | not grep add
 
 define i128 @test(i1 %B) {
        br i1 %B, label %BB1, label %BB2