[all-commits] [llvm/llvm-project] 742fa9: [llvm-exegesis] Skip codegen of known-invalid snip...

Pavel Kosov via All-commits all-commits at lists.llvm.org
Fri Aug 25 06:44:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 742fa941f21d35b266db9ba12b59a06175b0fb97
      https://github.com/llvm/llvm-project/commit/742fa941f21d35b266db9ba12b59a06175b0fb97
  Author: Pavel Kosov <kpdev42 at gmail.com>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    A llvm/test/tools/llvm-exegesis/AArch64/all-opcodes.test
    M llvm/tools/llvm-exegesis/lib/SnippetGenerator.cpp
    M llvm/tools/llvm-exegesis/lib/SnippetGenerator.h

  Log Message:
  -----------
  [llvm-exegesis] Skip codegen of known-invalid snippets

On some targets, not all types of instruction operands are currently
handled. Instead of stopping the whole llvm-exegesis run because of any
instruction opcode that is not fully supported, write a per-opcode error
message and proceed to other opcodes. This improves the reliability of
--opcode-index=-1 sweep on partially supported targets.

Depends on: D146302, D146303

~~

Huawei RRI, OS Lab

Reviewed By: courbet

Differential Revision: https://reviews.llvm.org/D146304




More information about the All-commits mailing list