1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Transforms/GlobalDCE/2009-02-17-AliasUsesAliasee.ll
Duncan Sands e605b83258 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.

llvm-svn: 64844
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 }