summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-07-14 01:50:49 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-07-14 01:50:49 +0000
commit15bfd6d3ad739cca0a12049f3e7e94c3645ee881 (patch)
tree21476928d99a2db9bfb4a6af003f4030160d4703 /test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll
parent39f4e8d9cce22b60a3417a5f17c847fa5b1daebf (diff)
downloadllvm-15bfd6d3ad739cca0a12049f3e7e94c3645ee881.tar.gz
llvm-15bfd6d3ad739cca0a12049f3e7e94c3645ee881.tar.bz2
llvm-15bfd6d3ad739cca0a12049f3e7e94c3645ee881.tar.xz
Catch more CHECK that can be converted to CHECK-LABEL in Transforms for easier debugging. No functionality change.
This conversion 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_]*\):\( *\)define\([^@]*\)@$FUNC\([( ]*\)\$/;\1\2-LABEL:\3define\4@$FUNC(/g" $TEMP done mv $TEMP $NAME fi done git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186269 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll')
-rw-r--r--test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll b/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll
index fedb46dd24..a75a4656e6 100644
--- a/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll
+++ b/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll
@@ -2,7 +2,7 @@
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32"
target triple = "i386-apple-darwin10.0.0"
-; CHECK: define void @fu1
+; CHECK-LABEL: define void @fu1(
define void @fu1(i32 %parm) nounwind ssp {
%1 = alloca i32, align 4
; CHECK: alloca double*
@@ -33,7 +33,7 @@ define void @fu1(i32 %parm) nounwind ssp {
declare void @bar(double*)
-; CHECK: define void @fu2
+; CHECK-LABEL: define void @fu2(
define void @fu2(i32 %parm) nounwind ssp {
%1 = alloca i32, align 4
%ptr = alloca double*, align 4