[all-commits] [llvm/llvm-project] 7e2a1d: [RISCV] Remove G_TRUNC/ZEXT/SEXT/ANYEXT from the f...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Apr 3 17:18:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e2a1d6f23cb604203324b47237f8e463704a497
      https://github.com/llvm/llvm-project/commit/7e2a1d6f23cb604203324b47237f8e463704a497
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-04-03 (Wed, 03 Apr 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp

  Log Message:
  -----------
  [RISCV] Remove G_TRUNC/ZEXT/SEXT/ANYEXT from the first switch in RISCVRegisterBankInfo::getInstrMapping.

This removes the special case for vectors. The default case in the
second switch can handle GPR in addition to vectors. We just won't
use the static ValueMapping entry.



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