[PATCH] D117509: [PartialInline] Bail out on asm-goto/callbr

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 17 13:40:57 PST 2022


davidxl added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/PartialInlining.cpp:1420
+    // Don't bother with BlockAddress used by CallBr for asm goto.
+    if (isa<BlockAddress>(User))
+      continue;
----------------
Is it legal to partial inline in case when the function's block address is taken?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117509



More information about the llvm-commits mailing list