[all-commits] [llvm/llvm-project] e52c55: [RISCV] Narrow indices of fixed vector gather/scat...

Philip Reames via All-commits all-commits at lists.llvm.org
Mon Sep 18 11:49:30 PDT 2023


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll

  Log Message:
  -----------
  [RISCV] Narrow indices of fixed vector gather/scatter nodes

Doing so allows the use of smaller constants overall, and may allow (for some small vector constants) avoiding the constant pool entirely.  This can result in extra VTYPE toggles if we get unlucky.

This was reviewed under PR #66405.




More information about the All-commits mailing list