[all-commits] [llvm/llvm-project] bc0d65: [RISCV] Fix mistake in RISCVTTIImpl::getIntImmCost...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Jul 14 16:42:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc0d656558cfa0cf29aa4889ac807570b1e9dfd1
      https://github.com/llvm/llvm-project/commit/bc0d656558cfa0cf29aa4889ac807570b1e9dfd1
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Transforms/ConstantHoisting/RISCV/immediates.ll

  Log Message:
  -----------
  [RISCV] Fix mistake in RISCVTTIImpl::getIntImmCostInst.

zext.w requires Zba not Zbb. The test was also wrong, but had the
correct comment.




More information about the All-commits mailing list