diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-12-03 08:20:45 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-12-03 08:20:45 +0000 |
commit | b5a97ff65128e114a078ba1e640d4a7e532961dd (patch) | |
tree | d27a850a33183d9f4d92d3983d4490c5625492c4 /llvm/test/CodeGen/X86/fold-pcmpeqd-0.ll | |
parent | 350fc5721d56ef245670f2e58f1bc6dcb94e9f98 (diff) | |
download | bcm5719-llvm-b5a97ff65128e114a078ba1e640d4a7e532961dd.tar.gz bcm5719-llvm-b5a97ff65128e114a078ba1e640d4a7e532961dd.zip |
Fix test.
llvm-svn: 60476
Diffstat (limited to 'llvm/test/CodeGen/X86/fold-pcmpeqd-0.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/fold-pcmpeqd-0.ll | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/X86/fold-pcmpeqd-0.ll b/llvm/test/CodeGen/X86/fold-pcmpeqd-0.ll index 79fb792bcf6..6af72193450 100644 --- a/llvm/test/CodeGen/X86/fold-pcmpeqd-0.ll +++ b/llvm/test/CodeGen/X86/fold-pcmpeqd-0.ll @@ -1,13 +1,11 @@ -; RUN: llvm-as < %s | llc | not grep pcmpeqd -; RUN: llvm-as < %s | llc -march=x86-64 | grep pcmpeqd | count 1 +; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | not grep pcmpeqd +; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | grep pcmpeqd | count 1 ; On x86-64, this testcase shouldn't need to spill the -1 value, ; so it should just use pcmpeqd to materialize an all-ones vector. ; On x86-32, there aren't enough registers, so an all-ones ; constant pool should be created so it can be folded. -target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" -target triple = "i686-apple-cl.1.0" %struct.__ImageExecInfo = type <{ <4 x i32>, <4 x float>, <2 x i64>, i8*, i8*, i8*, i32, i32, i32, i32, i32 }> %struct._cl_image_format_t = type <{ i32, i32, i32 }> %struct._image2d_t = type <{ i8*, %struct._cl_image_format_t, i32, i32, i32, i32, i32, i32 }> |