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

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 17 14:14:45 PDT 2022


nickdesaulniers added a comment.

In D130391#3729924 <https://reviews.llvm.org/D130391#3729924>, @efriedma wrote:

> 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;
>   }

works just fine with this patch.


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