[PATCH] D47654: [MachineOutliner] NFC - Move intermediate data structures to MachineOutliner.h

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 1 15:18:38 PDT 2018


efriedma added a comment.

Please post diffs to Phabricator with full context.

Please commit the whitespace-only changes separately.



================
Comment at: include/llvm/CodeGen/MachineOutliner.h:195
+#endif
\ No newline at end of file

----------------
Newline?


================
Comment at: lib/CodeGen/MachineOutliner.cpp:1217
     // Was the candidate removed during pruneOverlaps?
-    if (!C.InCandidateList)
+    if (!Cptr || !Cptr->InCandidateList)
       continue;
----------------
Is this change related somehow?  It's not obvious.


https://reviews.llvm.org/D47654





More information about the llvm-commits mailing list