[all-commits] [llvm/llvm-project] 1dac30: [LV] Explicitly disallow interleaved access requir...

Mel Chen via All-commits all-commits at lists.llvm.org
Mon Aug 18 17:43:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dac302ce70c51d012c2df05f9682b969d831ba6
      https://github.com/llvm/llvm-project/commit/1dac302ce70c51d012c2df05f9682b969d831ba6
  Author: Mel Chen <mel.chen at sifive.com>
  Date:   2025-08-19 (Tue, 19 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

  Log Message:
  -----------
  [LV] Explicitly disallow interleaved access requiring gap mask for scalable VFs. nfc (#154122)

Currently, VPInterleaveRecipe::execute does not support generating LLVM
IR for interleaved accesses that require a gap mask for scalable VFs.
It would be better to detect and prevent such groups from being
vectorized as interleaved accesses in
LoopVectorizationCostModel::interleavedAccessCanBeWidened, rather than
relying on the TTI function getInterleavedMemoryOpCost to return an
invalid cost.



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