- Jun 24, 2010
-
-
Jakob Stoklund Olesen authored
vector instead. This avoids needless copying and allocation. Add documentation. llvm-svn: 106788
-
Bruno Cardoso Lopes authored
- Fix a small VEX encoding issue. - Move compare instructions to their appropriate place. llvm-svn: 106787
-
Jakob Stoklund Olesen authored
This method was always a bit too simplistic for the real world. It didn't really deal with subregisters and such. llvm-svn: 106781
-
Jakob Stoklund Olesen authored
llvm-svn: 106780
-
Dale Johannesen authored
address requires a register or secondary load to compute (most PIC modes). This improves "g" constraint handling. 8015842. The test from 2007 is attempting to test the fix for PR1761, but since -relocation-model=static doesn't work on Darwin x86-64, it was not testing what it was supposed to be testing and was passing erroneously. Fixed to use Linux x86-64. llvm-svn: 106779
-
Eric Christopher authored
llvm-svn: 106778
-
Jakob Stoklund Olesen authored
This code path has never really been used, and we are going to be handling spilling through the Spiller interface in the future. llvm-svn: 106777
-
Dan Gohman authored
llvm-svn: 106776
-
Evan Cheng authored
llvm-svn: 106775
-
Bill Wendling authored
which don't have a catch-all associated with them not just clean-ups. This fixes the SingleSource/Benchmarks/Shootout-C++/except.cpp testcase that broke because of my change r105902. llvm-svn: 106772
-
Eli Friedman authored
llvm-svn: 106770
-
Jakob Stoklund Olesen authored
CoalescerPair can determine if a copy can be coalesced, and which register gets merged away. The old logic in SimpleRegisterCoalescing had evolved into something a bit too convoluted. This second attempt fixes some crashes that only occurred Linux. llvm-svn: 106769
-
Dan Gohman authored
llvm-svn: 106768
-
Jakob Stoklund Olesen authored
[L]oad, [u]se, [d]ef, or [S]tore slots. This makes it easier to see if two indices refer to the same instruction, avoiding mental mod 4 calculations. llvm-svn: 106766
-
Dan Gohman authored
which trivially fold away. llvm-svn: 106765
-
Dan Gohman authored
llvm-svn: 106764
-
Dan Gohman authored
enough special case, and it theoretically allows more folding because it works even when x is unanalyzable. llvm-svn: 106763
-
Bob Wilson authored
form so they can be narrowed to 16-bit instructions. llvm-svn: 106762
-
Bob Wilson authored
None of the existing implementations of commuteInstruction create new instructions unless the NewMI parameter is true, but the comment had implied otherwise. findCommutedOpIndices returns false, not true, when it doesn't know how to commute the instruction. llvm-svn: 106761
-
Dan Gohman authored
was over-complicated. llvm-svn: 106760
-
Dan Gohman authored
llvm-svn: 106759
-
Dan Gohman authored
handling of pointer types. llvm-svn: 106757
-
Dan Gohman authored
llvm-svn: 106756
-
Dan Gohman authored
instead of a StringRef, avoiding the need to copy the string in the common case. llvm-svn: 106754
-
Jakob Stoklund Olesen authored
Also keep track of the original DstREg before subregister adjustments. llvm-svn: 106753
-
Gabor Greif authored
llvm-svn: 106752
-
Jakob Stoklund Olesen authored
In this case it is essential that the kill is real because the spiller will decide to omit a spill if it thinks there is a later kill. llvm-svn: 106751
-
Gabor Greif authored
llvm-svn: 106750
-
Dan Gohman authored
as many tests as possible. llvm-svn: 106749
-
Dan Gohman authored
when the condition is constant. This optimization shouldn't be necessary, because codegen shouldn't be able to find dead control paths that the IR-level optimizer can't find. And it's undesirable, because it encourages bugpoint to leave "br i1 false" branches in its output. And it wasn't updating the CFG. I updated all the tests I could, but some tests are too reduced and I wasn't able to meaningfully preserve them. llvm-svn: 106748
-
Gabor Greif authored
llvm-svn: 106747
-
Dan Gohman authored
llvm-svn: 106746
-
Gabor Greif authored
llvm-svn: 106745
-
Gabor Greif authored
llvm-svn: 106744
-
Gabor Greif authored
llvm-svn: 106743
-
Gabor Greif authored
llvm-svn: 106740
-
Gabor Greif authored
llvm-svn: 106737
-
Gabor Greif authored
llvm-svn: 106736
-
Gabor Greif authored
llvm-svn: 106734
-
Gabor Greif authored
llvm-svn: 106731
-