"git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "e16adc2b1eb93d17adec3ba280263a3117294f35"
- May 14, 2009
-
-
Bob Wilson authored
Dan was trying to catch the case where a basic block ends with a conditional branch to the fall-through block. In this case, all the instructions have been moved out of FromBBI, leaving it empty. It cannot end with a conditional branch. As the existing comment indicates, it will always fall through to the next block. If the block already had the next block (NBB) listed as a successor, the preceding loop has a check for that and does not remove it. Thus, we need to check and add the successor only when it is not already listed. With Dan's change, the empty block often ends up with the fall-through successor listed twice. This exposed the problem in pr4195, where CodePlacementOpt did not handle the same predecessor listed more than once. It is also at least partially responsible for pr4202 and probably a similar issue with Thumb branches being out of range. llvm-svn: 71742
-
Bob Wilson authored
llvm-svn: 71741
-
Bob Wilson authored
llvm-svn: 71740
-
Bob Wilson authored
field name. No functional changes. llvm-svn: 71739
-
- May 05, 2009
-
-
Dan Gohman authored
allow it to have multiple CFG edges to that block. This is needed to allow MachineBasicBlock::isOnlyReachableByFallthrough to work correctly. This fixes PR4126. llvm-svn: 71018
-
- Nov 04, 2008
-
-
Duncan Sands authored
llvm-svn: 58709
-
Nuno Lopes authored
llvm-svn: 58690
-
- Oct 21, 2008
-
-
Dan Gohman authored
Where previously LLVM might emit code like this: ucomisd %xmm1, %xmm0 setne %al setp %cl orb %al, %cl jne .LBB4_2 it now emits this: ucomisd %xmm1, %xmm0 jne .LBB4_2 jp .LBB4_2 It has fewer instructions and uses fewer registers, but it does have more branches. And in the case that this code is followed by a non-fallthrough edge, it may be followed by a jmp instruction, resulting in three branch instructions in sequence. Some effort is made to avoid this situation. To achieve this, X86ISelLowering.cpp now recognizes FCMP_OEQ and FCMP_UNE in lowered form, and replace them with code that emits two branches, except in the case where it would require converting a fall-through edge to an explicit branch. Also, X86InstrInfo.cpp's branch analysis and transform code now knows now to handle blocks with multiple conditional branches. It uses loops instead of having fixed checks for up to two instructions. It can now analyze and transform code generated from FCMP_OEQ and FCMP_UNE. llvm-svn: 57873
-
- Sep 04, 2008
-
-
Dan Gohman authored
llvm-svn: 55779
-
- Aug 22, 2008
-
-
Dan Gohman authored
handled correctly, and change a few SmallVector uses to use size 0 to more clearly reflect their intent. llvm-svn: 55181
-
- Aug 15, 2008
-
-
Owen Anderson authored
Convert uses of std::vector in TargetInstrInfo to SmallVector. This change had to be propoagated down into all the targets and up into all clients of this API. llvm-svn: 54802
-
- Jul 08, 2008
-
-
Dan Gohman authored
MachineMemOperands. The pools are owned by MachineFunctions. This drastically reduces the number of calls to malloc/free made during the "Emit" phase of scheduling, as well as later phases in CodeGen. Combined with other changes, this speeds up the "instruction selection" phase of CodeGen by 10% in some cases. llvm-svn: 53212
-
- Jun 04, 2008
-
-
Evan Cheng authored
llvm-svn: 51931
-
- Feb 28, 2008
-
-
Evan Cheng authored
llvm-svn: 47703
-
- Feb 20, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 47368
-
- Jan 29, 2008
-
-
Dan Gohman authored
llvm-svn: 46514
-
- Jan 07, 2008
-
-
Chris Lattner authored
Make MachineInstr::getDesc return a reference instead of a pointer, since it can never be null. llvm-svn: 45695
-
Chris Lattner authored
llvm-svn: 45689
-
Chris Lattner authored
that it is cheap and efficient to get. Move a variety of predicates from TargetInstrInfo into TargetInstrDescriptor, which makes it much easier to query a predicate when you don't have TII around. Now you can use MI->getDesc()->isBranch() instead of going through TII, and this is much more efficient anyway. Not all of the predicates have been moved over yet. Update old code that used MI->getInstrDescriptor()->Flags to use the new predicates in many places. llvm-svn: 45674
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
- Jul 10, 2007
-
-
Evan Cheng authored
llvm-svn: 38495
-
- Jul 07, 2007
-
-
Evan Cheng authored
llvm-svn: 37964
-
- Jun 19, 2007
-
-
Evan Cheng authored
Avoid if-converting simple block that ends with unconditional branch or fallthrough unless it branches / falls to the 'false' block. Not profitable, may end up increasing code size. llvm-svn: 37660
-
Evan Cheng authored
llvm-svn: 37643
-
Evan Cheng authored
llvm-svn: 37634
-
- Jun 18, 2007
-
-
Evan Cheng authored
llvm-svn: 37623
-
- Jun 16, 2007
-
-
Evan Cheng authored
1. Consider all possible ifcvt cases at once. No longer restricted to bottom up iterative approach. 2. Sort all possible cases based on a cost function. Perform the most profitable ones first invalidate others that target the same blocks. 3. Fixed a number of bugs related to block duplication. llvm-svn: 37613
-
- Jun 15, 2007
-
-
Evan Cheng authored
llvm-svn: 37607
-
Evan Cheng authored
llvm-svn: 37599
-
Evan Cheng authored
llvm-svn: 37593
-
Evan Cheng authored
llvm-svn: 37590
-
Evan Cheng authored
llvm-svn: 37581
-
Evan Cheng authored
If BB is predicated, invalidate its predecessor(s) which would if-convert it. It needs to be re-analyzed. llvm-svn: 37580
-
- Jun 14, 2007
-
-
Evan Cheng authored
llvm-svn: 37577
-
Evan Cheng authored
llvm-svn: 37575
-
- Jun 13, 2007
-
-
Evan Cheng authored
llvm-svn: 37566
-
Evan Cheng authored
llvm-svn: 37565
-
- Jun 12, 2007
-
-
Evan Cheng authored
llvm-svn: 37543
-
- Jun 10, 2007
-
-
Reid Spencer authored
llvm-svn: 37537
-
- Jun 09, 2007
-
-
Evan Cheng authored
llvm-svn: 37531
-