- Feb 13, 2008
-
-
Evan Cheng authored
llvm-svn: 47058
-
Evan Cheng authored
Fix a potential serious problem where kills belonging to the val# defined by a two-address instruction is also on the val# that defines the input. llvm-svn: 47057
-
Evan Cheng authored
* Ignore copy instructions which have already been coalesced. llvm-svn: 47056
-
Chris Lattner authored
node as soon as we create it in SDISel. Previously we would lower it in legalize. The problem with this is that it only exposes the argument loads implied by FORMAL_ARGUMENTs after legalize, so that only dag combine 2 can hack on them. This causes us to miss some optimizations because datatype expansion also happens here. Exposing the loads early allows us to do optimizations on them. For example we now compile arg-cast.ll to: _foo: movl $2147483647, %eax andl 8(%esp), %eax ret where we previously produced: _foo: subl $12, %esp movsd 16(%esp), %xmm0 movsd %xmm0, (%esp) movl $2147483647, %eax andl 4(%esp), %eax addl $12, %esp ret It might also make sense to do this for ISD::CALL nodes, which have implicit stores on many targets. llvm-svn: 47054
-
Chris Lattner authored
llvm-svn: 47052
-
Nate Begeman authored
type is not legal. llvm-svn: 47048
-
Evan Cheng authored
PR1877. A3 = op A2 B0<kill> ... B1 = A3 <- this copy ... = op A3 <- more uses ==> B2 = op B0 A2<kill> ... B1 = B2 <- now an identify copy ... = op B2 <- more uses This speeds up FreeBench/neural by 29%, Olden/bh by 12%, oopack_v1p8 by 53%. llvm-svn: 47046
-
Evan Cheng authored
- removeRange() can now update value# information. llvm-svn: 47044
-
Evan Cheng authored
llvm-svn: 47043
-
Evan Cheng authored
llvm-svn: 47042
-
Dan Gohman authored
Add an overload that supports the uint64_t interface for use by clients that haven't been updated yet. llvm-svn: 47039
-
- Feb 12, 2008
-
-
Duncan Sands authored
handle arbitrary precision integers and any number of parts. For example, on a 32 bit machine an i50 corresponds to two i32 parts. getCopyToParts will extend the i50 to an i64 then write half of the i64 to each part; getCopyFromParts will combine the two i32 parts into an i64 then truncate the result to i50. llvm-svn: 47024
-
- Feb 11, 2008
-
-
Duncan Sands authored
in preparation for apint support. These changes are intended to have no functional effect. llvm-svn: 46967
-
Dan Gohman authored
llvm-svn: 46964
-
Dan Gohman authored
llvm-svn: 46963
-
Dan Gohman authored
llvm-svn: 46962
-
Dan Gohman authored
llvm-svn: 46961
-
Ted Kremenek authored
Added member template "Add" to FoldingSetNodeID that allows "adding" arbitrary objects to a profile via dispatch to FoldingSetTrait<T>::Profile(). Removed FoldingSetNodeID::AddAPFloat and FoldingSetNodeID::APInt, as their functionality is now replaced using the above mentioned member template. llvm-svn: 46957
-
Duncan Sands authored
llvm-svn: 46954
-
Evan Cheng authored
Determine whether a spill kills the register it's spilling before insertion rather than trying to undo the kill marker afterwards. llvm-svn: 46953
-
- Feb 10, 2008
-
-
Dan Gohman authored
llvm-svn: 46930
-
Duncan Sands authored
llvm-svn: 46926
-
Bill Wendling authored
no-op). llvm-svn: 46922
-
Chris Lattner authored
llvm-svn: 46918
-
- Feb 09, 2008
-
-
Evan Cheng authored
llvm-svn: 46903
-
- Feb 08, 2008
-
-
Dan Gohman authored
begin adding some methods to use it this way. llvm-svn: 46899
-
Evan Cheng authored
llvm-svn: 46896
-
Evan Cheng authored
llvm-svn: 46895
-
Dan Gohman authored
llvm-svn: 46876
-
- Feb 07, 2008
-
-
Evan Cheng authored
llvm-svn: 46861
-
Dan Gohman authored
to return pointers instead of references, since this is always what is needed. llvm-svn: 46857
-
Dan Gohman authored
as <unknown>. And make some minor adjustments to the MemOperand dump format. llvm-svn: 46853
-
Nick Lewycky authored
llvm-svn: 46848
-
- Feb 06, 2008
-
-
Dan Gohman authored
initializer problem, a minor tweak to the way the DAGISelEmitter finds load/store nodes, and a renaming of the new PseudoSourceValue objects. llvm-svn: 46827
-
Evan Cheng authored
llvm-svn: 46821
-
Evan Cheng authored
RegAllocaLocal still *requires* LiveVariables since it runs PHIElimination, followed by TwoAddress which requires LiveVariables. We cannot run LiveVariables on non-SSA code. llvm-svn: 46813
-
- Feb 05, 2008
-
-
Evan Cheng authored
llvm-svn: 46776
-
Evan Cheng authored
If a vr is already marked alive in a bb, then it has PHI uses that are visited earlier, then it is not killed in the def block (i.e. not dead). llvm-svn: 46763
-
Evan Cheng authored
llvm-svn: 46725
-
Evan Cheng authored
Dwarf requires variable entries to be in the source order. Right now, since we are recording variable information at isel time this means parameters would appear in the reverse order. The short term fix is to issue recordVariable() at asm printing time instead. llvm-svn: 46724
-