diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-02-22 07:21:59 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-02-22 07:21:59 +0000 |
| commit | bced59bba72b7bcf9fbf9cd10bcc3e477502048d (patch) | |
| tree | e28cc129c57692dea018de0ff0900a3a9f3b445d /llvm | |
| parent | 384490cbe1ffa91dec3baf6f2122838b61dd2122 (diff) | |
| download | bcm5719-llvm-bced59bba72b7bcf9fbf9cd10bcc3e477502048d.tar.gz bcm5719-llvm-bced59bba72b7bcf9fbf9cd10bcc3e477502048d.zip | |
Relax expressions and add explicit triplets -linux and -win32.
llvm-svn: 126216
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/CodeGen/X86/xor.ll | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/X86/xor.ll b/llvm/test/CodeGen/X86/xor.ll index 6c623cb1553..b90d81ac9b1 100644 --- a/llvm/test/CodeGen/X86/xor.ll +++ b/llvm/test/CodeGen/X86/xor.ll @@ -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 |

