[all-commits] [llvm/llvm-project] 4d245f: [RISCV] Move store policy and mask reg ops into de...

Philip Reames via All-commits all-commits at lists.llvm.org
Fri Jun 17 12:13:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d245f1bc2e2615c0e6f7fb79cac9a4d97dc9847
      https://github.com/llvm/llvm-project/commit/4d245f1bc2e2615c0e6f7fb79cac9a4d97dc9847
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-06-17 (Fri, 17 Jun 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extload-truncstore.ll

  Log Message:
  -----------
  [RISCV] Move store policy and mask reg ops into demanded handling in InsertVSETVLI

Doing so let's the post-mutation pass leverage the demanded info to rewrite vsetvlis before a store/mask-op to eliminate later vsetvlis.

Sorry for the lack of store test change; all of my attempts to write something reasonable have been handled through existing logic.




More information about the All-commits mailing list