Enhance GlobalOpt to be able evaluate initializers that involve stores through
authorOwen Anderson <resistor@mac.com>
Fri, 14 Jan 2011 22:19:20 +0000 (22:19 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 14 Jan 2011 22:19:20 +0000 (22:19 +0000)
commitcff6b3772bd991119ff4882e06af29fbdb60e93f
treee0c251f7af4cc86867650c3a1732c17088a213bd
parent3965b5e974d57f3e56a2c7f37d76d73e572dfb20
Enhance GlobalOpt to be able evaluate initializers that involve stores through
bitcasts, at least in simple cases.  This fixes clang's CodeGenCXX/virtual-base-dtor.cpp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123477 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp