OSDN Git Service

fix PR8710 - teach global opt that some constantexprs are too complex to
authorChris Lattner <sabre@nondot.org>
Tue, 7 Dec 2010 01:59:32 +0000 (01:59 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 7 Dec 2010 01:59:32 +0000 (01:59 +0000)
commitfb431099c5783f5e25a0a4c789274256cde3e925
tree1c9b5380d86bc3eb99eef461a7c8c913611f416e
parent1fe045279b10550f06fd755c1aa6377e67ff0473
fix PR8710 - teach global opt that some constantexprs are too complex to
put in a global variable's initializer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121100 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp
test/Transforms/GlobalOpt/ctor-list-opt-constexpr.ll [new file with mode: 0644]