[llvm-commits] [llvm] r126216 - /llvm/trunk/test/CodeGen/X86/xor.ll
NAKAMURA Takumi
geek4civic at gmail.com
Mon Feb 21 23:21:59 PST 2011
Author: chapuni
Date: Tue Feb 22 01:21:59 2011
New Revision: 126216
URL: http://llvm.org/viewvc/llvm-project?rev=126216&view=rev
Log:
Relax expressions and add explicit triplets -linux and -win32.
Modified:
llvm/trunk/test/CodeGen/X86/xor.ll
Modified: llvm/trunk/test/CodeGen/X86/xor.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/xor.ll?rev=126216&r1=126215&r2=126216&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/xor.ll (original)
+++ llvm/trunk/test/CodeGen/X86/xor.ll Tue Feb 22 01:21:59 2011
@@ -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 @@
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
More information about the llvm-commits
mailing list