| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
using Promote which won't work because i64 isn't
a legal type. It's easy enough to use Custom, but
then we have the problem that when the type
legalizer is promoting FP_TO_UINT->i16, it has no
way of telling it should prefer FP_TO_SINT->i32
to FP_TO_UINT->i32. I have uncomfortably hacked
this by making the type legalizer choose FP_TO_SINT
when both are Custom.
This fixes several regressions in the testsuite.
llvm-svn: 72891
|
| |
|
|
|
|
| |
instead of the physical register it is allocated to. This resulted in virtual register(s) being added the live-in sets.
llvm-svn: 72890
|
| |
|
|
|
|
| |
unfortunate. But register allocator still has to add it to the live-in set of the use BB.
llvm-svn: 72889
|
| |
|
|
|
|
| |
unfortunate. But register allocator still has to add it to the live-in set of the use BB.
llvm-svn: 72888
|
| |
|
|
|
|
| |
the CMake-generated Xcode project build properly.
llvm-svn: 72883
|
| |
|
|
| |
llvm-svn: 72881
|
| |
|
|
| |
llvm-svn: 72880
|
| |
|
|
|
|
|
| |
there must also be an XFAIL line. Fix a couple
examples of this.
llvm-svn: 72876
|
| |
|
|
| |
llvm-svn: 72875
|
| |
|
|
| |
llvm-svn: 72873
|
| |
|
|
|
|
|
|
| |
instcombine doesn't know when it's safe. To partially compensate
for this, introduce new code to do this transformation in
dagcombine, which can use UnsafeFPMath.
llvm-svn: 72872
|
| |
|
|
| |
llvm-svn: 72870
|
| |
|
|
| |
llvm-svn: 72867
|
| |
|
|
| |
llvm-svn: 72866
|
| |
|
|
|
|
|
|
|
| |
LLVM_ENABLE_ASSERTIONS. Fine-tuned the logic that controls the
definition of NDEBUG and _DEBUG macros.
Thanks to Jay Foad for this suggestions.
llvm-svn: 72864
|
| |
|
|
| |
llvm-svn: 72861
|
| |
|
|
| |
llvm-svn: 72858
|
| |
|
|
| |
llvm-svn: 72854
|
| |
|
|
|
|
| |
the code tried to use "push", which doesn't exist for XMM registers.)
llvm-svn: 72836
|
| |
|
|
| |
llvm-svn: 72830
|
| |
|
|
| |
llvm-svn: 72828
|
| |
|
|
|
|
| |
MachineInstrBuilder::addReg() interface.
llvm-svn: 72826
|
| |
|
|
| |
llvm-svn: 72825
|
| |
|
|
|
|
|
|
|
|
|
| |
assembler
Add lto_codegen_set_assembler_path() API which allows the linker to specify the
path to the assembler tool to run. When assembler is used (instead of compiler)
different command line options are used.
Add LTO_API_VERSION #define so clients (linkers) can conditionalize use of new APIs.
llvm-svn: 72823
|
| |
|
|
| |
llvm-svn: 72821
|
| |
|
|
| |
llvm-svn: 72817
|
| |
|
|
|
|
|
|
| |
executable using LTO
Move setRelocationModel() to be called before TargetMachine is instantiated.
llvm-svn: 72816
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- This matches llvm-ld.
It took a bit of archeology to figure out what the right thing to do was
(whether this was intentionally added or intentionally removed). My final
conclusion is that Chris added this intentionally here:
http://llvm.org/viewvc/llvm-project?view=rev&revision=16913
but the changes weren't propogated to llvm-ld until here:
http://llvm.org/viewvc/llvm-project?view=rev&revision=34058
which was after lto.cpp had been cloned off (of llvm-ld), here:
http://llvm.org/viewvc/llvm-project?view=rev&revision=29494
From the commit message, it looks like the motivation for running global opt
again is because we ran it prior to inlining. Based on that I updated the
comment and also only run the pass if we actually ran the inliner.
Chris, please review.
llvm-svn: 72811
|
| |
|
|
|
|
| |
DominatorTreeBase::Split.
llvm-svn: 72810
|
| |
|
|
| |
llvm-svn: 72808
|
| |
|
|
|
|
|
|
| |
is assembly since Darwin assembler does not really support -static codeine.
I view this as a temporary workaround until the assembler / linker changes.
llvm-svn: 72806
|
| |
|
|
|
|
|
| |
- I know it sounds crazy, but I think all the pass lists are now coalesced into
StandardPasses.h.
llvm-svn: 72805
|
| |
|
|
|
|
|
|
|
|
| |
carry GlobalBaseReg, and GlobalRetAddr too in Alpha's case. This
eliminates the need for them to search through the
MachineRegisterInfo livein list in order to identify these
virtual registers. EmitLiveInCopies is now the only user of the
virtual register portion of MachineRegisterInfo's livein data.
llvm-svn: 72802
|
| |
|
|
|
|
|
| |
with an accessor method which simply casts the parent class
SelectionDAGISel's TM to the target-specific type.
llvm-svn: 72801
|
| |
|
|
|
|
| |
be simplified to a loop-invariant value. This fixes PR4315.
llvm-svn: 72798
|
| |
|
|
|
|
| |
that puts a new warning in).
llvm-svn: 72797
|
| |
|
|
|
|
| |
- No functionality change, but please check if you don't believe me.
llvm-svn: 72789
|
| |
|
|
| |
llvm-svn: 72788
|
| |
|
|
|
|
|
| |
clang/llvm-gcc.
- Implemented as inline functions for linking simplicity.
llvm-svn: 72786
|
| |
|
|
| |
llvm-svn: 72785
|
| |
|
|
| |
llvm-svn: 72783
|
| |
|
|
| |
llvm-svn: 72782
|
| |
|
|
|
|
| |
after linking in several .bc files.
llvm-svn: 72781
|
| |
|
|
| |
llvm-svn: 72778
|
| |
|
|
|
|
|
| |
Expand it exactly like GlobalAddress.
Fix some more crashes (InsertBranch() not being implemented) for compiling hitec libs.
llvm-svn: 72776
|
| |
|
|
| |
llvm-svn: 72775
|
| |
|
|
| |
llvm-svn: 72774
|
| |
|
|
|
|
|
|
| |
projects.
Please correct the documentation if I missed anything.
llvm-svn: 72773
|
| |
|
|
|
|
| |
comparisons.
llvm-svn: 72771
|
| |
|
|
|
|
| |
this function" when using a not-too-smart compiler.
llvm-svn: 72768
|