[PATCH] D69868: Allow "callbr" to return non-void values

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 20 23:19:42 PST 2020


void updated this revision to Diff 239231.
void added a comment.
Herald added a subscriber: MatzeB.

Split the machine basic block after an INLINEASM_BR instruction that has
outputs. The copies then end up in a separate block and the back end doesn't
have to deal with COPY instructions between two terminators.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69868

Files:
  llvm/docs/LangRef.rst
  llvm/include/llvm/CodeGen/MachineBasicBlock.h
  llvm/lib/AsmParser/LLParser.cpp
  llvm/lib/CodeGen/MachineBasicBlock.cpp
  llvm/lib/CodeGen/MachineVerifier.cpp
  llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/IR/Verifier.cpp
  llvm/test/CodeGen/X86/callbr-asm-outputs.ll
  llvm/test/CodeGen/X86/callbr-asm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69868.239231.patch
Type: text/x-patch
Size: 24037 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200121/9b7a6065/attachment-0001.bin>


More information about the cfe-commits mailing list