[all-commits] [llvm/llvm-project] 890027: [RISCV] Add test cases showing failure to use .vf ...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Sep 20 10:26:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 890027b31433311515906633518e1295293ac15c
      https://github.com/llvm/llvm-project/commit/890027b31433311515906633518e1295293ac15c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-09-20 (Mon, 20 Sep 2021)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll

  Log Message:
  -----------
  [RISCV] Add test cases showing failure to use .vf vector operations when splat is in another basic block. NFC

We should have CGP copy the splats into the same basic block as the
FP operation so that SelectionDAG can fold them.


  Commit: 04ab6c85ef74072c077717ca4b4eaede8db24823
      https://github.com/llvm/llvm-project/commit/04ab6c85ef74072c077717ca4b4eaede8db24823
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-09-20 (Mon, 20 Sep 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll

  Log Message:
  -----------
  [RISCV] Teach RISCVTargetLowering::shouldSinkOperands to sink splats for FAdd/FSub/FMul/FDiv.


Compare: https://github.com/llvm/llvm-project/compare/e31b2d7d7be9...04ab6c85ef74


More information about the All-commits mailing list