[llvm] r294475 - Move inline asm diags tests to an ARM directory.
Sanne Wouda via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 8 08:48:35 PST 2017
Author: sanwou01
Date: Wed Feb 8 10:48:35 2017
New Revision: 294475
URL: http://llvm.org/viewvc/llvm-project?rev=294475&view=rev
Log:
Move inline asm diags tests to an ARM directory.
The assembler syntaxes (and parsers) differ too much to expect this test to
pass for all of them.
Added:
llvm/trunk/test/MC/ARM/inline-asm-diags.ll
- copied, changed from r294472, llvm/trunk/test/Assembler/inline-asm-diags.ll
Removed:
llvm/trunk/test/Assembler/inline-asm-diags.ll
Removed: llvm/trunk/test/Assembler/inline-asm-diags.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/inline-asm-diags.ll?rev=294474&view=auto
==============================================================================
--- llvm/trunk/test/Assembler/inline-asm-diags.ll (original)
+++ llvm/trunk/test/Assembler/inline-asm-diags.ll (removed)
@@ -1,9 +0,0 @@
-; RUN: not llc -filetype=obj < %s 2>&1 -o /dev/null | FileCheck %s
-
-module asm ".word 0x10"
-module asm ".word -bar"
-
-; CHECK: <inline asm>:2:{{[0-9]+}}: error: expected relocatable expression
-
-module asm ".word -foo"
-; CHECK: <inline asm>:3:{{[0-9]+}}: error: expected relocatable expression
Copied: llvm/trunk/test/MC/ARM/inline-asm-diags.ll (from r294472, llvm/trunk/test/Assembler/inline-asm-diags.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/inline-asm-diags.ll?p2=llvm/trunk/test/MC/ARM/inline-asm-diags.ll&p1=llvm/trunk/test/Assembler/inline-asm-diags.ll&r1=294472&r2=294475&rev=294475&view=diff
==============================================================================
--- llvm/trunk/test/Assembler/inline-asm-diags.ll (original)
+++ llvm/trunk/test/MC/ARM/inline-asm-diags.ll Wed Feb 8 10:48:35 2017
@@ -1,4 +1,4 @@
-; RUN: not llc -filetype=obj < %s 2>&1 -o /dev/null | FileCheck %s
+; RUN: not llc -march=arm -filetype=obj < %s 2>&1 -o /dev/null | FileCheck %s
module asm ".word 0x10"
module asm ".word -bar"
More information about the llvm-commits
mailing list