[cfe-commits] r98079 - /cfe/trunk/test/CodeGenObjC/id-isa-codegen.m

Fariborz Jahanian fjahanian at apple.com
Tue Mar 9 13:26:24 PST 2010


Author: fjahanian
Date: Tue Mar  9 15:26:24 2010
New Revision: 98079

URL: http://llvm.org/viewvc/llvm-project?rev=98079&view=rev
Log:
Reverse the code gen. enabled part of test until I can figure out
how to check the code pattern no matter how clang is built.

Modified:
    cfe/trunk/test/CodeGenObjC/id-isa-codegen.m

Modified: cfe/trunk/test/CodeGenObjC/id-isa-codegen.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/id-isa-codegen.m?rev=98079&r1=98078&r2=98079&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/id-isa-codegen.m (original)
+++ cfe/trunk/test/CodeGenObjC/id-isa-codegen.m Tue Mar  9 15:26:24 2010
@@ -1,5 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10  -emit-llvm -o - %s | FileCheck -check-prefix LP64 %s
-// RUN: %clang_cc1 -triple i386-apple-darwin9  -emit-llvm -o - %s | FileCheck -check-prefix LP32 %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 typedef struct objc_class *Class;
 
@@ -64,10 +63,3 @@
     ((id)cat)->isa = dynamicSubclass;
 }
 @end
-// CHECK-LP64: %tmp2 = load i8** %
-// CHECK-LP64: %1 = bitcast i8* %tmp2 to i8**
-// CHECK-LP64: store i8* %tmp, i8** %1
-
-// CHECK-LP32: %tmp2 = load i8** %
-// CHECK-LP32: %1 = bitcast i8* %tmp2 to i8**
-// CHECK-LP32: store i8* %tmp, i8** %1





More information about the cfe-commits mailing list