8e12397d70
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
7 lines
135 B
LLVM
7 lines
135 B
LLVM
; Weak variables should be preserved by global DCE!
|
|
|
|
; RUN: opt < %s -globaldce -S | FileCheck %s
|
|
|
|
; CHECK: @A
|
|
@A = weak global i32 54
|