[llvm] r294468 - Fix inline asm diagnostics test.

Sanne Wouda via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 08:14:02 PST 2017


Author: sanwou01
Date: Wed Feb  8 10:14:01 2017
New Revision: 294468

URL: http://llvm.org/viewvc/llvm-project?rev=294468&view=rev
Log:
Fix inline asm diagnostics test.

Don't depend on X86 everywhere. Fix the original problem with a reg-exp for the
column number.


Modified:
    llvm/trunk/test/Assembler/inline-asm-diags.ll

Modified: llvm/trunk/test/Assembler/inline-asm-diags.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/inline-asm-diags.ll?rev=294468&r1=294467&r2=294468&view=diff
==============================================================================
--- llvm/trunk/test/Assembler/inline-asm-diags.ll (original)
+++ llvm/trunk/test/Assembler/inline-asm-diags.ll Wed Feb  8 10:14:01 2017
@@ -1,9 +1,9 @@
-; RUN: not llc -march=x86 -filetype=obj < %s 2>&1 -o /dev/null | FileCheck %s
+; 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:7: error: expected relocatable expression
+; CHECK: <inline asm>:2:{{[0-9]+}}: error: expected relocatable expression
 
 module asm ".word -foo"
-; CHECK: <inline asm>:3:7: error: expected relocatable expression
+; CHECK: <inline asm>:3:{{[0-9]+}}: error: expected relocatable expression




More information about the llvm-commits mailing list