[llvm-commits] [llvm] r126500 - in /llvm/trunk/test/MC: ARM/bracket-exprs.s ELF/bracket-exprs.s

Chris Lattner sabre at nondot.org
Fri Feb 25 11:06:35 PST 2011


Author: lattner
Date: Fri Feb 25 13:06:35 2011
New Revision: 126500

URL: http://llvm.org/viewvc/llvm-project?rev=126500&view=rev
Log:
split this test into arch specific pieces, so the ARM
test isn't run when the arm backend isn't built.  This
fixes PR9327

Added:
    llvm/trunk/test/MC/ARM/bracket-exprs.s
Modified:
    llvm/trunk/test/MC/ELF/bracket-exprs.s

Added: llvm/trunk/test/MC/ARM/bracket-exprs.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/bracket-exprs.s?rev=126500&view=auto
==============================================================================
--- llvm/trunk/test/MC/ARM/bracket-exprs.s (added)
+++ llvm/trunk/test/MC/ARM/bracket-exprs.s Fri Feb 25 13:06:35 2011
@@ -0,0 +1,15 @@
+// RUN: llvm-mc -triple arm-unknown-linux %s | FileCheck %s
+
+// CHECK: .byte 1
+.if [~0 >> 1] == -1
+.byte 1
+.else
+.byte 2
+.endif
+
+// CHECK: .byte 3
+.if 4 * [4 + (3 + [2 * 2] + 1)] == 48
+.byte 3
+.else
+.byte 4
+.endif

Modified: llvm/trunk/test/MC/ELF/bracket-exprs.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/bracket-exprs.s?rev=126500&r1=126499&r2=126500&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/bracket-exprs.s (original)
+++ llvm/trunk/test/MC/ELF/bracket-exprs.s Fri Feb 25 13:06:35 2011
@@ -1,5 +1,4 @@
 // RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
-// RUN: llvm-mc -triple arm-unknown-linux %s | FileCheck %s
 
 // CHECK: .byte 1
 .if [~0 >> 1] == -1





More information about the llvm-commits mailing list