llvm.org GIT mirror llvm / release_26 test / Transforms / GlobalDCE / 2003-10-09-PreserveWeakGlobals.ll
release_26

Tree @release_26 (Download .tar.gz)

2003-10-09-PreserveWeakGlobals.ll @release_26raw · history · blame

1
2
3
4
5
6
; Weak variables should be preserved by global DCE!

; RUN: llvm-as < %s | opt -globaldce | llvm-dis | grep @A


@A = weak global i32 54