- Jul 26, 2008
-
-
Owen Anderson authored
llvm-svn: 54072
-
Owen Anderson authored
Special cases are needed in renumbering when dealing with renumbering after a PHI has been removed. The interval previously defined by the PHI needs to be extended to the beginning of its basic block, and the intervals that were inputs need to be trimmed to the end of their basic blocks. llvm-svn: 54070
-
- Jul 25, 2008
-
-
Owen Anderson authored
to the handled set so it will get filtered out in future iterations. llvm-svn: 54065
-
Owen Anderson authored
llvm-svn: 54062
-
Owen Anderson authored
llvm-svn: 54061
-
Owen Anderson authored
This is tricky business, and will probably take a few more iterations to get the last kinks out of it. llvm-svn: 54043
-
Dan Gohman authored
regressions, such as PR2595. Also, there is a significant code-quality issue in SPEC 464.h264ref and a few others. llvm-svn: 54014
-
Mon P Wang authored
llvm-svn: 54007
-
Dan Gohman authored
dependencies with constant load nodes. This allows them to be scheduled freely. llvm-svn: 54001
-
Dan Gohman authored
and knowledge of PseudoSourceValues. This unfortunately isn't sufficient to allow constants to be rematerialized in PIC mode -- the extra indirection is a complication. llvm-svn: 54000
-
- Jul 24, 2008
-
-
Owen Anderson authored
Store the predecessor MBB in the PHIUnion, rather than an index, since the indices will change after renumbering. llvm-svn: 53985
-
- Jul 23, 2008
-
-
Owen Anderson authored
llvm-svn: 53961
-
Owen Anderson authored
to multiply the instruction count by a constant factor in a few places, which caused the register allocator to require many more iterations. llvm-svn: 53959
-
Dan Gohman authored
Remove the GetResultInst instruction. It is still accepted in LLVM assembly and bitcode, where it is now auto-upgraded to ExtractValueInst. Also, remove support for return instructions with multiple values. These are auto-upgraded to use InsertValueInst instructions. The IRBuilder still accepts multiple-value returns, and auto-upgrades them to InsertValueInst instructions. llvm-svn: 53941
-
Duncan Sands authored
llvm-svn: 53938
-
Owen Anderson authored
live intervals itself to use an instruction count approximation that is not affected by inserting empty indices. llvm-svn: 53937
-
- Jul 22, 2008
-
-
Evan Cheng authored
Fix pr2566: incorrect assumption about bit_convert. It doesn't not have to output a vector value. Patch by Nicolas Capens! llvm-svn: 53932
-
Dan Gohman authored
and use the right result number, in the off chance that the graph root has multiple result values. llvm-svn: 53923
-
Bill Wendling authored
llvm-svn: 53896
-
Bill Wendling authored
llvm-svn: 53889
-
Dan Gohman authored
llvm-svn: 53884
-
- Jul 21, 2008
-
-
Dan Gohman authored
SelectionDAG graph writer to make use of them. Now, nodes with multiple values are displayed as such, with incoming edges pointing to the specific value they use. llvm-svn: 53875
-
Dan Gohman authored
llvm-svn: 53874
-
Dan Gohman authored
that include useful information like the name of the block being viewed and the current phase of compilation. llvm-svn: 53872
-
Dan Gohman authored
llvm-svn: 53870
-
Dan Gohman authored
in the MachineInstr clone code. llvm-svn: 53868
-
Duncan Sands authored
generic SDNode's (nodes with their own constructors should do sanity checking in the constructor). Add sanity checks for BUILD_VECTOR and fix all the places that were producing bogus BUILD_VECTORs, as found by "make check". My favorite is the BUILD_VECTOR with only two operands that was being used to build a vector with four elements! llvm-svn: 53850
-
- Jul 20, 2008
-
-
Bill Wendling authored
If .loc and .file aren't used, always emit the "debug_line" section. This requires at least one entry in the line matrix. So if there's nothing to emit into the matrix, emit an end of matrix value anyway. llvm-svn: 53803
-
- Jul 19, 2008
-
-
Evan Cheng authored
llvm-svn: 53779
-
- Jul 18, 2008
-
-
Duncan Sands authored
Richard Pennington. llvm-svn: 53773
-
Duncan Sands authored
llvm-svn: 53772
-
Duncan Sands authored
the night realising that it was wrong :) I think the reason the same type was being used for the shufflevec of indices as for the actual indices is so that if one of them needs splitting then so does the other. After my patch it might be that the indices need splitting but not the rest, yet there is no good way of handling that. I think the right solution is to not have the shufflevec be an operand at all: just have it be the list of numbers it actually is, stored as extra info in the node. llvm-svn: 53768
-
Dan Gohman authored
llvm-svn: 53766
-
Dan Gohman authored
Fix a leak that this turned up in LowerSubregs.cpp. And, comment a leak in LiveIntervalAnalysis.cpp. llvm-svn: 53746
-
- Jul 17, 2008
-
-
Dan Gohman authored
PseudoSourceValue values, which never have names. Use getName() for all other values, because we want to print just a short summary of the value, not the entire instruction. llvm-svn: 53738
-
Evan Cheng authored
llvm-svn: 53734
-
Duncan Sands authored
mask. These are just indices into the shuffled vector so their type is unrelated to the type of the shuffled elements (which is what was being used before). This fixes vec_shuffle-11.ll when using LegalizeTypes. What seems to have happened is that Dan's recent change r53687, which corrected the result type of the shuffle, somehow caused LegalizeTypes to notice that the mask operand was a BUILD_VECTOR with a legal type but elements of an illegal type (i64). LegalizeTypes legalized this by introducing a new BUILD_VECTOR of i32 and bitcasting it to the old type. But the mask operand is not supposed to be a bitcast but a straight BUILD_VECTOR of constants, causing a crash. llvm-svn: 53729
-
Dan Gohman authored
replacement of multiple values. This is slightly more efficient than doing multiple ReplaceAllUsesOfValueWith calls, and theoretically could be optimized even further. However, an important property of this new function is that it handles the case where the source value set and destination value set overlap. This makes it feasible for isel to use SelectNodeTo in many very common cases, which is advantageous because SelectNodeTo avoids a temporary node and it doesn't require CSEMap updates for users of values that don't change position. Revamp MorphNodeTo, which is what does all the work of SelectNodeTo, to handle operand lists more efficiently, and to correctly handle a number of corner cases to which its new wider use exposes it. This commit also includes a change to the encoding of post-isel opcodes in SDNodes; now instead of being sandwiched between the target-independent pre-isel opcodes and the target-dependent pre-isel opcodes, post-isel opcodes are now represented as negative values. This makes it possible to test if an opcode is pre-isel or post-isel without having to know the size of the current target's post-isel instruction set. These changes speed up llc overall by 3% and reduce memory usage by 10% on the InstructionCombining.cpp testcase with -fast and -regalloc=local. llvm-svn: 53728
-
Duncan Sands authored
only missing ppc long double operations: FNEG and FP_EXTEND. llvm-svn: 53723
-
Duncan Sands authored
it is breaking Darwin bootstrap due to missing functionality. llvm-svn: 53721
-