Add SplitKit::isOriginalEndpoint and use it to force live range splitting to terminate.
[oota-llvm.git] / test / CodeGen / X86 / darwin-no-dead-strip.ll
1 ; RUN: llc < %s | grep no_dead_strip
2
3 target datalayout = "e-p:32:32"
4 target triple = "i686-apple-darwin8.7.2"
5 @x = weak global i32 0          ; <i32*> [#uses=1]
6 @llvm.used = appending global [1 x i8*] [ i8* bitcast (i32* @x to i8*) ]                ; <[1 x i8*]*> [#uses=0]
7