[all-commits] [llvm/llvm-project] e41772: [RISCV][M68k] Replace fixed size BitVector with st...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Aug 25 12:45:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4177201eb4a37aceba89f8041b87f6d519838ae
      https://github.com/llvm/llvm-project/commit/e4177201eb4a37aceba89f8041b87f6d519838ae
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-08-25 (Thu, 25 Aug 2022)

  Changed paths:
    M llvm/lib/Target/M68k/M68kSubtarget.cpp
    M llvm/lib/Target/M68k/M68kSubtarget.h
    M llvm/lib/Target/RISCV/RISCVSubtarget.cpp
    M llvm/lib/Target/RISCV/RISCVSubtarget.h

  Log Message:
  -----------
  [RISCV][M68k] Replace fixed size BitVector with std::bitset.

Saves a heap allocation and avoids an explicit call to the BitVector constructor.

Reviewed By: reames, myhsu

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




More information about the All-commits mailing list