- Jun 04, 2009
-
-
Dan Gohman authored
llvm-svn: 72828
-
Evan Cheng authored
Re-apply 72756 with fixes. One of those was introduced by we changed MachineInstrBuilder::addReg() interface. llvm-svn: 72826
-
Lang Hames authored
llvm-svn: 72825
-
rdar://problem/6940611Nick Kledzik authored
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
-
Bruno Cardoso Lopes authored
llvm-svn: 72821
-
Stuart Hastings authored
llvm-svn: 72817
-
rdar://problem/6941517Nick Kledzik authored
Move setRelocationModel() to be called before TargetMachine is instantiated. llvm-svn: 72816
-
- Jun 03, 2009
-
-
Daniel Dunbar authored
- 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
-
Eli Friedman authored
DominatorTreeBase::Split. llvm-svn: 72810
-
Stuart Hastings authored
llvm-svn: 72808
-
Evan Cheng authored
For Darwin / x86_64, override -relocation-model=static to pic if the output 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
-
Daniel Dunbar authored
- I know it sounds crazy, but I think all the pass lists are now coalesced into StandardPasses.h. llvm-svn: 72805
-
Dan Gohman authored
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
-
Dan Gohman authored
with an accessor method which simply casts the parent class SelectionDAGISel's TM to the target-specific type. llvm-svn: 72801
-
Dan Gohman authored
be simplified to a loop-invariant value. This fixes PR4315. llvm-svn: 72798
-
Mike Stump authored
that puts a new warning in). llvm-svn: 72797
-
Daniel Dunbar authored
- No functionality change, but please check if you don't believe me. llvm-svn: 72789
-
Daniel Dunbar authored
llvm-svn: 72788
-
Daniel Dunbar authored
clang/llvm-gcc. - Implemented as inline functions for linking simplicity. llvm-svn: 72786
-
Bruno Cardoso Lopes authored
llvm-svn: 72785
-
Bruno Cardoso Lopes authored
llvm-svn: 72783
-
Dan Gohman authored
llvm-svn: 72782
-
Sanjiv Gupta authored
Emit file directives correctly in case of a .bc is generated by llvm-ld after linking in several .bc files. llvm-svn: 72781
-
Torok Edwin authored
llvm-svn: 72778
-
Sanjiv Gupta authored
Expand it exactly like GlobalAddress. Fix some more crashes (InsertBranch() not being implemented) for compiling hitec libs. llvm-svn: 72776
-
Oscar Fuentes authored
llvm-svn: 72775
-
Oscar Fuentes authored
llvm-svn: 72774
-
Torok Edwin authored
Please correct the documentation if I missed anything. llvm-svn: 72773
-
Sanjiv Gupta authored
llvm-svn: 72771
-
Duncan Sands authored
this function" when using a not-too-smart compiler. llvm-svn: 72768
-
Duncan Sands authored
llvm-svn: 72767
-
Jay Foad authored
llvm-svn: 72762
-
Evan Cheng authored
Fix for PR4225: When rewriter reuse a value in a physical register , it clear the register kill operand marker and its kill ops information. However, the cleared operand may be a def of a super-register. Clear the kill ops info for the super-register's sub-registers as well. llvm-svn: 72758
-
Evan Cheng authored
llvm-svn: 72757
-
Evan Cheng authored
llvm-svn: 72756
-
Evan Cheng authored
If there is a def of a super-register followed by a use of a sub-register, do *not* add an implicit def of the sub-register. e.g. EAX = ..., AX<imp-def> ... = AX This creates a double-def. Apparently this used to be necessary but is no longer needed. Thanks to Anton for pointing this out. Anton, I cannot create a test case without your uncommitted ARM patches. Please check in a test case for me. llvm-svn: 72755
-
Bruno Cardoso Lopes authored
one new .cpp file, in preparation for merging in the Direct Object Emission changes we're working on. No functional changes. Fixed coding style issues on the original patch. Patch by Aaron Gray llvm-svn: 72754
-
Dan Gohman authored
relocation model on x86-64. Higher level logic should override the relocation model to PIC on x86_64-apple-darwin. llvm-svn: 72746
-
Dan Gohman authored
pointer, now that ConstantFoldConstantExpression can accept a null TargetData pointer. llvm-svn: 72744
-
- Jun 02, 2009
-
-
Dan Gohman authored
TargetData pointer. The only thing it's used for are calls to ConstantFoldCompareInstOperands and ConstantFoldInstOperands, which both already accept a null TargetData pointer. This makes ConstantFoldConstantExpression easier to use in clients where TargetData is optional. llvm-svn: 72741
-