summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/rounding-ops.ll
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-07-14 06:24:09 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-07-14 06:24:09 +0000
commitd24ab20e9b11d2076d8b9d5cd96f41a6b9c399fb (patch)
tree5876bdcdf9901ec662b77209cca2b615c0417711 /llvm/test/CodeGen/PowerPC/rounding-ops.ll
parent8d304d5c73602bc6d6581a74a553e839d65320ff (diff)
downloadbcm5719-llvm-d24ab20e9b11d2076d8b9d5cd96f41a6b9c399fb.tar.gz
bcm5719-llvm-d24ab20e9b11d2076d8b9d5cd96f41a6b9c399fb.zip
Mass update to CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change and all updated tests passed locally.
This update was done with the following bash script: find test/CodeGen -name "*.ll" | \ while read NAME; do echo "$NAME" if ! grep -q "^; *RUN: *llc.*debug" $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 sed -i '' "s/;\(.*\)-LABEL-LABEL:/;\1-LABEL:/" $TEMP sed -i '' "s/;\(.*\)-NEXT-LABEL:/;\1-NEXT:/" $TEMP sed -i '' "s/;\(.*\)-NOT-LABEL:/;\1-NOT:/" $TEMP sed -i '' "s/;\(.*\)-DAG-LABEL:/;\1-DAG:/" $TEMP mv $TEMP $NAME fi done llvm-svn: 186280
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/rounding-ops.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/rounding-ops.ll20
1 files changed, 10 insertions, 10 deletions
diff --git a/llvm/test/CodeGen/PowerPC/rounding-ops.ll b/llvm/test/CodeGen/PowerPC/rounding-ops.ll
index fa57ee2833b..2c02900aa07 100644
--- a/llvm/test/CodeGen/PowerPC/rounding-ops.ll
+++ b/llvm/test/CodeGen/PowerPC/rounding-ops.ll
@@ -10,7 +10,7 @@ define float @test1(float %x) nounwind {
; CHECK-LABEL: test1:
; CHECK: frim 1, 1
-; CHECK-FM: test1:
+; CHECK-FM-LABEL: test1:
; CHECK-FM: frim 1, 1
}
@@ -23,7 +23,7 @@ define double @test2(double %x) nounwind {
; CHECK-LABEL: test2:
; CHECK: frim 1, 1
-; CHECK-FM: test2:
+; CHECK-FM-LABEL: test2:
; CHECK-FM: frim 1, 1
}
@@ -36,7 +36,7 @@ define float @test3(float %x) nounwind {
; CHECK-LABEL: test3:
; CHECK-NOT: frin
-; CHECK-FM: test3:
+; CHECK-FM-LABEL: test3:
; CHECK-FM: frin 1, 1
}
@@ -49,7 +49,7 @@ define double @test4(double %x) nounwind {
; CHECK-LABEL: test4:
; CHECK-NOT: frin
-; CHECK-FM: test4:
+; CHECK-FM-LABEL: test4:
; CHECK-FM: frin 1, 1
}
@@ -62,7 +62,7 @@ define float @test5(float %x) nounwind {
; CHECK-LABEL: test5:
; CHECK: frip 1, 1
-; CHECK-FM: test5:
+; CHECK-FM-LABEL: test5:
; CHECK-FM: frip 1, 1
}
@@ -75,7 +75,7 @@ define double @test6(double %x) nounwind {
; CHECK-LABEL: test6:
; CHECK: frip 1, 1
-; CHECK-FM: test6:
+; CHECK-FM-LABEL: test6:
; CHECK-FM: frip 1, 1
}
@@ -88,7 +88,7 @@ define float @test9(float %x) nounwind {
; CHECK-LABEL: test9:
; CHECK: friz 1, 1
-; CHECK-FM: test9:
+; CHECK-FM-LABEL: test9:
; CHECK-FM: friz 1, 1
}
@@ -101,7 +101,7 @@ define double @test10(double %x) nounwind {
; CHECK-LABEL: test10:
; CHECK: friz 1, 1
-; CHECK-FM: test10:
+; CHECK-FM-LABEL: test10:
; CHECK-FM: friz 1, 1
}
@@ -115,7 +115,7 @@ define void @test11(float %x, float* %y) nounwind {
; CHECK-LABEL: test11:
; CHECK-NOT: frin
-; CHECK-FM: test11:
+; CHECK-FM-LABEL: test11:
; CHECK-FM: frin [[R2:[0-9]+]], [[R1:[0-9]+]]
; CHECK-FM: fcmpu [[CR:[0-9]+]], [[R2]], [[R1]]
; CHECK-FM: beq [[CR]], .LBB[[BB:[0-9]+]]_2
@@ -134,7 +134,7 @@ define void @test12(double %x, double* %y) nounwind {
; CHECK-LABEL: test12:
; CHECK-NOT: frin
-; CHECK-FM: test12:
+; CHECK-FM-LABEL: test12:
; CHECK-FM: frin [[R2:[0-9]+]], [[R1:[0-9]+]]
; CHECK-FM: fcmpu [[CR:[0-9]+]], [[R2]], [[R1]]
; CHECK-FM: beq [[CR]], .LBB[[BB:[0-9]+]]_2
OpenPOWER on IntegriCloud