[all-commits] [llvm/llvm-project] 629968: [RISCV] Remove unnecessary cast to RISCVTargetMach...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Jul 10 10:42:56 PDT 2024


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp

  Log Message:
  -----------
  [RISCV] Remove unnecessary cast to RISCVTargetMachine in getInstSizeInBytes. NFC

getMCAsmInfo is a method on the base class so we don't need a cast here.



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