GlobalDCE: Fix an oversight in my last commit that could lead to crashes.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 13 Apr 2013 16:11:14 +0000 (16:11 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 13 Apr 2013 16:11:14 +0000 (16:11 +0000)
commitadc1727c39828bb19a29d63ccd1a32c7b8a29753
tree674466ffe2574b7a58443e275d34dcf81675e62f
parentb9555e8e4a2b01b70ebcb6a7c4888ce783d7400a
GlobalDCE: Fix an oversight in my last commit that could lead to crashes.

There is a Constant with non-constant operands: blockaddress.

llvm-svn: 179460
llvm/lib/Transforms/IPO/GlobalDCE.cpp
llvm/test/Transforms/GlobalDCE/indirectbr.ll [new file with mode: 0644]