- Feb 20, 2013
-
-
Cameron Zwarich authored
common transformations. This includes updating repairIntervalsInRange() to handle more cases. llvm-svn: 175604
-
Cameron Zwarich authored
correct value is needed in every iteration of the loop for updating LiveIntervals. llvm-svn: 175603
-
Cameron Zwarich authored
and removing instructions. The implementation seems more complicated than it needs to be, but I couldn't find something simpler that dealt with all of the corner cases. Also add a call to repairIndexesInRange() from repairIntervalsInRange(). llvm-svn: 175601
-
Cameron Zwarich authored
after the two-address pass. The remaining problems in 'make check' are occurring later. llvm-svn: 175598
-
Cameron Zwarich authored
llvm-svn: 175597
-
Cameron Zwarich authored
llvm-svn: 175596
-
Jakub Staszak authored
llvm-svn: 175581
-
- Feb 19, 2013
-
-
Jakob Stoklund Olesen authored
Target implementations of getRegAllocationHints() should use the provided allocation order, and they can never return hints outside the order. This is already documented in TargetRegisterInfo.h. <rdar://problem/13240556> llvm-svn: 175540
-
Benjamin Kramer authored
Due to the execution order of doFinalization functions, the GC information were deleted before AsmPrinter::doFinalization was executed. Thus, the GCMetadataPrinter::finishAssembly was never called. The patch fixes that by moving the code of the GCInfoDeleter::doFinalization to Printer::doFinalization. llvm-svn: 175528
-
Craig Topper authored
llvm-svn: 175490
-
Craig Topper authored
llvm-svn: 175488
-
Craig Topper authored
llvm-svn: 175487
-
Craig Topper authored
llvm-svn: 175485
-
Craig Topper authored
llvm-svn: 175484
-
- Feb 18, 2013
-
-
Benjamin Kramer authored
llvm-svn: 175457
-
Chad Rosier authored
llvm-svn: 175456
-
NAKAMURA Takumi authored
[ms-inline asm] Fix undefined behavior to reset hasMSInlineAsm in advance of SelectAllBasicBlocks(). llvm-svn: 175422
-
- Feb 17, 2013
-
-
Cameron Zwarich authored
arguably better than forward iterators for this use case, they are confusing and there are some implementation problems with reverse iterators and MI bundles. llvm-svn: 175393
-
Cameron Zwarich authored
llvm-svn: 175385
-
Cameron Zwarich authored
MachineBasicBlock::SplitCriticalEdge. Since this is an iterator rather than an instr_iterator, the isBundled() check only passes if getFirstTerminator() returned end() and the garbage memory happens to lean that way. Multiple successors can be present without any terminator instructions in the case of exception handling with a fallthrough. llvm-svn: 175383
-
Cameron Zwarich authored
terminators that actually have register uses when splitting critical edges. This commit also introduces a method repairIntervalsInRange() on LiveIntervals, which allows for repairing LiveIntervals in a small range after an arbitrary target hook modifies, inserts, and removes instructions. It's pretty limited right now, but I hope to extend it to support all of the things that are done by the convertToThreeAddress() target hooks. llvm-svn: 175382
-
- Feb 16, 2013
-
-
Benjamin Kramer authored
This avoids unnecessary copies. No functionality change. llvm-svn: 175367
-
Benjamin Kramer authored
No functionality change. llvm-svn: 175366
-
Jakub Staszak authored
llvm-svn: 175365
-
Jakub Staszak authored
updateScheduledPressure method. llvm-svn: 175362
-
Chad Rosier authored
If the frame pointer is omitted, and any stack changes occur in the inline assembly, e.g.: "pusha", then any C local variable or C argument references will be incorrect. I pass no judgement on anyone who would do such a thing. ;) rdar://13218191 llvm-svn: 175334
-
- Feb 15, 2013
-
-
Bill Wendling authored
If two functions require different features (e.g., `-mno-sse' vs. `-msse') then we want to honor that, especially during LTO. We can do that by resetting the subtarget's features depending upon the 'target-feature' attribute. llvm-svn: 175314
-
Paul Redmond authored
- add sincos to runtime library if target triple environment is GNU - added canCombineSinCosLibcall() which checks that sincos is in the RTL and if the environment is GNU then unsafe fpmath is enabled (required to preserve errno) - extended sincos-opt lit test Reviewed by: Hal Finkel llvm-svn: 175283
-
Benjamin Kramer authored
llvm-svn: 175264
-
- Feb 14, 2013
-
-
Nadav Rotem authored
llvm-svn: 175190
-
Owen Anderson authored
Add some legality checks for SETCC before introducing it in the DAG combiner post-operand legalization. llvm-svn: 175149
-
Cameron Zwarich authored
register class to match the defining instruction. llvm-svn: 175130
-
Cameron Zwarich authored
CoalescerPairs. Also, make it take a CoalescerPair directly like other methods of RegisterCoalescer. llvm-svn: 175123
-
Cameron Zwarich authored
of the copy is a subregister def. The current code assumes that it can do a full def of the destination register, but it is not checking that the def operand is read-undef. It also doesn't clear the subregister index of the destination in the new instruction to reflect the full subregister def. These issues were found running 'make check' with my next commit that enables rematerialization in more cases. llvm-svn: 175122
-
- Feb 13, 2013
-
-
Manman Ren authored
Remove dead functions: renameRegister Move private member variables from LDV to Impl Remove ssp/uwtable from testing case llvm-svn: 175072
-
Andrew Trick authored
llvm-svn: 175067
-
Eric Christopher authored
llvm-svn: 175024
-
Manman Ren authored
RegisterCoalescer used to depend on LiveDebugVariable. LDV removes DBG_VALUEs without emitting them at the end. We fix this by removing LDV from RegisterCoalescer. Also add an assertion to make sure we call emitDebugValues if DBG_VALUEs are removed at runOnMachineFunction. rdar://problem/13183203 Reviewed by Andy & Jakob llvm-svn: 175023
-
- Feb 12, 2013
-
-
Guy Benyei authored
Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration. llvm-svn: 175006
-
Krzysztof Parzyszek authored
option "generate-dwarf-pubnames" to control it, set to "false" by default. llvm-svn: 174981
-