diff options
| author | Dan Gohman <gohman@apple.com> | 2008-12-05 05:45:42 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-12-05 05:45:42 +0000 |
| commit | d24be45d9979250d326a6cc72834722af8f2877e (patch) | |
| tree | 4ef9648c903ce76f908789e120604ad0c6c6293c /llvm/lib/CodeGen/PostRASchedulerList.cpp | |
| parent | 67840c9803b57748abdbb732b9729207565a0c3a (diff) | |
| download | bcm5719-llvm-d24be45d9979250d326a6cc72834722af8f2877e.tar.gz bcm5719-llvm-d24be45d9979250d326a6cc72834722af8f2877e.zip | |
Drop the reg argument to isRegReDefinedByTwoAddr, which was redundant.
llvm-svn: 60586
Diffstat (limited to 'llvm/lib/CodeGen/PostRASchedulerList.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/PostRASchedulerList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PostRASchedulerList.cpp b/llvm/lib/CodeGen/PostRASchedulerList.cpp index b19525cbaa8..5ee6ed0852e 100644 --- a/llvm/lib/CodeGen/PostRASchedulerList.cpp +++ b/llvm/lib/CodeGen/PostRASchedulerList.cpp @@ -478,7 +478,7 @@ bool SchedulePostRATDList::BreakAntiDependencies() { if (Reg == 0) continue; if (!MO.isDef()) continue; // Ignore two-addr defs. - if (MI->isRegReDefinedByTwoAddr(Reg, i)) continue; + if (MI->isRegReDefinedByTwoAddr(i)) continue; DefIndices[Reg] = Count; KillIndices[Reg] = -1; |

