[all-commits] [llvm/llvm-project] 1edde1: Recommit "[RISCV] Relax opcode restriction for .in...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Mar 27 11:19:32 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1edde1c1f80347e2560dda340697ff1c2c05a424
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-03-27 (Mon, 27 Mar 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/test/MC/RISCV/insn-invalid.s

  Log Message:
  Recommit "[RISCV] Relax opcode restriction for .insn."

Original commit message:
I recently added a check to make sure the lower 2 bits of the opcode
were 0x3. A post commit comment pointed out this would be allowed
for a custom extension when C is not supported.

Note, binutils does have this restriction.

More information about the All-commits mailing list