[PATCH] D30797: [Outliner] Add simple stack fixup support in X86

David Majnemer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 21:12:56 PST 2017


majnemer added inline comments.


================
Comment at: lib/Target/X86/X86InstrInfo.cpp:10519
+    for (MachineInstr &MI: MBB) {
+      switch(getPostOutliningFixup(MI)) {
+        case MachineOutlinerFixupType::NotFixable:
----------------
spacing after switch


================
Comment at: lib/Target/X86/X86InstrInfo.h:569
+  /// post-outlining if possible. Return NotFixable if no fixup is available.
+  MachineOutlinerFixupType getPostOutliningFixup(MachineInstr &MI) const;
+
----------------
`const MachineInstr &MI` ?


https://reviews.llvm.org/D30797





More information about the llvm-commits mailing list