[all-commits] [llvm/llvm-project] 053949: [LoopVectorize] Add test for follow-up metadata fo...

Shilei Tian via All-commits all-commits at lists.llvm.org
Mon Mar 17 10:49:06 PDT 2025


  Branch: refs/heads/users/shiltian/data-layout-sentinel-pointer
  Home:   https://github.com/llvm/llvm-project
  Commit: 053949d4dd8f28a2daa57a6143f0267c0bd3af6c
      https://github.com/llvm/llvm-project/commit/053949d4dd8f28a2daa57a6143f0267c0bd3af6c
  Author: Ryotaro Kasuga <kasuga.ryotaro at fujitsu.com>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
    M clang/lib/Basic/Targets/AMDGPU.cpp
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/DataLayout.h
    M llvm/lib/IR/DataLayout.cpp
    M llvm/unittests/IR/DataLayoutTest.cpp

  Log Message:
  -----------
  [LoopVectorize] Add test for follow-up metadata for loops (NFC) (#131337)

When pragma of loop transformations are encoded in LLVM IR, follow-up
metadata is used if multiple transformations are specified. They are
used to explicitly express the order of the transformations. However,
they are not properly processed on each transformation pass, so now only
the first one is attempted to be applied. This is a pre-commit to add a
test that causes the problem.

ref:
https://github.com/llvm/llvm-project/pull/127474#issuecomment-2717790398


  Commit: 2f0682a405940f6e085af91d7b2e7df7f6ea4896
      https://github.com/llvm/llvm-project/commit/2f0682a405940f6e085af91d7b2e7df7f6ea4896
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
    M clang/test/CodeGen/target-data.c
    M clang/test/CodeGenOpenCL/amdgpu-env-amdgcn.cl
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp

  Log Message:
  -----------
  Update backend data layout for AMDGPU as well


Compare: https://github.com/llvm/llvm-project/compare/c3f38d09140d...2f0682a40594

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