[llvm-commits] [llvm] r145925 - in /llvm/trunk/test/MC: ARM/relax-thumb2-branches.s MachO/ARM/ MachO/ARM/dg.exp MachO/ARM/relax-thumb2-branches.s

NAKAMURA Takumi geek4civic at gmail.com
Mon Dec 5 22:48:26 PST 2011


Author: chapuni
Date: Tue Dec  6 00:48:26 2011
New Revision: 145925

URL: http://llvm.org/viewvc/llvm-project?rev=145925&view=rev
Log:
test/MC: Introduce MC/MachO/ARM, and relocate relax-thumb2-branches.s into it.

FIXME: Restore more other arch-dependent MachO tests. (eg. r126401 and r133856)

Added:
    llvm/trunk/test/MC/MachO/ARM/
    llvm/trunk/test/MC/MachO/ARM/dg.exp
    llvm/trunk/test/MC/MachO/ARM/relax-thumb2-branches.s
      - copied, changed from r145924, llvm/trunk/test/MC/ARM/relax-thumb2-branches.s
Removed:
    llvm/trunk/test/MC/ARM/relax-thumb2-branches.s

Removed: llvm/trunk/test/MC/ARM/relax-thumb2-branches.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/relax-thumb2-branches.s?rev=145924&view=auto
==============================================================================
--- llvm/trunk/test/MC/ARM/relax-thumb2-branches.s (original)
+++ llvm/trunk/test/MC/ARM/relax-thumb2-branches.s (removed)
@@ -1,14 +0,0 @@
-@ RUN: llvm-mc -triple=thumbv7-apple-darwin -show-encoding %s -filetype=obj -o - | macho-dump --dump-section-data | FileCheck %s
-
-        ble Lfoo        @ wide encoding
-
-        .space 258
-Lfoo:
-        nop
-
-        ble Lbaz        @ narrow encoding
-        .space 256
-Lbaz:
-
-@ CHECK: '_section_data', '40f38180
-@ CHECK: 000000bf 7fdd

Added: llvm/trunk/test/MC/MachO/ARM/dg.exp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/ARM/dg.exp?rev=145925&view=auto
==============================================================================
--- llvm/trunk/test/MC/MachO/ARM/dg.exp (added)
+++ llvm/trunk/test/MC/MachO/ARM/dg.exp Tue Dec  6 00:48:26 2011
@@ -0,0 +1,5 @@
+load_lib llvm.exp
+
+if { [llvm_supports_target ARM] } {
+  RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp,s}]]
+}

Copied: llvm/trunk/test/MC/MachO/ARM/relax-thumb2-branches.s (from r145924, llvm/trunk/test/MC/ARM/relax-thumb2-branches.s)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/ARM/relax-thumb2-branches.s?p2=llvm/trunk/test/MC/MachO/ARM/relax-thumb2-branches.s&p1=llvm/trunk/test/MC/ARM/relax-thumb2-branches.s&r1=145924&r2=145925&rev=145925&view=diff
==============================================================================
    (empty)





More information about the llvm-commits mailing list