llvm-6502/lib/Transforms
Nick Lewycky 5ea5c61589 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129307 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-11 22:11:20 +00:00
..
Hello Since the Hello pass is built as a loadable dynamic library, don't try to convert it to new-style registration yet. 2010-10-07 00:31:16 +00:00
InstCombine Don't include Operator.h from InstrTypes.h. 2011-04-11 09:35:34 +00:00
Instrumentation Don't include Operator.h from InstrTypes.h. 2011-04-11 09:35:34 +00:00
IPO Just because a GlobalVariable's initializer is [N x { i32, void ()* }] doesn't 2011-04-11 22:11:20 +00:00
Scalar Don't include Operator.h from InstrTypes.h. 2011-04-11 09:35:34 +00:00
Utils Don't include Operator.h from InstrTypes.h. 2011-04-11 09:35:34 +00:00
CMakeLists.txt Move library stuff out of the toplevel CMakeLists.txt file. 2011-02-18 22:06:14 +00:00
Makefile Revert r100896 and around - this breaks the only mingw32 buildbot we have. 2010-04-15 19:51:42 +00:00