[all-commits] [llvm/llvm-project] ca8ef8: [RISCV] Factor out a dupiicate bit of repeated cod...

Philip Reames via All-commits all-commits at lists.llvm.org
Thu Jul 13 09:59:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca8ef82165dc169e79bced70ae46f614aa456811
      https://github.com/llvm/llvm-project/commit/ca8ef82165dc169e79bced70ae46f614aa456811
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-07-13 (Thu, 13 Jul 2023)

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

  Log Message:
  -----------
  [RISCV] Factor out a dupiicate bit of repeated code in performCombineVMergeAndVOps [nfc]

We have the SEW operand access repeating in all paths, common it up to make the code easier to read.

This is a subset of Luke's D155063.  I'm splitting pieces and landing them in the process of convincing myself all the individual transforms are in fact correct.




More information about the All-commits mailing list