diff options
author | Stephen Lin <stephenwlin@gmail.com> | 2013-07-14 01:42:54 +0000 |
---|---|---|
committer | Stephen Lin <stephenwlin@gmail.com> | 2013-07-14 01:42:54 +0000 |
commit | c1c7a1309c039ec8539e3c851f332825d8855223 (patch) | |
tree | f02719af3762ca8753eb422a365ef33ddf23f0c4 /llvm/test/Transforms/BBVectorize/simple-int.ll | |
parent | 2e105ff8b789f517c3e19de275775df2d6da4aa0 (diff) | |
download | bcm5719-llvm-c1c7a1309c039ec8539e3c851f332825d8855223.tar.gz bcm5719-llvm-c1c7a1309c039ec8539e3c851f332825d8855223.zip |
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
llvm-svn: 186268
Diffstat (limited to 'llvm/test/Transforms/BBVectorize/simple-int.ll')
-rw-r--r-- | llvm/test/Transforms/BBVectorize/simple-int.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/Transforms/BBVectorize/simple-int.ll b/llvm/test/Transforms/BBVectorize/simple-int.ll index e4d51526ca1..e33ac612edc 100644 --- a/llvm/test/Transforms/BBVectorize/simple-int.ll +++ b/llvm/test/Transforms/BBVectorize/simple-int.ll @@ -16,7 +16,7 @@ define double @test1(double %A1, double %A2, double %B1, double %B2, double %C1, %Z2 = fadd double %Y2, %B2 %R = fmul double %Z1, %Z2 ret double %R -; CHECK: @test1 +; CHECK-LABEL: @test1( ; CHECK: %X1.v.i1.1 = insertelement <2 x double> undef, double %B1, i32 0 ; CHECK: %X1.v.i1.2 = insertelement <2 x double> %X1.v.i1.1, double %B2, i32 1 ; CHECK: %X1.v.i0.1 = insertelement <2 x double> undef, double %A1, i32 0 @@ -42,7 +42,7 @@ define double @test1a(double %A1, double %A2, double %B1, double %B2, double %C1 %Z2 = fadd double %Y2, %B2 %R = fmul double %Z1, %Z2 ret double %R -; CHECK: @test1a +; CHECK-LABEL: @test1a( ; CHECK: %X1.v.i1.1 = insertelement <2 x double> undef, double %B1, i32 0 ; CHECK: %X1.v.i1.2 = insertelement <2 x double> %X1.v.i1.1, double %B2, i32 1 ; CHECK: %X1.v.i0.1 = insertelement <2 x double> undef, double %A1, i32 0 @@ -68,7 +68,7 @@ define double @test2(double %A1, double %A2, double %B1, double %B2) { %Z2 = fadd double %Y2, %B2 %R = fmul double %Z1, %Z2 ret double %R -; CHECK: @test2 +; CHECK-LABEL: @test2( ; CHECK: %X1.v.i1.1 = insertelement <2 x double> undef, double %B1, i32 0 ; CHECK: %X1.v.i1.2 = insertelement <2 x double> %X1.v.i1.1, double %B2, i32 1 ; CHECK: %X1.v.i0.1 = insertelement <2 x double> undef, double %A1, i32 0 @@ -93,7 +93,7 @@ define double @test3(double %A1, double %A2, double %B1, double %B2, i32 %P) { %Z2 = fadd double %Y2, %B2 %R = fmul double %Z1, %Z2 ret double %R -; CHECK: @test3 +; CHECK-LABEL: @test3( ; CHECK: %X1.v.i1.1 = insertelement <2 x double> undef, double %B1, i32 0 ; CHECK: %X1.v.i1.2 = insertelement <2 x double> %X1.v.i1.1, double %B2, i32 1 ; CHECK: %X1.v.i0.1 = insertelement <2 x double> undef, double %A1, i32 0 @@ -119,7 +119,7 @@ define double @test4(double %A1, double %A2, double %B1, double %B2, i32 %P) { %Z2 = fadd double %Y2, %B2 %R = fmul double %Z1, %Z2 ret double %R -; CHECK: @test4 +; CHECK-LABEL: @test4( ; CHECK-NOT: <2 x double> ; CHECK: ret double %R } |