YouCompleteMe/cpp/llvm/test/Transforms/GlobalDCE/2009-01-05-DeadAliases.ll

9 lines
212 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: opt < %s -globaldce -S | not grep @D
; RUN: opt < %s -globaldce -S | grep @L | count 3
@A = global i32 0
@D = alias internal i32* @A
@L1 = alias i32* @A
@L2 = alias internal i32* @L1
@L3 = alias i32* @L2