Make test platform agnostic.
[oota-llvm.git] / test / CodeGen / X86 / 2009-01-27-NullStrings.ll
index 0b087d00e238eb43056fb58559edc32b90f21b92..b0c27d8903e7566103b75b352f85c72b9470a0be 100644 (file)
@@ -1,6 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep {\\.cstring} | count 1
-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:128:128"
-target triple = "i386-apple-darwin9.6"
+; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin | grep {\\.cstring} | count 1
        %struct.A = type {  }
        %struct.NSString = type opaque
        %struct.__builtin_CFString = type { i32*, i32, i8*, i32 }