[llvm-commits] [llvm] r123563 - in /llvm/trunk: lib/Transforms/IPO/GlobalOpt.cpp test/Transforms/GlobalOpt/static-ctor-bitcast.ll

Chris Lattner clattner at apple.com
Sat Jan 15 21:48:34 PST 2011


On Jan 15, 2011, at 8:33 PM, Owen Anderson wrote:

> Author: resistor
> Date: Sat Jan 15 22:33:33 2011
> New Revision: 123563
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=123563&view=rev
> Log:
> Improve the safety of my globalopt enhancement by ensuring that the bitcast
> of the stored value to the new store type is always.  Also, add a testcase.

Thanks Owen, this patch looks correct.  Please hand reduce the testcase and add it as an entry in GlobalOpt/ctor-list-opt.ll.

-Chris





More information about the llvm-commits mailing list