OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0492a8c
)
Use the latest MachineRegisterInfo APIs. No functionality.
author
Andrew Trick
<atrick@apple.com>
Mon, 30 Jul 2012 23:48:17 +0000
(23:48 +0000)
committer
Andrew Trick
<atrick@apple.com>
Mon, 30 Jul 2012 23:48:17 +0000
(23:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161010
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/ScheduleDAGInstrs.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/ScheduleDAGInstrs.cpp
b/lib/CodeGen/ScheduleDAGInstrs.cpp
index
5b40cb4
..
9c1dba3
100644
(file)
--- a/
lib/CodeGen/ScheduleDAGInstrs.cpp
+++ b/
lib/CodeGen/ScheduleDAGInstrs.cpp
@@
-414,7
+414,7
@@
void ScheduleDAGInstrs::addVRegDefDeps(SUnit *SU, unsigned OperIdx) {
// Singly defined vregs do not have output/anti dependencies.
// The current operand is a def, so we have at least one.
// Check here if there are any others...
- if (
llvm::next(MRI.def_begin(Reg)) == MRI.def_end(
))
+ if (
MRI.hasOneDef(Reg
))
return;
// Add output dependence to the next nearest def of this vreg.