[PATCH] D78234: [BranchFolding] assert when removing INLINEASM_BR indirect targets
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 18 09:20:06 PST 2022
nickdesaulniers planned changes to this revision.
nickdesaulniers added inline comments.
================
Comment at: llvm/lib/CodeGen/BranchFolding.cpp:177
+ if (Op.isBlockAddress() && Pred.isInlineAsmBrIndirectTarget(MBB) &&
+ Op.getBlockAddress()->getBasicBlock() == MBB->getBasicBlock())
+ llvm_unreachable(
----------------
I think we use just basic blocks now in inlineasm_br, not block addresses.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78234/new/
https://reviews.llvm.org/D78234
More information about the llvm-commits
mailing list