diff options
author | Stephen Lin <stephenwlin@gmail.com> | 2013-07-13 20:38:47 +0000 |
---|---|---|
committer | Stephen Lin <stephenwlin@gmail.com> | 2013-07-13 20:38:47 +0000 |
commit | f799e3f9441c2a348af0357a61020cc1e397e66b (patch) | |
tree | a423985b913cb793df9846a5fbcaca13c433bf47 /llvm/test/CodeGen/Mips/int-to-float-conversion.ll | |
parent | 67fc79f9eaa2ba685f66586104a2a3ffd893f36d (diff) | |
download | bcm5719-llvm-f799e3f9441c2a348af0357a61020cc1e397e66b.tar.gz bcm5719-llvm-f799e3f9441c2a348af0357a61020cc1e397e66b.zip |
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.
llvm-svn: 186258
Diffstat (limited to 'llvm/test/CodeGen/Mips/int-to-float-conversion.ll')
-rw-r--r-- | llvm/test/CodeGen/Mips/int-to-float-conversion.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/Mips/int-to-float-conversion.ll b/llvm/test/CodeGen/Mips/int-to-float-conversion.ll index 2a7dfdd68b3..c2baf442f4a 100644 --- a/llvm/test/CodeGen/Mips/int-to-float-conversion.ll +++ b/llvm/test/CodeGen/Mips/int-to-float-conversion.ll @@ -4,7 +4,7 @@ @i1 = global [3 x i32] [i32 1, i32 2, i32 3], align 4 @i3 = common global i32* null, align 4 -; 32: test_float_int_: +; 32-LABEL: test_float_int_: ; 32: mtc1 ${{[0-9]+}}, $f[[R0:[0-9]+]] ; 32: cvt.s.w $f{{[0-9]+}}, $f[[R0]] @@ -14,10 +14,10 @@ entry: ret float %conv } -; 32: test_double_int_: +; 32-LABEL: test_double_int_: ; 32: mtc1 ${{[0-9]+}}, $f[[R0:[0-9]+]] ; 32: cvt.d.w $f{{[0-9]+}}, $f[[R0]] -; 64: test_double_int_: +; 64-LABEL: test_double_int_: ; 64: mtc1 ${{[0-9]+}}, $f[[R0:[0-9]+]] ; 64: cvt.d.w $f{{[0-9]+}}, $f[[R0]] @@ -27,7 +27,7 @@ entry: ret double %conv } -; 64: test_float_LL_: +; 64-LABEL: test_float_LL_: ; 64: dmtc1 ${{[0-9]+}}, $f[[R0:[0-9]+]] ; 64: cvt.s.l $f{{[0-9]+}}, $f[[R0]] @@ -37,7 +37,7 @@ entry: ret float %conv } -; 64: test_double_LL_: +; 64-LABEL: test_double_LL_: ; 64: dmtc1 ${{[0-9]+}}, $f[[R0:[0-9]+]] ; 64: cvt.d.l $f{{[0-9]+}}, $f[[R0]] |