[llvm] r304526 - Specify triple for xor-icmp.ll .

Amaury Sechet via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 2 00:45:22 PDT 2017


Author: deadalnix
Date: Fri Jun  2 02:45:22 2017
New Revision: 304526

URL: http://llvm.org/viewvc/llvm-project?rev=304526&view=rev
Log:
Specify triple for xor-icmp.ll .

Modified:
    llvm/trunk/test/CodeGen/X86/xor-icmp.ll

Modified: llvm/trunk/test/CodeGen/X86/xor-icmp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/xor-icmp.ll?rev=304526&r1=304525&r2=304526&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/xor-icmp.ll (original)
+++ llvm/trunk/test/CodeGen/X86/xor-icmp.ll Fri Jun  2 02:45:22 2017
@@ -1,6 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -march=x86    | FileCheck %s -check-prefix=X32
-; RUN: llc < %s -march=x86-64 | FileCheck %s -check-prefix=X64
+; RUN: llc < %s -mtriple=i686-unknown   | FileCheck %s -check-prefix=X32
+; RUN: llc < %s -mtriple=x86_64-unknown | FileCheck %s -check-prefix=X64
 ; rdar://7367229
 
 define i32 @t(i32 %a, i32 %b) nounwind ssp {
@@ -28,7 +28,6 @@ define i32 @t(i32 %a, i32 %b) nounwind s
 ; X64-NEXT:    xorl %eax, %eax
 ; X64-NEXT:    jmp foo # TAILCALL
 entry:
-
   %0 = and i32 %a, 16384
   %1 = icmp ne i32 %0, 0
   %2 = and i32 %b, 16384




More information about the llvm-commits mailing list