[llvm] r256507 - Specify triple so 'make check' passes on darwin x86-64

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 28 10:28:44 PST 2015


Author: spatel
Date: Mon Dec 28 12:28:44 2015
New Revision: 256507

URL: http://llvm.org/viewvc/llvm-project?rev=256507&view=rev
Log:
Specify triple so 'make check' passes on darwin x86-64

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



Modified:
    llvm/trunk/test/CodeGen/X86/inline-asm-2addr.ll

Modified: llvm/trunk/test/CodeGen/X86/inline-asm-2addr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/inline-asm-2addr.ll?rev=256507&r1=256506&r2=256507&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/inline-asm-2addr.ll (original)
+++ llvm/trunk/test/CodeGen/X86/inline-asm-2addr.ll Mon Dec 28 12:28:44 2015
@@ -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:




More information about the llvm-commits mailing list