[PATCH] D66596: [WinEH] Allocate space in funclets stack to save XMM CSRs

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 14:17:55 PDT 2019


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm, thanks!



================
Comment at: llvm/lib/Target/X86/X86RegisterInfo.cpp:713
+  MachineFunction &MF = *MBB.getParent();
+  MachineBasicBlock::iterator MBBI = MBB.getFirstTerminator();
+  bool IsEHFuncletEpilogue = MBBI == MBB.end() ? false
----------------
I confirmed this is O(#terminators) instead of O(#instrs), so this isn't O(n^2) in BB size. :)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66596/new/

https://reviews.llvm.org/D66596





More information about the llvm-commits mailing list