[llvm] r234584 - [mips] [IAS] Make the mips-expansions-bad.s test more readable. NFC.

Toma Tabacu toma.tabacu at imgtec.com
Fri Apr 10 03:46:59 PDT 2015


Author: tomatabacu
Date: Fri Apr 10 05:46:59 2015
New Revision: 234584

URL: http://llvm.org/viewvc/llvm-project?rev=234584&view=rev
Log:
[mips] [IAS] Make the mips-expansions-bad.s test more readable. NFC.

Move the check lines below the code lines and change the indentation from 8
spaces to 2 spaces.

Modified:
    llvm/trunk/test/MC/Mips/mips-expansions-bad.s

Modified: llvm/trunk/test/MC/Mips/mips-expansions-bad.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/mips-expansions-bad.s?rev=234584&r1=234583&r2=234584&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/mips-expansions-bad.s (original)
+++ llvm/trunk/test/MC/Mips/mips-expansions-bad.s Fri Apr 10 05:46:59 2015
@@ -1,6 +1,8 @@
 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r2 2>%t1
 # RUN: FileCheck %s < %t1
 
-        .text
-        li $5, 0x100000000 # CHECK: :[[@LINE]]:9: error: instruction requires a 64-bit architecture
-        dli $5, 1 # CHECK: :[[@LINE]]:9: error: instruction requires a 64-bit architecture
+  .text
+  li $5, 0x100000000
+  # CHECK: :[[@LINE-1]]:3: error: instruction requires a 64-bit architecture
+  dli $5, 1
+  # CHECK: :[[@LINE-1]]:3: error: instruction requires a 64-bit architecture





More information about the llvm-commits mailing list