[all-commits] [llvm/llvm-project] 80d556: [ValueTypes] Add missing enum names for MVTs

Fraser Cormack via All-commits all-commits at lists.llvm.org
Wed Jun 9 01:50:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80d556441adca45c0ad82c9463ed77bc25399f2b
      https://github.com/llvm/llvm-project/commit/80d556441adca45c0ad82c9463ed77bc25399f2b
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-06-09 (Wed, 09 Jun 2021)

  Changed paths:
    M llvm/utils/TableGen/CodeGenTarget.cpp

  Log Message:
  -----------
  [ValueTypes] Add missing enum names for MVTs

These types are (presumably) never used in the generated TableGen files.
The `default` switch case silences any compiler warnings for these
missing types so it's easy to miss.

Reviewed By: craig.topper

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




More information about the All-commits mailing list