[all-commits] [llvm/llvm-project] 17d6bf: [RISCV] Change how MMO is rebuilt in lowerFixedLen...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Apr 15 22:39:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17d6bf046cea381413895f91e24d26d65763b59a
      https://github.com/llvm/llvm-project/commit/17d6bf046cea381413895f91e24d26d65763b59a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-04-15 (Mon, 15 Apr 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/rvv/pr88799.ll

  Log Message:
  -----------
  [RISCV] Change how MMO is rebuilt in lowerFixedLengthVectorLoadToRVV/lowerFixedLengthVectorStoreToRVV (#88811)

Copy the pointer info, flags, alignment, AAInfo, and ranges, but let
getLoad rebuild the MMO using the scalable type used for the the new
load/store. This makes sure the LLT minimum size matches the ContainerVT
minimum size. This is important since vscale_range may have been used to
determine that the fixed vector was the exact size of a scalable vector.

Fixes #88799



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list