[all-commits] [llvm/llvm-project] de0de2: [RISCV] Update cost of vector roundeven to match r...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Sep 30 20:10:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de0de294eb4e65c78c9c6989e9759672f114e41e
      https://github.com/llvm/llvm-project/commit/de0de294eb4e65c78c9c6989e9759672f114e41e
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-09-30 (Fri, 30 Sep 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/RISCV/fround.ll

  Log Message:
  -----------
  [RISCV] Update cost of vector roundeven to match round which uses the same sequence but a different FRM value.

Reviewed By: reames, eopXD

Differential Revision: https://reviews.llvm.org/D134978


  Commit: 9273f860c089fd94a4f929ff24da7b331d70f64d
      https://github.com/llvm/llvm-project/commit/9273f860c089fd94a4f929ff24da7b331d70f64d
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-09-30 (Fri, 30 Sep 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll

  Log Message:
  -----------
  [RISCV] Prevent performCombineVMergeAndVOps from creating cycles in the DAG.

If True has a Chain result, the other operands of the vmerge may
depend on it through that Chain. We need to ensure it isn't a
predecessor of those operands.

Reviewed By: fakepaper56

Differential Revision: https://reviews.llvm.org/D134980


Compare: https://github.com/llvm/llvm-project/compare/43417d815937...9273f860c089


More information about the All-commits mailing list