llvm-6502/test/Transforms/GlobalDCE/2009-02-17-AliasUsesAliasee.ll
Duncan Sands cdf5ffb7fb If an alias is dead and so is its aliasee, then globaldce would
crash because the alias would still be using the aliasee when the
aliasee was deleted.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64844 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-17 23:05:26 +00:00

5 lines
109 B
LLVM

; RUN: llvm-as < %s | opt -globaldce
@A = alias internal void ()* @F
define internal void @F() { ret void }