[all-commits] [llvm/llvm-project] dbbf8f: [M68k] Add `TRAP`, `TRAPV`, `BKPT`, `ILLEGAL` inst...

Ian Douglas Scott via All-commits all-commits at lists.llvm.org
Tue Apr 4 16:46:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbbf8ff839e919c090737c3df114fbc7e3623270
      https://github.com/llvm/llvm-project/commit/dbbf8ff839e919c090737c3df114fbc7e3623270
  Author: Ian Douglas Scott <ian at iandouglasscott.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M llvm/lib/Target/M68k/AsmParser/M68kAsmParser.cpp
    M llvm/lib/Target/M68k/M68kInstrControl.td
    A llvm/test/MC/Disassembler/M68k/trap-break.txt
    A llvm/test/MC/M68k/Control/trap-break.s

  Log Message:
  -----------
  [M68k] Add `TRAP`, `TRAPV`, `BKPT`, `ILLEGAL` instructions

This makes it possible to use TRAP to make Linux system calls using
inline assembly for instance.

Differential Revision: https://reviews.llvm.org/D147102




More information about the All-commits mailing list