InsertBefore is the same as AddBefore. Delete it.
[oota-llvm.git] / test / Transforms / LICM / 2007-09-17-PromoteValue.ll
index e9ba9e16318fee45375bb3d99314742463b9b470..31abd8c180a5026842610f849ab89faa4cb5773a 100644 (file)
@@ -2,7 +2,7 @@
 ; Do not promote getelementptr because it may exposes load from a null pointer 
 ; and store from a null pointer  which are covered by 
 ; icmp eq %struct.decision* null, null condition.
-; RUN: llvm-as < %s | opt -licm | llvm-dis | not grep promoted
+; RUN: opt < %s -licm -S | not grep promoted
        %struct.decision = type { i8, %struct.decision* }
 
 define i32 @main() {