summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2009-01-27-NullStrings.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-01-28 22:20:56 +0000
committerBill Wendling <isanbard@gmail.com>2009-01-28 22:20:56 +0000
commit7540561097ee0935a0eb6f94bee897b3d1ecb070 (patch)
treeef1a3481e1b4a333cabf037b9393f3cc52f62603 /test/CodeGen/X86/2009-01-27-NullStrings.ll
parent7ade28cd62f5188951387e1056a46001388a21f9 (diff)
downloadllvm-7540561097ee0935a0eb6f94bee897b3d1ecb070.tar.gz
llvm-7540561097ee0935a0eb6f94bee897b3d1ecb070.tar.bz2
llvm-7540561097ee0935a0eb6f94bee897b3d1ecb070.tar.xz
Make test platform agnostic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2009-01-27-NullStrings.ll')
-rw-r--r--test/CodeGen/X86/2009-01-27-NullStrings.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/CodeGen/X86/2009-01-27-NullStrings.ll b/test/CodeGen/X86/2009-01-27-NullStrings.ll
index 0b087d00e2..b0c27d8903 100644
--- a/test/CodeGen/X86/2009-01-27-NullStrings.ll
+++ b/test/CodeGen/X86/2009-01-27-NullStrings.ll
@@ -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 }