- Sep 25, 2009
-
-
Mike Stump authored
delete a few blank lines. llvm-svn: 82729
-
Mike Stump authored
llvm-svn: 82727
-
- Sep 24, 2009
-
-
Chris Lattner authored
; CHECK: movl {{%e[a-z][xi]}}, %eax or whatever. llvm-svn: 82717
-
Chris Lattner authored
llvm-svn: 82716
-
Chris Lattner authored
llvm-svn: 82715
-
David Goodwin authored
llvm-svn: 82709
-
Chris Lattner authored
llvm-svn: 82707
-
Torok Edwin authored
llvm-svn: 82700
-
Victor Hernandez authored
Reviewed by Devang Patel. llvm-svn: 82694
-
Bob Wilson authored
LocalAreaOffset. (We don't have any of those right now.) PEI::calculateFrameObjectOffsets includes the absolute value of the LocalAreaOffset in the cumulative offset value used to calculate the stack frame size. It then adds the raw value of the LocalAreaOffset to the stack size. For a StackGrowsDown target, that raw value is negative and has the effect of cancelling out the absolute value that was added earlier, but that obviously won't work for a StackGrowsUp target. Change to subtract the absolute value of the LocalAreaOffset. llvm-svn: 82693
-
Devang Patel authored
llvm-svn: 82692
-
Torok Edwin authored
rather structs passed by value. This fixes PR5038. llvm-svn: 82689
-
Chris Lattner authored
unconditionally compute MMI even if the target doesn't support EH or Debug info, because the target may use it for other things, this fixes PR5036 llvm-svn: 82684
-
Chris Lattner authored
llvm-svn: 82683
-
Evan Cheng authored
LiveVariables add implicit kills to correctly track partial register kills. This works well enough and is fairly accurate. But coalescer can make it impossible to maintain these markers. e.g. BL <ga:sss1>, %R0<kill,undef>, %S0<kill>, %R0<imp-def>, %R1<imp-def,dead>, %R2<imp-def,dead>, %R3<imp-def,dead>, %R12<imp-def,dead>, %LR<imp-def,dead>, %D0<imp-def>, ... ... %reg1031<def> = FLDS <cp#1>, 0, 14, %reg0, Mem:LD4[ConstantPool] ... %S0<def> = FCPYS %reg1031<kill>, 14, %reg0, %D0<imp-use,kill> When reg1031 and S0 are coalesced, the copy (FCPYS) will be eliminated the the implicit-kill of D0 is lost. In this case it's possible to move the marker to the FLDS. But in many cases, this is not possible. Suppose %reg1031<def> = FOO <cp#1>, %D0<imp-def> ... %S0<def> = FCPYS %reg1031<kill>, 14, %reg0, %D0<imp-use,kill> When FCPYS goes away, the definition of S0 is the "FOO" instruction. However, transferring the D0 implicit-kill to FOO doesn't work since it is the def of D0 itself. We need to fix this in another time by introducing a "kill" pseudo instruction to track liveness. Disabling the assertion is not ideal, but machine verifier is doing that job now. It's important to know double-def is not a miscomputation since it means a register should be free but it's not tracked as free. It's a performance issue instead. llvm-svn: 82677
-
Evan Cheng authored
Clean up LiveVariables and change how it deals with partial updates and kills. This also eliminate the horrible check which scan forward to the end of the basic block. It should be faster and more accurate. llvm-svn: 82676
-
Jeffrey Yasskin authored
a trivial unittest would have caught. This revision also adds the trivial unittest. llvm-svn: 82675
-
Dale Johannesen authored
computation, and some cosmetics. llvm-svn: 82660
-
- Sep 23, 2009
-
-
David Goodwin authored
llvm-svn: 82657
-
Dan Gohman authored
llvm-svn: 82656
-
Dan Gohman authored
is also the name of their type, as declarations like "EVT EVT" look really odd. llvm-svn: 82654
-
Jakob Stoklund Olesen authored
The machine code verifier did not check for explicit operands correctly. It used MachineInstr::getNumExplicitOperands, but that method may cheat and use the declared count in the TargetInstrDesc. Now we check the explicit operands one at a time in visitMachineOperand. llvm-svn: 82652
-
Bob Wilson authored
default implementation. Update comment on the default version, which made it sound like most targets override it. Currently only X86 and SystemZ override this method. llvm-svn: 82651
-
Devang Patel authored
llvm-svn: 82647
-
Anton Korobeynikov authored
This fixes PR5031. Unfortunately, there is no small testcase :( llvm-svn: 82643
-
Bob Wilson authored
llvm-svn: 82641
-
Devang Patel authored
llvm-svn: 82638
-
David Goodwin authored
Fix bug in kill flag updating for post-register-allocation scheduling. When the kill flag of a superreg needs to be cleared because there are one or more subregs live, we instead add implicit-defs of those subregs and leave the kill flag on the superreg. This allows us to end the live-range of the superreg without ending the live-ranges of the subregs. llvm-svn: 82629
-
Benjamin Kramer authored
llvm-svn: 82622
-
Evan Cheng authored
of the defs are processed. Also fix a implicit_def propagation bug: a implicit_def of a physical register should be applied to uses of the sub-registers. llvm-svn: 82616
-
Evan Cheng authored
llvm-svn: 82610
-
Chris Lattner authored
"the jit has not been linked in" if the interpreter failed. This fixes a unit test failure. llvm-svn: 82601
-
Chris Lattner authored
llvm-svn: 82600
-
Dan Gohman authored
two different places for printing MachineMemOperands. Drop the virtual from Value::dump and instead give Value a protected virtual hook that can be overridden by subclasses to implement custom printing. This lets printing be more consistent, and simplifies printing of PseudoSourceValue values. llvm-svn: 82599
-
Dan Gohman authored
llvm-svn: 82597
-
Mike Stump authored
llvm-svn: 82591
-
- Sep 22, 2009
-
-
Victor Hernandez authored
llvm-svn: 82561
-
David Goodwin authored
llvm-svn: 82554
-
Daniel Dunbar authored
llvm-svn: 82552
-
Daniel Dunbar authored
llvm-svn: 82551
-