SuccessChanges

Summary

  1. Use the MachineBasicBlock symbol for a callbr target Summary: 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. Reviewers: nickdesaulniers, craig.topper Reviewed By: nickdesaulniers Subscribers: xbolva00, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64888
Revision 366523 by void:
Use the MachineBasicBlock symbol for a callbr target

Summary:
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.

Reviewers: nickdesaulniers, craig.topper

Reviewed By: nickdesaulniers

Subscribers: xbolva00, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64888
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp (diff)llvm.src/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
The file was added/llvm/trunk/test/CodeGen/X86/callbr-asm-obj-file.llllvm.src/test/CodeGen/X86/callbr-asm-obj-file.ll
The file was modified/llvm/trunk/test/CodeGen/X86/callbr-asm.ll (diff)llvm.src/test/CodeGen/X86/callbr-asm.ll