[all-commits] [llvm/llvm-project] aa24e3: [CodeGen] Cache Opcode in MachineInstr (#96797)

Alexis Engelke via All-commits all-commits at lists.llvm.org
Thu Jun 27 08:10:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa24e36d037caee2a4106f721a0ac2ab2a1bc335
      https://github.com/llvm/llvm-project/commit/aa24e36d037caee2a4106f721a0ac2ab2a1bc335
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineInstr.h
    M llvm/lib/CodeGen/MachineInstr.cpp

  Log Message:
  -----------
  [CodeGen] Cache Opcode in MachineInstr (#96797)

This avoids the indirection through MCID when just accessing the opcode.
This uses two of the four padding bytes at the end of MachineInstr.



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