[PATCH] D88667: [GlobalISel] Change asserting conditions when initializing call site info
Djordje Todorovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 8 07:54:08 PDT 2020
djtodoro added inline comments.
================
Comment at: llvm/lib/CodeGen/MIRParser/MIRParser.cpp:372-373
+ unsigned BlockNum = MILoc.BlockNum;
+ // In case of using GlobalISel, entry block enumeration doesn't start
+ // from 0, but from 1.
+ if (YamlMF.Body.Value.Value.find("bb.0") == std::string::npos)
----------------
arsenm wrote:
> I think treating this as some difference to tolerate is the wrong approach. There's no reason the block numbers should change based on the selector
Hi @arsenm, do you think the entry bb number should start from 0 in the case of GlobalIsel as well? If that is the case, is the D87902 right solution?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88667/new/
https://reviews.llvm.org/D88667
More information about the llvm-commits
mailing list