Specify triple so 'make check' passes on darwin x86-64
authorSanjay Patel <spatel@rotateright.com>
Mon, 28 Dec 2015 18:28:44 +0000 (18:28 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 28 Dec 2015 18:28:44 +0000 (18:28 +0000)
The check lines were added with:
http://reviews.llvm.org/rL256458
http://reviews.llvm.org/rL256460

but on a darwin target, the output looks like:
  ## InlineAsm Start
  rorq  %rdi
  ## InlineAsm End
  ## InlineAsm Start
  rorq  %rsi
  ## InlineAsm End
  leaq  (%rsi,%rdi), %rax
  retq

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

test/CodeGen/X86/inline-asm-2addr.ll

index 92397ef409403381f1ca97d2bdd6c6b08cd1f96a..079f883186fb6ff66a02f0d37586ddfad871c17f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s
 
 define i64 @t(i64 %a, i64 %b) nounwind ssp {
 entry: