diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/darwin-no-dead-strip.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/darwin-no-dead-strip.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/X86/darwin-no-dead-strip.ll b/llvm/test/CodeGen/X86/darwin-no-dead-strip.ll index 8e671ffccdb..63325b7a6ae 100644 --- a/llvm/test/CodeGen/X86/darwin-no-dead-strip.ll +++ b/llvm/test/CodeGen/X86/darwin-no-dead-strip.ll @@ -1,7 +1,7 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc | grep no_dead_strip +; RUN: llvm-as < %s | llc | grep no_dead_strip -target endian = little -target pointersize = 32 +target datalayout = "e-p:32:32" target triple = "i686-apple-darwin8.7.2" -%x = weak global int 0 ; <int*> [#uses=1] -%llvm.used = appending global [1 x sbyte*] [ sbyte* cast (int* %x to sbyte*) ] +@x = weak global i32 0 ; <i32*> [#uses=1] +@llvm.used = appending global [1 x i8*] [ i8* bitcast (i32* @x to i8*) ] ; <[1 x i8*]*> [#uses=0] + |