ScheduleDAGInstrs: There is no need to set OrigNode for MI SUnits; NFC
authorMatthias Braun <matze@braunis.de>
Thu, 29 Sep 2016 01:32:31 +0000 (01:32 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 29 Sep 2016 01:32:31 +0000 (01:32 +0000)
llvm-svn: 282666

llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h

index 45e57b5..805b33a 100644 (file)
@@ -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();
   }