[all-commits] [llvm/llvm-project] 832eb9: [RISCV] Reduce some duplicate code in lowerBUILD_V...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Jun 20 21:52:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 832eb93251f6d415e384c77907af7002b38f9f67
      https://github.com/llvm/llvm-project/commit/832eb93251f6d415e384c77907af7002b38f9f67
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-06-20 (Tue, 20 Jun 2023)

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

  Log Message:
  -----------
  [RISCV] Reduce some duplicate code in lowerBUILD_VECTOR. NFC

The code at the beginning of the loop body and after the loop are
identifical. Move it to the end of the loop body by making a few
adjustments.




More information about the All-commits mailing list