[all-commits] [llvm/llvm-project] 6aeddd: Add PISA register file, instruction set, and MC layer

Michal Paszkowski via All-commits all-commits at lists.llvm.org
Mon Sep 21 07:50:10 PDT 2026


  Branch: refs/heads/users/michalpaszkowski/pisa_backend_upstreaming_3
  Home:   https://github.com/llvm/llvm-project
  Commit: 6aeddda28cb45902ee06ca5e4efd719784b5d9cc
      https://github.com/llvm/llvm-project/commit/6aeddda28cb45902ee06ca5e4efd719784b5d9cc
  Author: Michal Paszkowski <michal.paszkowski at intel.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/include/llvm/IR/CallingConv.h
    M llvm/include/llvm/MC/MCInst.h
    A llvm/include/llvm/Target/PISA/MnemonicOperand.td
    M llvm/lib/MC/MCInst.cpp
    M llvm/lib/Target/PISA/CMakeLists.txt
    M llvm/lib/Target/PISA/MCTargetDesc/CMakeLists.txt
    A llvm/lib/Target/PISA/MCTargetDesc/PISABaseInfo.h
    A llvm/lib/Target/PISA/MCTargetDesc/PISAEnum.cpp
    A llvm/lib/Target/PISA/MCTargetDesc/PISAEnum.h
    M llvm/lib/Target/PISA/MCTargetDesc/PISAInstPrinter.cpp
    M llvm/lib/Target/PISA/MCTargetDesc/PISAInstPrinter.h
    A llvm/lib/Target/PISA/MCTargetDesc/PISAMCExpr.cpp
    A llvm/lib/Target/PISA/MCTargetDesc/PISAMCExpr.h
    M llvm/lib/Target/PISA/MCTargetDesc/PISAMCTargetDesc.cpp
    M llvm/lib/Target/PISA/MCTargetDesc/PISAMCTargetDesc.h
    A llvm/lib/Target/PISA/MCTargetDesc/PISARegEncoder.cpp
    A llvm/lib/Target/PISA/MCTargetDesc/PISARegEncoder.h
    A llvm/lib/Target/PISA/MCTargetDesc/PISATargetStreamer.cpp
    A llvm/lib/Target/PISA/MCTargetDesc/PISATargetStreamer.h
    M llvm/lib/Target/PISA/PISA.td
    A llvm/lib/Target/PISA/PISACacheCtrlMMRA.h
    A llvm/lib/Target/PISA/PISACombine.td
    A llvm/lib/Target/PISA/PISADefines.h
    A llvm/lib/Target/PISA/PISAGenericOpcodes.td
    A llvm/lib/Target/PISA/PISAHelpers.h
    A llvm/lib/Target/PISA/PISAInstrFormats.td
    M llvm/lib/Target/PISA/PISAInstrInfo.cpp
    M llvm/lib/Target/PISA/PISAInstrInfo.h
    M llvm/lib/Target/PISA/PISAInstrInfo.td
    A llvm/lib/Target/PISA/PISAMCInstLower.cpp
    A llvm/lib/Target/PISA/PISAMCInstLower.h
    A llvm/lib/Target/PISA/PISARegManager.cpp
    A llvm/lib/Target/PISA/PISARegManager.h
    A llvm/lib/Target/PISA/PISARegisterBanks.td
    M llvm/lib/Target/PISA/PISARegisterInfo.cpp
    M llvm/lib/Target/PISA/PISARegisterInfo.h
    M llvm/lib/Target/PISA/PISARegisterInfo.td
    A llvm/lib/Target/PISA/PISAUtils.cpp
    A llvm/lib/Target/PISA/PISAUtils.h

  Log Message:
  -----------
  Add PISA register file, instruction set, and MC layer

Add the PISA register file and register-bank descriptions, the instruction
formats and definitions, and the MC/assembly layer (instruction printer,
register and code encoders, target streamer, MC target description and the
supporting enums), replacing the stub descriptions from
the initial target skeleton.

