Relax expressions and add explicit triplets -linux and -win32.

llvm-svn: 126216
This commit is contained in:
NAKAMURA Takumi 2011-02-22 07:21:59 +00:00
parent 384490cbe1
commit bced59bba7
1 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,6 @@
; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s -check-prefix=X32
; RUN: llc < %s -march=x86-64 | FileCheck %s -check-prefix=X64
; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64
; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s -check-prefix=X64
; Though it is undefined, we want xor undef,undef to produce zero.
define <4 x i32> @test1() nounwind {
@ -28,9 +29,9 @@ entry:
ret i32 %tmp4
; X64: test3:
; X64: notl %esi
; X64: andl %edi, %esi
; X64: movl %esi, %eax
; X64: notl [[A1:%esi|%edx]]
; X64: andl [[A0:%edi|%ecx]], [[A1]]
; X64: movl [[A1]], %eax
; X64: shrl %eax
; X64: ret