aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ProcessImplicitDefs.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-01-05Change errs() to dbgs().David Greene1-1/+1
llvm-svn: 92567
2009-11-26When all defs of a vr are implicit_def, delete all of the defs.Evan Cheng1-2/+6
llvm-svn: 89905
2009-11-25ProcessImplicitDefs should watch out for invalidated iterator and extra ↵Evan Cheng1-14/+45
implicit operands on copies. llvm-svn: 89880
2009-11-16For some targets, a copy can use a register multiple times, e.g. ppc.Evan Cheng1-0/+5
llvm-svn: 88895
2009-11-16Fixes the bug exposed by Anton's test case in PR 5495:Lang Hames1-0/+4
Make sure when ProcessImplicitDefs removes a copy which kills its source reg that it removes the copy from said reg's Kills list. llvm-svn: 88881
2009-11-03The Indexes Patch.Lang Hames1-0/+231
This introduces a new pass, SlotIndexes, which is responsible for numbering instructions for register allocation (and other clients). SlotIndexes numbering is designed to match the existing scheme, so this patch should not cause any changes in the generated code. For consistency, and to avoid naming confusion, LiveIndex has been renamed SlotIndex. The processImplicitDefs method of the LiveIntervals analysis has been moved into its own pass so that it can be run prior to SlotIndexes. This was necessary to match the existing numbering scheme. llvm-svn: 85979