projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d5636e
)
ScheduleDAGInstrs: There is no need to set OrigNode for MI SUnits; NFC
author
Matthias Braun
<matze@braunis.de>
Thu, 29 Sep 2016 01:32:31 +0000
(
01:32
+0000)
committer
Matthias Braun
<matze@braunis.de>
Thu, 29 Sep 2016 01:32:31 +0000
(
01:32
+0000)
llvm-svn: 282666
llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
b/llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
index
45e57b5
..
805b33a
100644
(file)
--- a/
llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
+++ b/
llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
@@
-345,7
+345,6
@@
namespace llvm {
SUnits.emplace_back(MI, (unsigned)SUnits.size());
assert((Addr == nullptr || Addr == &SUnits[0]) &&
"SUnits std::vector reallocated on the fly!");
- SUnits.back().OrigNode = &SUnits.back();
return &SUnits.back();
}