[all-commits] [llvm/llvm-project] 1cfb20: [TableGen] Report an error instead of asserting

jayfoad via All-commits all-commits at lists.llvm.org
Fri Jul 17 03:33:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cfb207737cc347baeb55999bd2cbd46fb5d9309
      https://github.com/llvm/llvm-project/commit/1cfb207737cc347baeb55999bd2cbd46fb5d9309
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-07-17 (Fri, 17 Jul 2020)

  Changed paths:
    A llvm/test/TableGen/RegisterClass.td
    M llvm/utils/TableGen/CodeGenRegisters.cpp

  Log Message:
  -----------
  [TableGen] Report an error instead of asserting

This gives a nice error if you accidentally try to use an empty list for
the RegTypes of a RegisterClass.

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




More information about the All-commits mailing list