From 39f4e8d9cce22b60a3417a5f17c847fa5b1daebf Mon Sep 17 00:00:00 2001 From: Stephen Lin Date: Sun, 14 Jul 2013 01:42:54 +0000 Subject: Update Transforms tests to use CHECK-LABEL for easier debugging. No functionality change. This update was done with the following bash script: find test/Transforms -name "*.ll" | \ while read NAME; do echo "$NAME" if ! grep -q "^; *RUN: *llc" $NAME; then TEMP=`mktemp -t temp` cp $NAME $TEMP sed -n "s/^define [^@]*@\([A-Za-z0-9_]*\)(.*$/\1/p" < $NAME | \ while read FUNC; do sed -i '' "s/;\(.*\)\([A-Za-z0-9_]*\):\( *\)@$FUNC\([( ]*\)\$/;\1\2-LABEL:\3@$FUNC(/g" $TEMP done mv $TEMP $NAME fi done git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186268 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/LoopVectorize/if-conversion.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/Transforms/LoopVectorize/if-conversion.ll') diff --git a/test/Transforms/LoopVectorize/if-conversion.ll b/test/Transforms/LoopVectorize/if-conversion.ll index 6e7c03a556..88e56b2457 100644 --- a/test/Transforms/LoopVectorize/if-conversion.ll +++ b/test/Transforms/LoopVectorize/if-conversion.ll @@ -17,7 +17,7 @@ target triple = "x86_64-apple-macosx10.9.0" ; } ;} -;CHECK: @function0 +;CHECK-LABEL: @function0( ;CHECK: load <4 x i32> ;CHECK: icmp sgt <4 x i32> ;CHECK: mul <4 x i32> @@ -70,7 +70,7 @@ for.end: ; return sum; ; } -;CHECK: @reduction_func +;CHECK-LABEL: @reduction_func( ;CHECK: load <4 x i32> ;CHECK: icmp sgt <4 x i32> ;CHECK: add <4 x i32> -- cgit v1.2.3