[PATCH] D111291: [MIRParser] Add support for IsInlineAsmBrIndirectTarget

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 7 02:47:31 PDT 2021


foad created this revision.
Herald added subscribers: jdoerfert, pengfei, hiraditya.
foad requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Print this basic block flag as inlineasm-br-indirect-target and parse
it. This allows you to write MIR test cases for INLINEASM_BR. The test
case I added is one that I wanted to precommit anyway for D110834 <https://reviews.llvm.org/D110834>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111291

Files:
  llvm/docs/MIRLangRef.rst
  llvm/lib/CodeGen/MIRParser/MILexer.cpp
  llvm/lib/CodeGen/MIRParser/MILexer.h
  llvm/lib/CodeGen/MIRParser/MIParser.cpp
  llvm/lib/CodeGen/MachineBasicBlock.cpp
  llvm/test/CodeGen/X86/callbr-asm-kill.mir
  llvm/test/CodeGen/X86/callbr-asm-outputs-pred-succ.ll
  llvm/test/CodeGen/X86/tail-dup-asm-goto.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111291.377784.patch
Type: text/x-patch
Size: 9361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211007/ce0cde52/attachment.bin>


More information about the llvm-commits mailing list