- May 18, 2012
-
-
Eric Christopher authored
llvm-svn: 157060
-
Jakob Stoklund Olesen authored
It is no longer necessary to separate VirtCopies, PhysCopies, and ImpDefCopies. Implicitly defined copies are extremely rare after we added the ProcessImplicitDefs pass, and physical register copies are not joined any longer. llvm-svn: 157059
-
Nuno Lopes authored
llvm-svn: 157058
-
Eric Christopher authored
Patch by Jack Carter. llvm-svn: 157057
-
Jakob Stoklund Olesen authored
This has been disabled for a while, and it is not a feature we want to support. Copies between physical and virtual registers are eliminated by good hinting support in the register allocator. Joining virtual and physical registers is really a form of register allocation, and the coalescer is not properly equipped to do that. In particular, it cannot backtrack coalescing decisions, and sometimes that would cause it to create programs that were impossible to register allocate, by exhausting a small register class. It was also very difficult to keep track of the live ranges of aliasing registers when extending the live range of a physreg. By disabling physreg joining, we can let fixed physreg live ranges remain constant throughout the register allocator super-pass. One type of physreg joining remains: A virtual register that has a single value which is a copy of a reserved register can be merged into the reserved physreg. This always lowers register pressure, and since we don't compute live ranges for reserved registers, there are no problems with aliases. llvm-svn: 157055
-
Joel Jones authored
llvm-svn: 157051
-
Stepan Dyatkovskiy authored
SelectionDAGBuilder::Clusterify : main functinality was replaced with CRSBuilder::optimize, so big part of Clusterify's code was reduced. llvm-svn: 157046
-
Craig Topper authored
llvm-svn: 157044
-
Craig Topper authored
llvm-svn: 157043
-
Evan Cheng authored
non-profitable commute using outdated info. The test case would still fail because of poor pre-RA schedule. That will be fixed by MI scheduler. rdar://11472010 llvm-svn: 157038
-
Danil Malyshev authored
Temporarily disabled the MCJIT tests for Darwin, because the RuntimeDyldMachO has a problems with relocations for 32bit x86. llvm-svn: 157035
-
Eric Christopher authored
llvm-svn: 157033
-
Nuno Lopes authored
this fixes the missed optimization I was seeing in the CorrelatedValuePropagation pass llvm-svn: 157032
-
Kevin Enderby authored
containing no symbols. Fixed the crash and fixed it not disassembling anything. llvm-svn: 157031
-
Jakob Stoklund Olesen authored
This is the same as the other tests: Clever tricks are required to make the arguments and return value line up in a single-instruction function. It rarely happens in real life. We have plenty other examples of this behavior. llvm-svn: 157030
-
Jakob Stoklund Olesen authored
This option has been disabled for a while, and it is going away so I can clean up the coalescer code. The tests that required physreg joining to be enabled were almost all of the form "tiny function with interference between arguments and return value". Such functions are usually inlined in the real world. The problem exposed by phys_subreg_coalesce-3.ll is real, but fairly rare. llvm-svn: 157027
-
Nuno Lopes authored
llvm-svn: 157024
-
Andrew Trick authored
llvm-svn: 157020
-
Kevin Enderby authored
the 0b10 mask encoding bits. Make MSR APSR writes without a _<bits> qualifier an alias for MSR APSR_nzcvq even though ARM as deprecated it use. Also add support for suffixes (_nzcvq, _g, _nzcvqg) for APSR versions. Some FIXMEs in the code for better error checking when versions shouldn't be used. rdar://11457025 llvm-svn: 157019
-
- May 17, 2012
-
-
Danil Malyshev authored
- Added HOST_ARCH to Makefile.config.in The HOST_ARCH will be used by MCJIT tests filter, because MCJIT supported only x86 and ARM architectures now. llvm-svn: 157015
-
Bill Wendling authored
llvm-svn: 157011
-
Andrew Trick authored
llvm-svn: 157007
-
Andrew Trick authored
Introduce the basic strategy for register pressure scheduling. 1) Respect target limits at all times. 2) Indentify critical register classes (pressure sets). Track pressure within the scheduled region. Avoid increasing scheduled pressure for critical registers. 3) Avoid exceeding the max pressure of the region prior to scheduling. Added logic for picking between the top and bottom ready Q's based on regpressure heuristics. Status: functional but needs to be asjusted to achieve good results. llvm-svn: 157006
-
Andrew Trick authored
llvm-svn: 157005
-
Andrew Trick authored
llvm-svn: 157004
-
Andrew Trick authored
llvm-svn: 157003
-
Andrew Trick authored
llvm-svn: 157002
-
Jakob Stoklund Olesen authored
RegisterCoalescer set <undef> flags on all operands of copy instructions that are scheduled to be removed. This is so they won't affect shrinkToUses() by introducing false register reads. Make sure those <undef> flags are never cleared, or shrinkToUses() could cause live intervals to end at instructions about to be deleted. This would be a lot simpler if RegisterCoalescer could just erase joined copies immediately instead of keeping all the to-be-deleted instructions around. This fixes PR12862. Unfortunately, bugpoint can't create a sane test case for this. Like many other coalescer problems, this failure depends of a very fragile series of events. <rdar://problem/11474428> llvm-svn: 157001
-
Jakob Stoklund Olesen authored
Make sure useless (def-only) intervals also get verified. llvm-svn: 157000
-
Bill Wendling authored
bugpoint-ing, it may turn into something else. llvm-svn: 156998
-
Evandro Menezes authored
llvm-svn: 156996
-
Chris Lattner authored
separate side table, using the handy SequenceToOffsetTable class. This encodes all these weird things into another 256 bytes, allowing all intrinsics to be encoded this way. llvm-svn: 156995
-
Tim Northover authored
Patch by Meador Inge. llvm-svn: 156989
-
Manuel Klimek authored
llvm-svn: 156986
-
Stepan Dyatkovskiy authored
SelectionDAGBuilder: CaseBlock, CaseRanges and CaseCmp changed representation of Low and High from signed to unsigned. Since unsigned ints usually simpler, faster and allows to reduce some extra signed bit checks needed before <,>,<=,>= comparisons. llvm-svn: 156985
-
Chris Lattner authored
for future expansion, no functionality change yet though. llvm-svn: 156979
-
Chris Lattner authored
are only rejected because they can't be encoded into a 32-bit unit, not because they contain an unencodable feature. llvm-svn: 156978
-
Chris Lattner authored
intrinsics that use passed-in arguments. llvm-svn: 156977
-
Chris Lattner authored
compatibility with LLVM 2.x bitcode files. llvm-svn: 156976
-
Francois Pichet authored
llvm-svn: 156975
-