[llvm-commits] [llvm] r60476 - /llvm/trunk/test/CodeGen/X86/fold-pcmpeqd-0.ll

Evan Cheng evan.cheng at apple.com
Wed Dec 3 00:20:45 PST 2008


Author: evancheng
Date: Wed Dec  3 02:20:45 2008
New Revision: 60476

URL: http://llvm.org/viewvc/llvm-project?rev=60476&view=rev
Log:
Fix test.

Modified:
    llvm/trunk/test/CodeGen/X86/fold-pcmpeqd-0.ll

Modified: llvm/trunk/test/CodeGen/X86/fold-pcmpeqd-0.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fold-pcmpeqd-0.ll?rev=60476&r1=60475&r2=60476&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/fold-pcmpeqd-0.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fold-pcmpeqd-0.ll Wed Dec  3 02:20:45 2008
@@ -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 }>





More information about the llvm-commits mailing list