[all-commits] [llvm/llvm-project] 97f0f5: [MC, NVPTX] Fix warnings

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Sep 26 12:10:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 97f0f5b574d36e3252966c455cfb3a687b4f5325
      https://github.com/llvm/llvm-project/commit/97f0f5b574d36e3252966c455cfb3a687b4f5325
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-09-26 (Thu, 26 Sep 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCRegisterInfo.h
    M llvm/lib/Target/NVPTX/NVPTXRegisterInfo.cpp

  Log Message:
  -----------
  [MC, NVPTX] Fix warnings

This patch fixes:

  llvm/include/llvm/MC/MCRegisterInfo.h:146:7: error:
  'llvm::MCRegisterInfo' has virtual functions but non-virtual
  destructor [-Werror,-Wnon-virtual-dtor]

  llvm/lib/Target/NVPTX/NVPTXRegisterInfo.cpp:163:21: error:
  comparison of integers of different signs: 'int' and 'size_type'
  (aka 'unsigned long') [-Werror,-Wsign-compare]



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list