llvm-mirror/lib/Transforms/IPO
Nick Lewycky 75e67d4dc2 Just because a GlobalVariable's initializer is [N x { i32, void ()* }] doesn't
mean that it has to be ConstantArray of ConstantStruct. We might have
ConstantAggregateZero, at either level, so don't crash on that.

Also, semi-deprecate the sentinal value. The linker isn't aware of sentinals so
we end up with the two lists appended, each with their "sentinals" on them.
Different parts of LLVM treated sentinals differently, so make them all just
ignore the single entry and continue on with the rest of the list.

llvm-svn: 129307
2011-04-11 22:11:20 +00:00
..
ArgumentPromotion.cpp
CMakeLists.txt
ConstantMerge.cpp
DeadArgumentElimination.cpp Add an obvious missing safety check to DAE::RemoveDeadArgumentsFromCallers. 2011-03-01 00:33:47 +00:00
DeadTypeElimination.cpp
ExtractGV.cpp
FunctionAttrs.cpp
GlobalDCE.cpp
GlobalOpt.cpp Just because a GlobalVariable's initializer is [N x { i32, void ()* }] doesn't 2011-04-11 22:11:20 +00:00
InlineAlways.cpp
Inliner.cpp
InlineSimple.cpp
Internalize.cpp These llvm.dbg.* constants are not used anymore. 2011-03-09 19:41:33 +00:00
IPConstantPropagation.cpp Remove some support for ReturnInsts with multiple operands, and for 2011-04-04 07:44:02 +00:00
IPO.cpp
LoopExtractor.cpp
LowerSetJmp.cpp Remove PHINode::reserveOperandSpace(). Instead, add a parameter to 2011-03-30 11:28:46 +00:00
Makefile
MergeFunctions.cpp Don't include Operator.h from InstrTypes.h. 2011-04-11 09:35:34 +00:00
PartialInlining.cpp Remove PHINode::reserveOperandSpace(). Instead, add a parameter to 2011-03-30 11:28:46 +00:00
PruneEH.cpp
StripDeadPrototypes.cpp
StripSymbols.cpp
StructRetPromotion.cpp