[all-commits] [llvm/llvm-project] 17b071: [RISCV] Rework gather/scatter DAG combine structur...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Sep 12 10:57:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17b071db6a39e98c4cc5d06521096e91f72237c4
      https://github.com/llvm/llvm-project/commit/17b071db6a39e98c4cc5d06521096e91f72237c4
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

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

  Log Message:
  -----------
  [RISCV] Rework gather/scatter DAG combine structure [NFC]

Instead of switching on type before and after common code, use a helper function.  This matches the style of DAGCombine.cpp more closely, and makes porting candidate changes from one place to the other much easier.




More information about the All-commits mailing list