[all-commits] [llvm/llvm-project] dc6e68: [TableGen] Add const to SubtargetFeatures referenc...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Aug 23 10:22:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc6e68a8394ed97e6534cfa97d39d6fe4060b0fc
      https://github.com/llvm/llvm-project/commit/dc6e68a8394ed97e6534cfa97d39d6fe4060b0fc
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-08-23 (Wed, 23 Aug 2023)

  Changed paths:
    M llvm/utils/TableGen/SubtargetFeatureInfo.cpp
    M llvm/utils/TableGen/SubtargetFeatureInfo.h

  Log Message:
  -----------
  [TableGen] Add const to SubtargetFeatures reference in emitSubtargetFeatureBitEnumeration. NFC

emitSubtargetFeatureBitEnumeration doesn't modify the map so we should
use const reference.




More information about the All-commits mailing list