| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 94464
|
| |
|
|
|
|
|
|
| |
It looks like linux/arm and linux/mips have the same setting, which
are probably wrong. Someone who cares about ARM and MIPS should
investigate with the testcase in PR6129.
llvm-svn: 94381
|
| |
|
|
| |
llvm-svn: 94378
|
| |
|
|
| |
llvm-svn: 94350
|
| |
|
|
|
|
|
|
| |
"sext cond" instead of a select. This simplifies some instcombine
code, matches the policy for zext (cond ? 1 : 0 -> zext), and allows
us to generate better code for a testcase on ppc.
llvm-svn: 94339
|
| |
|
|
| |
llvm-svn: 94317
|
| |
|
|
| |
llvm-svn: 94299
|
| |
|
|
|
|
| |
into a new MCDirectives.h file.
llvm-svn: 94294
|
| |
|
|
| |
llvm-svn: 94286
|
| |
|
|
|
|
|
|
|
|
|
| |
missing ones are libsupport, libsystem and libvmcore. libvmcore is
currently blocked on bugpoint, which uses EH. Once it stops using
EH, we can switch it off.
This #if 0's out 3 unit tests, because gtest requires RTTI information.
Suggestions welcome on how to fix this.
llvm-svn: 94164
|
| |
|
|
| |
llvm-svn: 94098
|
| |
|
|
| |
llvm-svn: 94095
|
| |
|
|
|
|
| |
this makes function stub emission determinstic.
llvm-svn: 94033
|
| |
|
|
|
|
| |
no functionality change.
llvm-svn: 94030
|
| |
|
|
|
|
|
|
| |
MachineModuleInfoMachO instead. This eliminates two sources
of nondeterministic output in the ppc backend, but function
stubs are still bad.
llvm-svn: 94029
|
| |
|
|
|
|
|
| |
stomache MCAsmInfo having this, and I found a better solution to
this layering issue.
llvm-svn: 93985
|
| |
|
|
|
|
|
|
|
| |
I really want clients of the streamer to be able to say "emit this
64-bit integer" and have it get broken down right by the streamer.
I may change this in the future, we'll see how it works out.
llvm-svn: 93934
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
doing global variable classification anymore) and hookized, sink almost
all target targets global variable emission code into AsmPrinter and out
of each target.
Some notes:
1. PIC16 does completely custom and crazy stuff, so it is not changed.
2. XCore has some custom handling for extra directives. I'll look at it next.
3. This switches linux/ppc to use .globl instead of .global. If .globl is
actually wrong, let me know and I'll fix it.
4. This makes linux/ppc get a lot of random cases right which were obviously
wrong before, it is probably now a bit healthier.
5. Blackfin will probably start getting .comm and other things that it didn't
before. If this is undesirable, it should explicitly opt out of these
things by clearing the relevant fields of MCAsmInfo.
This leads to a nice diffstat:
14 files changed, 127 insertions(+), 830 deletions(-)
llvm-svn: 93858
|
| |
|
|
|
|
| |
"isdarwin".
llvm-svn: 93852
|
| |
|
|
|
|
|
|
|
|
| |
This makes a similar code dead in all the other targets, I'll clean it up
in a bit.
This also moves handling of lcomm up before acquisition of a section,
since lcomm never needs a section.
llvm-svn: 93851
|
| |
|
|
|
|
| |
darwin into common code.
llvm-svn: 93849
|
| |
|
|
|
|
| |
duplicating the logic (differently) in lots of different targets.
llvm-svn: 93847
|
| |
|
|
| |
llvm-svn: 93845
|
| |
|
|
|
|
|
|
|
| |
simplify and commonize some of the asmprinter logic for globals.
This also avoids printing the MCSection for .zerofill, which broke
the llvm-gcc build.
llvm-svn: 93843
|
| |
|
|
| |
llvm-svn: 93841
|
| |
|
|
| |
llvm-svn: 93839
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
1. TargetLoweringObjectFileMachO should decide if something
goes in zerofill instead of having every target do it.
2. TargetLoweringObjectFileMachO should assign said symbols to
the right MCSection, the asmprinters should just emit to the
right section.
3. Since all zerofill stuff goes through mcstreamer anymore,
MAI can have a bool "haszerofill" instead of having the textual
directive to emit.
llvm-svn: 93838
|
| |
|
|
|
|
| |
- Greatly improve the comments to the getLSDAEncoding method.
llvm-svn: 93796
|
| |
|
|
|
|
|
| |
remove it and change all the code that prints MCSymbols to use
<< instead, which is much simpler and cleaner.
llvm-svn: 93695
|
| |
|
|
| |
llvm-svn: 93664
|
| |
|
|
|
|
|
|
| |
and add an explicit ForcePrivate argument.
Switch FunctionEHFrameInfo to be MCSymbol based instead of string based.
llvm-svn: 93646
|
| |
|
|
| |
llvm-svn: 93624
|
| |
|
|
|
|
| |
calls. Add FIXMEs about a bunch of nondeterminism in stub output.
llvm-svn: 93621
|
| |
|
|
| |
llvm-svn: 93619
|
| |
|
|
| |
llvm-svn: 93608
|
| |
|
|
|
|
| |
and CurrentFnName.
llvm-svn: 93594
|
| |
|
|
|
|
| |
JITTest.FunctionIsRecompiledAndRelinked.)
llvm-svn: 93475
|
| |
|
|
| |
llvm-svn: 93334
|
| |
|
|
| |
llvm-svn: 93333
|
| |
|
|
| |
llvm-svn: 93332
|
| |
|
|
| |
llvm-svn: 93305
|
| |
|
|
|
|
|
|
|
|
|
|
| |
instead of returning it in an std::string. Based on this change:
1. Change TargetLoweringObjectFileCOFF::getCOFFSection to take a StringRef
2. Change a bunch of targets to call makeNameProper with a smallstring,
making several of them *much* more efficient.
3. Rewrite Mangler::makeNameProper to not build names and then prepend
prefixes, not use temporary std::strings, and to avoid other crimes.
llvm-svn: 93298
|
| |
|
|
| |
llvm-svn: 92921
|
| |
|
|
|
|
| |
bootstrap.
llvm-svn: 92818
|
| |
|
|
|
|
| |
synonyms for PPC.
llvm-svn: 92817
|
| |
|
|
|
|
|
| |
It is enough to give the super registers CR0, CR1, ..., and specifying the
sub-registers as well causes confusion in the liveness computations.
llvm-svn: 92778
|
| |
|
|
|
|
|
|
|
| |
clear what information these functions are actually using.
This is also a micro-optimization, as passing a SDNode * around is
simpler than passing a { SDNode *, int } by value or reference.
llvm-svn: 92564
|
| |
|
|
|
|
|
|
| |
return partial registers. This affected the back-end lowering code some.
Also patch up some places I missed before in the "get" functions.
llvm-svn: 91880
|
| |
|
|
|
|
| |
Patch contributed by Ken Werner of IBM!
llvm-svn: 91681
|
| |
|
|
|
|
| |
Patch contributed by Ken Werner of IBM!
llvm-svn: 91680
|