aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/rounding-ops.ll
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-07-13 20:38:47 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-07-13 20:38:47 +0000
commitb4dc0233c9f70e8cf946822811f233bb613a02e9 (patch)
tree6cb47482e15d250ae95e5c6c96abd2afb56f6fca /test/CodeGen/PowerPC/rounding-ops.ll
parentae4e1a94e3fb7d1d2d0eec6eb7d04b74326c8453 (diff)
downloadexternal_llvm-b4dc0233c9f70e8cf946822811f233bb613a02e9.zip
external_llvm-b4dc0233c9f70e8cf946822811f233bb613a02e9.tar.gz
external_llvm-b4dc0233c9f70e8cf946822811f233bb613a02e9.tar.bz2
Convert CodeGen/*/*.ll tests to use the new CHECK-LABEL for easier debugging. No functionality change and all tests pass after conversion.
This was done with the following sed invocation to catch label lines demarking function boundaries: sed -i '' "s/^;\( *\)\([A-Z0-9_]*\):\( *\)test\([A-Za-z0-9_-]*\):\( *\)$/;\1\2-LABEL:\3test\4:\5/g" test/CodeGen/*/*.ll which was written conservatively to avoid false positives rather than false negatives. I scanned through all the changes and everything looks correct. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/rounding-ops.ll')
-rw-r--r--test/CodeGen/PowerPC/rounding-ops.ll20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/CodeGen/PowerPC/rounding-ops.ll b/test/CodeGen/PowerPC/rounding-ops.ll
index 2b5e1c9..fa57ee2 100644
--- a/test/CodeGen/PowerPC/rounding-ops.ll
+++ b/test/CodeGen/PowerPC/rounding-ops.ll
@@ -7,7 +7,7 @@ define float @test1(float %x) nounwind {
%call = tail call float @floorf(float %x) nounwind readnone
ret float %call
-; CHECK: test1:
+; CHECK-LABEL: test1:
; CHECK: frim 1, 1
; CHECK-FM: test1:
@@ -20,7 +20,7 @@ define double @test2(double %x) nounwind {
%call = tail call double @floor(double %x) nounwind readnone
ret double %call
-; CHECK: test2:
+; CHECK-LABEL: test2:
; CHECK: frim 1, 1
; CHECK-FM: test2:
@@ -33,7 +33,7 @@ define float @test3(float %x) nounwind {
%call = tail call float @nearbyintf(float %x) nounwind readnone
ret float %call
-; CHECK: test3:
+; CHECK-LABEL: test3:
; CHECK-NOT: frin
; CHECK-FM: test3:
@@ -46,7 +46,7 @@ define double @test4(double %x) nounwind {
%call = tail call double @nearbyint(double %x) nounwind readnone
ret double %call
-; CHECK: test4:
+; CHECK-LABEL: test4:
; CHECK-NOT: frin
; CHECK-FM: test4:
@@ -59,7 +59,7 @@ define float @test5(float %x) nounwind {
%call = tail call float @ceilf(float %x) nounwind readnone
ret float %call
-; CHECK: test5:
+; CHECK-LABEL: test5:
; CHECK: frip 1, 1
; CHECK-FM: test5:
@@ -72,7 +72,7 @@ define double @test6(double %x) nounwind {
%call = tail call double @ceil(double %x) nounwind readnone
ret double %call
-; CHECK: test6:
+; CHECK-LABEL: test6:
; CHECK: frip 1, 1
; CHECK-FM: test6:
@@ -85,7 +85,7 @@ define float @test9(float %x) nounwind {
%call = tail call float @truncf(float %x) nounwind readnone
ret float %call
-; CHECK: test9:
+; CHECK-LABEL: test9:
; CHECK: friz 1, 1
; CHECK-FM: test9:
@@ -98,7 +98,7 @@ define double @test10(double %x) nounwind {
%call = tail call double @trunc(double %x) nounwind readnone
ret double %call
-; CHECK: test10:
+; CHECK-LABEL: test10:
; CHECK: friz 1, 1
; CHECK-FM: test10:
@@ -112,7 +112,7 @@ define void @test11(float %x, float* %y) nounwind {
store float %call, float* %y
ret void
-; CHECK: test11:
+; CHECK-LABEL: test11:
; CHECK-NOT: frin
; CHECK-FM: test11:
@@ -131,7 +131,7 @@ define void @test12(double %x, double* %y) nounwind {
store double %call, double* %y
ret void
-; CHECK: test12:
+; CHECK-LABEL: test12:
; CHECK-NOT: frin
; CHECK-FM: test12: