[all-commits] [llvm/llvm-project] 7e2ffe: [llvm-exegesis] Do not silently fail on unknown in...

Clement Courbet via All-commits all-commits at lists.llvm.org
Wed Oct 28 02:07:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e2ffe7a6358820c0f1511f3405d3fa8db4c46f4
      https://github.com/llvm/llvm-project/commit/7e2ffe7a6358820c0f1511f3405d3fa8db4c46f4
  Author: Clement Courbet <courbet at google.com>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/X86/Target.cpp

  Log Message:
  -----------
  [llvm-exegesis] Do not silently fail on unknown instruction encoding formats.

The addition of TILELOADD instructions with a new encoding format
triggered a hard abort instead of proper error reporting due to the use
of `llvm_unreachable` for actually reachable code.
Properly report an error when the encoding format is unknown.

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




More information about the All-commits mailing list