[PATCH] D65352: [CodeGen] Require a name for a block addr target

Bill Wendling via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 14:54:23 PDT 2019


void created this revision.
void added reviewers: nickdesaulniers, craig.topper.
Herald added subscribers: llvm-commits, javed.absar.
Herald added a project: LLVM.

A block address may be used in inline assembly. In which case it
requires a name so that the asm parser has something to parse. Creating
a name for every block address is a large hammer, but is necessary
because at the point when a temp symbol is created we don't necessarily
know if it's used in inline asm. This ensures that it exists regardless.


Repository:
  rL LLVM

https://reviews.llvm.org/D65352

Files:
  lib/CodeGen/MachineModuleInfo.cpp
  test/CodeGen/AArch64/callbr-asm-obj-file.ll
  test/CodeGen/X86/callbr-asm-obj-file.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65352.212010.patch
Type: text/x-patch
Size: 4991 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190726/8df73979/attachment.bin>


More information about the llvm-commits mailing list