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

Tree @release_34 (Download .tar.gz)

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

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

; RUN: opt < %s -globaldce -S | grep @A


@A = weak global i32 54