OSDN Git Service

Make test platform agnostic.
authorBill Wendling <isanbard@gmail.com>
Wed, 28 Jan 2009 22:20:56 +0000 (22:20 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 28 Jan 2009 22:20:56 +0000 (22:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63247 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2009-01-27-NullStrings.ll

index 0b087d0..b0c27d8 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 }