Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / CodeGen / X86 / extern_weak.ll
blobc2ff09f21e8022f5dabedef71fe405f8eb0496ee
1 ; RUN: llc < %s -mtriple=i686-apple-darwin | grep weak_reference | count 2
3 @Y = global i32 (i8*)* @X               ; <i32 (i8*)**> [#uses=0]
5 declare extern_weak i32 @X(i8*)
7 define void @bar() {
8         tail call void (...) @foo( )
9         ret void
12 declare extern_weak void @foo(...)