[all-commits] [llvm/llvm-project] 420b8b: [llvm-exegesis] Support LookupRegClassByHwMode in ...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Wed Jun 3 11:20:56 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 420b8b3cede41894dc5dac29f8e64bcff13e3620
      https://github.com/llvm/llvm-project/commit/420b8b3cede41894dc5dac29f8e64bcff13e3620
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/LlvmState.cpp
    M llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
    M llvm/tools/llvm-exegesis/lib/MCInstrDescView.h
    M llvm/unittests/tools/llvm-exegesis/Mips/SnippetGeneratorTest.cpp

  Log Message:
  -----------
  [llvm-exegesis] Support LookupRegClassByHwMode in exegesis Instruction::create

This resolves the TODO for LookupRegClassByHwMode support in llvm-exegesis by
passing the MCSubtargetInfo to Instruction::create and calling
getOpRegClassID with the active HwMode.

This also updates MemoryUse test expectations for Mips, as the target now
correctly resolve HwMode-dependent memory register operands (MSA128F16 in
Mips and post-#177073 BasePtrRegClass for RISC-V).

Pull Request: https://github.com/llvm/llvm-project/pull/200525



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