- Apr 14, 2011
-
-
Rafael Espindola authored
size of the clang binary in Debug builds from 690MB to 679MB. llvm-svn: 129518
-
Michael J. Spencer authored
llvm-svn: 129517
-
Mon P Wang authored
llvm-svn: 129509
-
Andrew Trick authored
This is done by pushing physical register definitions close to their use, which happens to handle flag definitions if they're not glued to the branch. This seems to be generally a good thing though, so I didn't need to add a target hook yet. The primary motivation is to generate code closer to what people expect and rule out missed opportunity from enabling macro-op fusion. As a side benefit, we get several 2-5% gains on x86 benchmarks. There is one regression: SingleSource/Benchmarks/Shootout/lists slows down be -10%. But this is an independent scheduler bug that will be tracked separately. See rdar://problem/9283108. Incidentally, pre-RA scheduling is only half the solution. Fixing the later passes is tracked by: <rdar://problem/8932804> [pre-RA-sched] on x86, attempt to schedule CMP/TEST adjacent with condition jump Fixes: <rdar://problem/9262453> Scheduler unnecessary break of cmp/jump fusion llvm-svn: 129508
-
Chris Lattner authored
improvements, that will lead to fixing PR6627. llvm-svn: 129504
-
Chris Lattner authored
llvm-svn: 129503
-
Chris Lattner authored
instruction around, reducing work. Greatly simplify handling of debug instructions. There is no need to build up a vector of them and then move them into the one predecessor if we're processing a block. Instead just rescan the block and *copy* them into the pred. If a block gets merged into multiple preds, this will retain more debug info. llvm-svn: 129502
-
Chris Lattner authored
llvm-svn: 129501
-
Bill Wendling authored
(movzx/movsx) because they give more information. Revert that part of the patch. llvm-svn: 129498
-
Bill Wendling authored
cases, it's much nicer and more informative reading the alias. llvm-svn: 129497
-
Bill Wendling authored
the alias". llvm-svn: 129485
-
Owen Anderson authored
During post-legalization DAG combining, be careful to only create shifts where the RHS is of the legal type for the new operation. llvm-svn: 129484
-
- Apr 13, 2011
-
-
Johnny Chen authored
rdar://problem/9280370 llvm-svn: 129480
-
Mon P Wang authored
the same allocation size but different primitive sizes(e.g., <3xi32> and <4xi32>). When ScalarRepl promotes them, it can't use a bit cast but should use a shuffle vector instead. llvm-svn: 129472
-
Johnny Chen authored
Check for unallocated instruction encodings when disassembling Thumb Branch instructions (tBcc and t2Bcc). rdar://problem/9280470 llvm-svn: 129471
-
Johnny Chen authored
rdar://problem/9279440 llvm-svn: 129469
-
-
Cameron Zwarich authored
ignored. There was a test to catch this, but it was just blindly updated in a large change. This fixes another part of <rdar://problem/9275290>. llvm-svn: 129466
-
Devang Patel authored
llvm-svn: 129463
-
Johnny Chen authored
rdar://problem/9276651 llvm-svn: 129462
-
Devang Patel authored
Remove extra bytes that were added for gdb. We do not have good poiner to understand actual reason behind this fixme. Spot checking suggest that newer gdb does not need this. llvm-svn: 129461
-
Johnny Chen authored
rdar://problem/9276427 llvm-svn: 129456
-
-
Junjie Gu authored
llvm-svn: 129450
-
Junjie Gu authored
Passing unroll parameters (unroll-count, threshold, and partial unroll) via LoopUnroll class's ctor. Doing so will allow multiple context with different loop unroll parameters to run. This is a minor change and no effect on existing application. llvm-svn: 129449
-
Rafael Espindola authored
llvm-svn: 129447
-
Jim Grosbach authored
llvm-svn: 129445
-
Jay Foad authored
related tweaks to ExprMapKeyType. llvm-svn: 129443
-
Jakob Stoklund Olesen authored
llvm-svn: 129442
-
Jay Foad authored
llvm-svn: 129441
-
Jay Foad authored
llvm-svn: 129439
-
Jay Foad authored
llvm-svn: 129435
-
Cameron Zwarich authored
the max itself, so it is not easy to write a test case for this, but I added a test case that would fail if the code in AsmPrinter were removed. llvm-svn: 129432
-
Cameron Zwarich authored
llvm-svn: 129429
-
Cameron Zwarich authored
alignment for its type, use the minimum of the specified alignment and the ABI alignment. This fixes <rdar://problem/9275290>. llvm-svn: 129428
-
Andrew Trick authored
Additional fixes: Do something reasonable for subtargets with generic itineraries by handle node latency the same as for an empty itinerary. Now nodes default to unit latency unless an itinerary explicitly specifies a zero cycle stage or it is a TokenFactor chain. Original fixes: UnitsSharePred was a source of randomness in the scheduler: node priority depended on the queue data structure. I rewrote the recent VRegCycle heuristics to completely replace the old heuristic without any randomness. To make the ndoe latency adjustments work, I also needed to do something a little more reasonable with TokenFactor. I gave it zero latency to its consumers and always schedule it as low as possible. llvm-svn: 129421
-
Bill Wendling authored
llvm-svn: 129419
-
Eric Christopher authored
llvm-svn: 129417
-
Rafael Espindola authored
Implement the ones that were missing in the asm streamer. llvm-svn: 129413
-
Johnny Chen authored
rdar://problem/9273947 llvm-svn: 129411
-