projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This patch handles unaligned loads and stores in Mips JIT. Mips backend
[oota-llvm.git]
/
lib
/
CodeGen
/
ScheduleDAGEmit.cpp
diff --git
a/lib/CodeGen/ScheduleDAGEmit.cpp
b/lib/CodeGen/ScheduleDAGEmit.cpp
index 6b7a8c6491bd1b699e067bfe45ffdd9adac8441d..f8b1bc76eb8bb3b9a86b86dd4ab48f340c4d0a32 100644
(file)
--- a/
lib/CodeGen/ScheduleDAGEmit.cpp
+++ b/
lib/CodeGen/ScheduleDAGEmit.cpp
@@
-45,6
+45,7
@@
void ScheduleDAG::EmitPhysRegCopy(SUnit *SU,
unsigned Reg = 0;
for (SUnit::const_succ_iterator II = SU->Succs.begin(),
EE = SU->Succs.end(); II != EE; ++II) {
+ if (II->isCtrl()) continue; // ignore chain preds
if (II->getReg()) {
Reg = II->getReg();
break;