Don't use "llc -filetype=obj" now that the codepath is the same.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 24 Jan 2014 15:59:50 +0000 (15:59 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 24 Jan 2014 15:59:50 +0000 (15:59 +0000)
r200011 remove the special codepaths in MC for inline asm, so we can now test
all the logic with just llc + llvm-mc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200013 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/inlineasm-switch-mode-oneway-from-arm.ll
test/CodeGen/ARM/inlineasm-switch-mode-oneway-from-thumb.ll
test/CodeGen/ARM/inlineasm-switch-mode.ll

index bd5387eb888456c937b83ad94fe7f958458806ea..3be378d8adc59d8814334e4e35b5efd3be63f125 100644 (file)
@@ -1,4 +1,4 @@
-;RUN:  llc -mtriple=armv7-linux-gnueabi -filetype=obj < %s | llvm-objdump -triple=armv7 -d - | FileCheck %s
+;RUN:  llc -mtriple=armv7-linux-gnueabi < %s | llvm-mc -triple=armv7-linux-gnueabi -filetype=obj | llvm-objdump -triple=armv7 -d - | FileCheck %s
 ;RUN:  llc -mtriple=armv7-linux-gnueabi < %s | FileCheck %s -check-prefix=ASM
 ;RUN:  llc -mtriple=armv7-apple-darwin < %s | FileCheck %s -check-prefix=ASM
 
index 830e41e90f18bb5e828db643bed41a02c933f7b8..b9bd4c24da0f3b4cd720bc362fc205d0e353e5c4 100644 (file)
@@ -1,4 +1,4 @@
-;RUN:  llc -mtriple=thumbv7-linux-gnueabi -filetype=obj < %s | llvm-objdump -triple=thumbv7 -d - | FileCheck %s
+;RUN:  llc -mtriple=thumbv7-linux-gnueabi < %s | llvm-mc -triple=thumbv7-linux-gnueabi -filetype=obj | llvm-objdump -triple=thumbv7 -d - | FileCheck %s
 ;RUN:  llc -mtriple=thumbv7-linux-gnueabi < %s | FileCheck %s -check-prefix=ASM
 ;RUN:  llc -mtriple=thumbv7-apple-darwin < %s | FileCheck %s -check-prefix=ASM
 
index 29ac598f527a3227548365408bea48050099f054..65fea114d7de81ce2d5a9eb6967828c3e73f172b 100644 (file)
@@ -1,4 +1,4 @@
-;RUN: llc -mtriple=thumbv7-linux-gnueabi -filetype=obj < %s > %t
+;RUN: llc -mtriple=thumbv7-linux-gnueabi < %s | llvm-mc -triple=thumbv7-linux-gnueabi -filetype=obj > %t
 ; Two pass decoding needed because llvm-objdump does not respect mapping symbols
 ;RUN: llvm-objdump -triple=armv7   -d %t | FileCheck %s --check-prefix=ARM
 ;RUN: llvm-objdump -triple=thumbv7 -d %t | FileCheck %s --check-prefix=THUMB