[all-commits] [llvm/llvm-project] 08969c: [RISCV] Remove RISCVISAInfo::addExtension. NFC

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Jul 1 16:53:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08969ca159d77905a1e6212f0533c444813cf511
      https://github.com/llvm/llvm-project/commit/08969ca159d77905a1e6212f0533c444813cf511
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/TargetParser/RISCVISAInfo.h
    M llvm/lib/TargetParser/RISCVISAInfo.cpp

  Log Message:
  -----------
  [RISCV] Remove RISCVISAInfo::addExtension. NFC

We can edit the map directly at the caller. Many of the callers
already directly call contains or erase on the map. So there's no
good reason to have a wrapper for adding to the map.



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