- Jul 27, 2009
-
-
Chris Lattner authored
instead. llvm-svn: 77186
-
Chris Lattner authored
instead and drive things based off of that. llvm-svn: 77184
-
Evan Cheng authored
llvm-svn: 77182
-
Evan Cheng authored
llvm-svn: 77181
-
Sanjiv Gupta authored
llvm-svn: 77179
-
Sanjiv Gupta authored
fixed incorrect lowering of ISD::SUB node. SUB has only one result value. It wasn't caught during tests because we never got a sub generated, (i8 was always getting promoted to int, which in turn was broken into subc/sube). Though the optimizer leaves an i8 sub now. llvm-svn: 77178
-
Evan Cheng authored
Use the right instructions to copy between GPR and the more strictive tGPR classes. t2MOV does not match the RC requirements. llvm-svn: 77175
-
Evan Cheng authored
llvm-svn: 77174
-
Evan Cheng authored
llvm-svn: 77173
-
Evan Cheng authored
Rename tMOVhi2lor to tMOVgpr2tgpr. It's not moving from a high register to a low register. It's moving from a GPR register class to a more restrictive tGPR class. Also change tMOVlor2hir, and tMOVhir2hir. llvm-svn: 77172
-
- Jul 26, 2009
-
-
Chris Lattner authored
'unnamed' bss section, but some impls would want a named one. Since they don't have consistent behavior, just make each target do their own thing, instead of doing something "sortof common" then having targets change immutable objects later. llvm-svn: 77165
-
Evan Cheng authored
llvm-svn: 77164
-
Chris Lattner authored
llvm-svn: 77161
-
Sanjiv Gupta authored
PIC16 has special naming conventions for variables having section names specified via section attribute. llvm-svn: 77153
-
Nick Lewycky authored
namespace which could very well conflict with non-LLVM code. Also clean up some spacing, remove an extra header. llvm-svn: 77146
-
Daniel Dunbar authored
llvm-svn: 77145
-
Chris Lattner authored
just use a smallstring instead. llvm-svn: 77144
-
Chris Lattner authored
llvm-svn: 77143
-
Chris Lattner authored
section specified for it or not. llvm-svn: 77142
-
Chris Lattner authored
llvm-svn: 77141
-
Chris Lattner authored
to its classification. llvm-svn: 77140
-
Chris Lattner authored
llvm-svn: 77138
-
Chris Lattner authored
llvm-svn: 77135
-
Chris Lattner authored
llvm-svn: 77134
-
Chris Lattner authored
llvm-svn: 77133
-
Chris Lattner authored
simplify targets. llvm-svn: 77132
-
Chris Lattner authored
putting readonly constants in the readonly section if we have one. llvm-svn: 77131
-
Chris Lattner authored
llvm-svn: 77130
-
Chris Lattner authored
group instead of a bunch of random unrelated ideas. Provide predicates to categorize a SectionKind into a group, and use them instead of getKind() throughout the code. This also renames a ton of SectionKinds to be more consistent and evocative, and adds a huge number of comments on the enums so that I will hopefully be able to remember how this stuff works long from now. llvm-svn: 77129
-
Daniel Dunbar authored
classes, and migrate existing targets over. llvm-svn: 77126
-
Chris Lattner authored
llvm-svn: 77116
-
Daniel Dunbar authored
- This was overkill and inconsistently implemented. llvm-svn: 77114
-
Daniel Dunbar authored
- This is a simplified mechanism which just looks up a target based on the target triple, with a few additional flags. - Remove getClosestStaticTargetForModule, the moral equivalent is now: lookupTarget(Mod->getTargetTriple, true, false, ...); - This no longer does the fuzzy matching with target data (based on endianness and pointer width) that getClosestStaticTargetForModule was doing, but this was deemed unnecessary. llvm-svn: 77111
-
Chris Lattner authored
llvm-svn: 77110
-
Chris Lattner authored
for now. Make the section switching directives more consistent by not including \n and including \t for them all. llvm-svn: 77107
-
Chris Lattner authored
and make it more aggressive, we now put: const int G2 __attribute__((weak)) = 42; into the text (readonly) segment like gcc, previously we put it into the data (readwrite) segment. llvm-svn: 77104
-
Bob Wilson authored
Patch by Anton Korzh, with some modifications from me. llvm-svn: 77101
-
Daniel Dunbar authored
Also, change MDString to use a StringRef. llvm-svn: 77098
-
Chris Lattner authored
an enum. llvm-svn: 77096
-
- Jul 25, 2009
-
-
Chris Lattner authored
1. Spell SectionFlags::Writeable as "Writable". 2. Add predicates for deriving SectionFlags from SectionKinds. 3. Sink ELF-specific getSectionPrefixForUniqueGlobal impl into ELFTargetAsmInfo. 4. Fix SectionFlagsForGlobal to know that BSS/ThreadBSS has the BSS bit set (the real fix for PR4619). 5. Fix isSuitableForBSS to not put globals with explicit sections set in BSS (which was the reason #4 wasn't fixed earlier). 6. Remove my previous hack for PR4619. llvm-svn: 77085
-