[PATCH] D83923: [MachineOutliner][AArch64] Fix for noreturn functions

Kyungwoo Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 15 18:48:10 PDT 2020


kyulee added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:6126
+      for (auto I = C.front(), E = C.back(); I != E; I++)
+        DoCandidatesHaveCallsOrNoReturn |= I->isCall();
 
----------------
Shouldn't `FlagsSetInAll & MachineOutlinerMBBFlags::HasCalls` cover?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83923





More information about the llvm-commits mailing list