[all-commits] [llvm/llvm-project] 474ba1: [NFC][MC][Sparc] Rearrange decode functions in Spa...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Mon Aug 25 08:08:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 474ba1de4513e22af6f5b38b8c32ffb1a5c711a0
      https://github.com/llvm/llvm-project/commit/474ba1de4513e22af6f5b38b8c32ffb1a5c711a0
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2025-08-25 (Mon, 25 Aug 2025)

  Changed paths:
    M llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp

  Log Message:
  -----------
  [NFC][MC][Sparc] Rearrange decode functions in Sparc disassembler (#154973)

Some of the decode function were previously declared before including
`SparcGenDisassemblerTables.inc` and then defined later on because the
generated code in `SparcGenDisassemblerTables.inc` references these
functions and these functions reference `fieldFromInstruction` which
used to be generated.

Now that `fieldFromInstruction` has moved to MCDecoder.h, we can move
these definitions to before including the generated code without any
circular references.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list