[PATCH] D140180: [llvm] add CallBrPrepare pass to pipelines

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 10:55:49 PST 2023


efriedma added inline comments.


================
Comment at: llvm/docs/LangRef.rst:8537
+To support outputs along indirect edges, LLVM may need to split critical edges.
+This means that basic blocks may be synthesized; ``indirect labels`` from
+inline asm may not compare equal to the label when passed as a
----------------
jyknight wrote:
> efriedma wrote:
> > Labels aren't a thing in LLVM IR; if you mean "blockaddress", please state that explicitly.  Otherwise, I'm not sure what you're referring to.
> "indirect labels" are one of the arguments to the "callbr" instruction (see above syntax description and below description in "Arguments")
Okay, but then how do you pass a label as a "function args"?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140180



More information about the llvm-commits mailing list