[cfe-commits] r111727 - /cfe/trunk/test/CodeGen/address-space-field1.c

John McCall rjmccall at apple.com
Fri Aug 20 21:58:16 PDT 2010


Author: rjmccall
Date: Fri Aug 20 23:58:16 2010
New Revision: 111727

URL: http://llvm.org/viewvc/llvm-project?rev=111727&view=rev
Log:
This test needs a triple: it's checking the alignment of a pointer in bytes.


Modified:
    cfe/trunk/test/CodeGen/address-space-field1.c

Modified: cfe/trunk/test/CodeGen/address-space-field1.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/address-space-field1.c?rev=111727&r1=111726&r2=111727&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/address-space-field1.c (original)
+++ cfe/trunk/test/CodeGen/address-space-field1.c Fri Aug 20 23:58:16 2010
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm < %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -triple x86_64-apple-darwin10 < %s -o - | FileCheck %s
 // CHECK:%struct.S = type { i32, i32 }
 // CHECK:define void @test_addrspace(%struct.S addrspace(1)* %p1, %struct.S addrspace(2)* %p2) nounwind
 // CHECK:  [[p1addr:%.*]] = alloca %struct.S addrspace(1)*





More information about the cfe-commits mailing list