[PATCH] D77124: Handle CET for -exception-model sjlj

H.J Lu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 04:51:13 PDT 2020


hjl.tools added inline comments.


================
Comment at: llvm/lib/Target/X86/X86IndirectBranchTracking.cpp:151
+      for (MachineBasicBlock::iterator I = MBB.begin(); I != MBB.end(); ++I) {
+        // New Landingpad BB without EHLabel.
+        if (MBB.isEHPad()) {
----------------
Why do you have to iterate the same loop twice?


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

https://reviews.llvm.org/D77124





More information about the llvm-commits mailing list