[all-commits] [llvm/llvm-project] 6e0ae7: [RISCV] Slightly simplify coode in combineVWADD_W_...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Aug 31 15:05:27 PDT 2022


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

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

  Log Message:
  -----------
  [RISCV] Slightly simplify coode in combineVWADD_W_VL_VWSUB_W_VL and combineMUL_VLToVWMUL_VL. NFC

Use computeMaxSignificantBits instead of ComputeNumSignBits. Create
APInt as part of call to MaskedValueIsZero instead of creating
a named temporary.




More information about the All-commits mailing list