[all-commits] [llvm/llvm-project] 4a17de: [TableGen] Remove BitsRecTy::typeIsA override. NFC

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Apr 20 09:57:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a17ded97ff9156bb7674e8960d83cc717778335
      https://github.com/llvm/llvm-project/commit/4a17ded97ff9156bb7674e8960d83cc717778335
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-04-20 (Thu, 20 Apr 2023)

  Changed paths:
    M llvm/include/llvm/TableGen/Record.h
    M llvm/lib/TableGen/Record.cpp

  Log Message:
  -----------
  [TableGen] Remove BitsRecTy::typeIsA override. NFC

BitsRecTy objects are uniqued based on size. If the sizes are equal, then
the BitsRecTy objects are the same objects. We can use the base class
implementation that checks for pointer equality.




More information about the All-commits mailing list