[PATCH] D33839: Correctly remap BlockAddress when using CodeExtractor

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 11 21:48:29 PDT 2017


sanjoy added a comment.

In https://reviews.llvm.org/D33839#777673, @davidxl wrote:

> The spec probably needs update, but I remember inliner or function cloning does something to avoid this.  +cc Chandler for comments.


Are you looking for this (emphasis mine): "The ‘indirectbr‘ instruction implements an **indirect branch to a label within the current function**, whose address is specified by “address”. Address must be derived from a blockaddress constant."


https://reviews.llvm.org/D33839





More information about the llvm-commits mailing list