llvm-6502/lib
Bill Wendling 5eea342673 The llvm-gcc front-end and the pass manager use two separate TargetData objects.
This is probably not confined to *just* these two things.

Anyway, the llvm-gcc front-end may look up the structure layout information for
an abstract type. That information will be stored into a table with the FE's
TD. Instruction combine can come along and also ask for information on that
abstract type, but for a separate TD (the one associated with the pass manager).

After the type is refined, the old structure layout information in the pass
manager's TD file is out of date. If a new type is allocated in the same space
as the old-unrefined type, then the structure type information in the pass
manager's TD file will be wrong, but won't know it.

Fix this by making the TD's structure type information an abstract type user.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89176 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-18 01:03:56 +00:00
..
Analysis Simplify ComputeMultiple so that it doesn't depend on TargetData. 2009-11-18 00:58:27 +00:00
Archive Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
AsmParser Fix MSVC warning ( | with bool and unsigned int). 2009-11-07 23:51:55 +00:00
Bitcode Re-commit r86077 now that r86290 fixes the 179.art and 175.vpr ARM regressions. 2009-11-07 00:16:28 +00:00
CodeGen Fix inverted test and add testcase from failing self-host. 2009-11-18 00:02:18 +00:00
CompilerDriver Remove dead code. 2009-11-11 04:10:24 +00:00
ExecutionEngine Add ability to set code model within the execution engine builders 2009-11-17 21:58:16 +00:00
Linker Fix MemoryBuffer::getSTDIN to *not* return null if stdin is empty, this is a lame API. 2009-11-10 00:43:58 +00:00
MC Pass StringRef by value. 2009-11-06 10:58:06 +00:00
Support Added getArchNameForAssembler method to the Triple class for which returns OS and Vendor independent target assembler arch. 2009-11-17 18:48:27 +00:00
System Revert CPU detection code to return "generic" instead of an empty string in case 2009-11-17 17:57:04 +00:00
Target The llvm-gcc front-end and the pass manager use two separate TargetData objects. 2009-11-18 01:03:56 +00:00
Transforms grammar 2009-11-17 21:37:04 +00:00
VMCore In GlobalVariable::setInitializer, assert that the initializer has the 2009-11-17 00:43:13 +00:00
Makefile remove llvm-db: it is completely broken and if anyone wants to do a debugger, 2009-10-05 02:29:51 +00:00