OSDN Git Service

Specify triple for xor-icmp.ll .
authorAmaury Sechet <deadalnix@gmail.com>
Fri, 2 Jun 2017 07:45:22 +0000 (07:45 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Fri, 2 Jun 2017 07:45:22 +0000 (07:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304526 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/xor-icmp.ll

index 8f12389..cd58dd1 100644 (file)
@@ -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 ssp {
 ; 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