[all-commits] [llvm/llvm-project] 90c4db: [RISCV] Don't scalarize vector stores if volatile

Luke Lau via All-commits all-commits at lists.llvm.org
Fri May 26 01:34:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90c4db4a2ce6b0425dc76dcbdd06b32f52c81792
      https://github.com/llvm/llvm-project/commit/90c4db4a2ce6b0425dc76dcbdd06b32f52c81792
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-05-26 (Fri, 26 May 2023)

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

  Log Message:
  -----------
  [RISCV] Don't scalarize vector stores if volatile

As noted by @reames in https://reviews.llvm.org/D151211#4373404, we shouldn't
scalarize vector stores of constants if the store is volatile, or vector copies
if either the store or load are volatile.

Reviewed By: reames

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




More information about the All-commits mailing list