This provides the instruction-set description and assembly-emission
foundation. The GlobalISel lowering and instruction selection that consume it
are added in the following changes.


  Commit: 29e2dbf5ae6e552aa47ba217bb381661e046a19c
      https://github.com/llvm/llvm-project/commit/29e2dbf5ae6e552aa47ba217bb381661e046a19c
  Author: Michal Paszkowski <michal.paszkowski at intel.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/lib/Target/PISA/MCTargetDesc/PISATargetStreamer.cpp

  Log Message:
  -----------
  Formatting fix


  Commit: ae38e9390626359f2cfd0b70a51c678ae167604d
      https://github.com/llvm/llvm-project/commit/ae38e9390626359f2cfd0b70a51c678ae167604d
  Author: Michal Paszkowski <michal.paszkowski at intel.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/lib/Target/PISA/MCTargetDesc/PISAInstPrinter.cpp
    M llvm/lib/Target/PISA/MCTargetDesc/PISAInstPrinter.h
    M llvm/lib/Target/PISA/MCTargetDesc/PISAMCExpr.cpp
    M llvm/lib/Target/PISA/MCTargetDesc/PISARegEncoder.cpp
    M llvm/lib/Target/PISA/MCTargetDesc/PISARegEncoder.h

  Log Message:
  -----------
  Review fixes


  Commit: 778117223b16f0eaa1aa58d5b9659a4325880485
      https://github.com/llvm/llvm-project/commit/778117223b16f0eaa1aa58d5b9659a4325880485
  Author: Michal Paszkowski <michal.paszkowski at intel.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/include/llvm/IR/CallingConv.h

  Log Message:
  -----------
  Review fixes 2


  Commit: c4f96fd0edffb9df71fb84bd2ae6bfd96f61b6a7
      https://github.com/llvm/llvm-project/commit/c4f96fd0edffb9df71fb84bd2ae6bfd96f61b6a7
  Author: Michal Paszkowski <michal.paszkowski at intel.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsPISA.td
    M llvm/lib/Target/PISA/MCTargetDesc/PISAInstPrinter.cpp
    M llvm/lib/Target/PISA/PISAInstrFormats.td

  Log Message:
  -----------
  Remove stale llvm::pisa::MemoryScope references and remove Commutative from int_pisa_smad (otherwise rejects three explicit ternary immediate patterns as unreachable)


  Commit: f6b093ecc48ff14c106067e08cc260a616b9c6bc
      https://github.com/llvm/llvm-project/commit/f6b093ecc48ff14c106067e08cc260a616b9c6bc
  Author: Michal Paszkowski <michal.paszkowski at intel.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/include/llvm/Target/PISA/MnemonicOperand.td

  Log Message:
  -----------
  Replace TableGen lookup with a generic


  Commit: 54550ca67aca25fd685185a4617d00232979c947
      https://github.com/llvm/llvm-project/commit/54550ca67aca25fd685185a4617d00232979c947
  Author: Michal Paszkowski <michal.paszkowski at intel.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/lib/Target/PISA/MCTargetDesc/PISAMCExpr.cpp

  Log Message:
  -----------
  Change to char


  Commit: 3b29fa94f0239d600c51f5b06c1ac1b757fbf2b6
      https://github.com/llvm/llvm-project/commit/3b29fa94f0239d600c51f5b06c1ac1b757fbf2b6
  Author: Michal Paszkowski <michal.paszkowski at intel.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/lib/Target/PISA/MCTargetDesc/PISABaseInfo.h
    M llvm/lib/Target/PISA/MCTargetDesc/PISAInstPrinter.cpp
    M llvm/lib/Target/PISA/MCTargetDesc/PISAInstPrinter.h
    M llvm/lib/Target/PISA/MCTargetDesc/PISARegEncoder.cpp
    M llvm/lib/Target/PISA/MCTargetDesc/PISATargetStreamer.cpp
    M llvm/lib/Target/PISA/MCTargetDesc/PISATargetStreamer.h
    M llvm/lib/Target/PISA/PISACacheCtrlMMRA.h
    M llvm/lib/Target/PISA/PISACombine.td
    M llvm/lib/Target/PISA/PISAInstrInfo.cpp
    M llvm/lib/Target/PISA/PISAMCInstLower.cpp
    M llvm/lib/Target/PISA/PISAMCInstLower.h
    M llvm/lib/Target/PISA/PISARegManager.cpp
    M llvm/lib/Target/PISA/PISARegManager.h
    M llvm/lib/Target/PISA/PISARegisterInfo.cpp
    M llvm/lib/Target/PISA/PISAUtils.cpp

  Log Message:
  -----------
  Do not use auto


  Commit: 8ee08892ca9b6a51bf3f16e17ee6c84ff1ee000b
      https://github.com/llvm/llvm-project/commit/8ee08892ca9b6a51bf3f16e17ee6c84ff1ee000b
  Author: Michal Paszkowski <michal.paszkowski at intel.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    R llvm/include/llvm/Target/PISA/MnemonicOperand.td
    A llvm/lib/Target/PISA/MnemonicOperand.td
    M llvm/lib/Target/PISA/PISAInstrFormats.td

  Log Message:
  -----------
  Move MnemonicOperand.td to llvm/lib/Target/PISA/MnemonicOperand.td


  Commit: 9d79092bff4b7218c8f5f5828d9afd8cee870d5e
      https://github.com/llvm/llvm-project/commit/9d79092bff4b7218c8f5f5828d9afd8cee870d5e
  Author: Michal Paszkowski <michal.paszkowski at intel.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    R llvm/lib/Target/PISA/PISAHelpers.h

  Log Message:
  -----------
  Remove getSwizzleElemCount() and PISAHelpers.h


  Commit: 1bd4358c595fe7ec1a51fad3d2b43d78d60b04c4
      https://github.com/llvm/llvm-project/commit/1bd4358c595fe7ec1a51fad3d2b43d78d60b04c4
  Author: Michal Paszkowski <michal.paszkowski at intel.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/lib/Target/PISA/PISAUtils.h

  Log Message:
  -----------
  Remove IRBuilder.h include


  Commit: 4a1f5a7bd0a1602a5c1e73de942325120d742e1e
      https://github.com/llvm/llvm-project/commit/4a1f5a7bd0a1602a5c1e73de942325120d742e1e
  Author: Michal Paszkowski <michal.paszkowski at intel.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/lib/Target/PISA/CMakeLists.txt
    A llvm/lib/Target/PISA/PISACacheCtrlMMRA.cpp
    M llvm/lib/Target/PISA/PISACacheCtrlMMRA.h

  Log Message:
  -----------
  Move definitions to PISACacheCtrlMMRA.cpp


  Commit: bcd61fd99215c42c5d0361ba362001bc81e325a5
      https://github.com/llvm/llvm-project/commit/bcd61fd99215c42c5d0361ba362001bc81e325a5
  Author: Michal Paszkowski <michal.paszkowski at intel.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/lib/Target/PISA/PISADefines.h

  Log Message:
  -----------
  Add comment about the spelling/case of ri and uc


Compare: https://github.com/llvm/llvm-project/compare/088e45929272...bcd61fd99215

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