[PATCH] D65181: Use the MachineBasicBlock symbol for a callbr target
Bill Wendling via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 23 18:28:54 PDT 2019
void created this revision.
void added reviewers: nickdesaulniers, craig.topper.
Herald added subscribers: llvm-commits, javed.absar.
Herald added a project: LLVM.
Inline asm doesn't use labels when compiled as an object file.
Therefore, we shouldn't create one for the (potential) callbr
destination. Instead, use the symbol for the MachineBasicBlock.
Repository:
rL LLVM
https://reviews.llvm.org/D65181
Files:
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
test/CodeGen/AArch64/callbr-asm-label.ll
test/CodeGen/X86/callbr-asm-label-addr.ll
test/CodeGen/X86/callbr-asm-obj-file.ll
test/CodeGen/X86/callbr-asm.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65181.211398.patch
Type: text/x-patch
Size: 6284 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190724/bbaa8f8b/attachment.bin>
More information about the llvm-commits
mailing list