[PATCH] D124697: Distinguish between different forms of "address-taken" MachineBasicBlocks
Krzysztof Parzyszek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 6 06:58:59 PDT 2022
kparzysz added a comment.
The IR spec states that the value of `blockaddress` can only be used in an indirect branch/call, or in a comparison against null. The latter seems to fall under the "address materialized somewhere" that you mention in the referenced review. Is the motivation behind `BlockAddressTarget` to identify blocks that are targets of indirect branches? Otherwise, it's not clear to me why `blockaddress(bb) == null` is any different from storing the address of `bb` in an exception table, for example.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124697/new/
https://reviews.llvm.org/D124697
More information about the llvm-commits
mailing list