[all-commits] [llvm/llvm-project] bbff5b: [VPlan] Use alloc-type to compute interleave group...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Oct 15 23:22:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbff5b8891c0ce929d6ace2d86ea6891425042e2
      https://github.com/llvm/llvm-project/commit/bbff5b8891c0ce929d6ace2d86ea6891425042e2
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-10-16 (Wed, 16 Oct 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/interleaved-accesses-different-insert-position.ll

  Log Message:
  -----------
  [VPlan] Use alloc-type to compute interleave group offset.

Use getAllocTypeSize to get compute the offset to the start of
interleave groups instead getScalarSizeInBits, which may return 0 for
pointers. This is in line with the analysis building the interleave
groups and fixes a mis-compile reported for
https://github.com/llvm/llvm-project/pull/106431.



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