[all-commits] [llvm/llvm-project] b98b56: [ARM] Correctly handle .inst in IT and VPT blocks ...

ostannard via All-commits all-commits at lists.llvm.org
Thu Oct 12 09:03:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b98b567c2501540ef4a9d586c26ab8271c6d1f0d
      https://github.com/llvm/llvm-project/commit/b98b567c2501540ef4a9d586c26ab8271c6d1f0d
  Author: ostannard <oliver.stannard at arm.com>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
    A llvm/test/MC/ARM/inst-directive-it-vpt.s

  Log Message:
  -----------
  [ARM] Correctly handle .inst in IT and VPT blocks (#68902)

Advance the IT and VPT block state when parsing the .inst directive, so
that it is possible to use them to emit conditional instructions. If we
don't do this, then a later instruction inside or just after the block
will have a mis-matched condition, so be incorrectly reported as an
error.




More information about the All-commits mailing list