; This test ensures that alloca instructions in the entry block for an inlined
; function are moved to the top of the function they are inlined into.
;
-; RUN: llvm-as < %s | opt -inline | llvm-dis | grep -C 1 alloca | grep Entry:
+; RUN: llvm-as < %s | opt -inline | llvm-dis | grep -C1 alloca | grep Entry:
int %func(int %i) {
%X = alloca int
; This testcase tests for a problem where LICM hoists
; potentially trapping instructions when they are not guaranteed to execute.
;
-; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C 2 "IfUnEqual" | grep div
+; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C2 "IfUnEqual" | grep div
%X = global int 0
declare void %foo()
; This testcase tests to make sure a trapping instruction is hoisted when
; it is guaranteed to execute.
;
-; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C 2 "test" | grep div
+; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C2 "test" | grep div
%X = global int 0
declare void %foo()