[PATCH] D130391: revert "[CodeGen] Require a name for a block addr target"

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 17 12:43:49 PDT 2022


efriedma added a comment.

We still allow referring to a blockaddress in an asm operand, right?  Does that still work with this patch?  Something like the following:

  long f() {
    void* z = &&X;
    goto *z;
    long a;
    X: asm("lea %1(%%rip), %0" : "=r"(a) : "i"(&&X));
    return a;
  }


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130391



More information about the llvm-commits mailing list