[llvm] r210757 - [mips] Move CHECK lines to the same line as the instruction it's testing

Matheus Almeida matheus.almeida at imgtec.com
Thu Jun 12 02:50:17 PDT 2014


Author: matheusalmeida
Date: Thu Jun 12 04:50:17 2014
New Revision: 210757

URL: http://llvm.org/viewvc/llvm-project?rev=210757&view=rev
Log:
[mips] Move CHECK lines to the same line as the instruction it's testing
for consistency with the other tests.

No functional changes.

Modified:
    llvm/trunk/test/MC/Mips/mips32r6/invalid.s
    llvm/trunk/test/MC/Mips/mips64r2/invalid.s

Modified: llvm/trunk/test/MC/Mips/mips32r6/invalid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/mips32r6/invalid.s?rev=210757&r1=210756&r2=210757&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/mips32r6/invalid.s (original)
+++ llvm/trunk/test/MC/Mips/mips32r6/invalid.s Thu Jun 12 04:50:17 2014
@@ -6,7 +6,5 @@
 
         .text
         .set noreorder
-        jalr.hb $31
-# ASM: :[[@LINE-1]]:9: error: source and destination must be different
-        jalr.hb $31, $31
-# ASM: :[[@LINE-1]]:9: error: source and destination must be different
+        jalr.hb $31 # ASM: :[[@LINE]]:9: error: source and destination must be different
+        jalr.hb $31, $31 # ASM: :[[@LINE]]:9: error: source and destination must be different

Modified: llvm/trunk/test/MC/Mips/mips64r2/invalid.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/mips64r2/invalid.s?rev=210757&r1=210756&r2=210757&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/mips64r2/invalid.s (original)
+++ llvm/trunk/test/MC/Mips/mips64r2/invalid.s Thu Jun 12 04:50:17 2014
@@ -6,7 +6,5 @@
 
         .text
         .set noreorder
-        jalr.hb $31
-# ASM: :[[@LINE-1]]:9: error: source and destination must be different
-        jalr.hb $31, $31
-# ASM: :[[@LINE-1]]:9: error: source and destination must be different
+        jalr.hb $31 # ASM: :[[@LINE]]:9: error: source and destination must be different
+        jalr.hb $31, $31 # ASM: :[[@LINE]]:9: error: source and destination must be different





More information about the llvm-commits mailing list