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

Shilei Tian via All-commits all-commits at lists.llvm.org
Mon Mar 17 09:55:22 PDT 2025


  Branch: refs/heads/users/shiltian/data-layout-sentinel-pointer
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b8a0c7dc3b9229f43643b2f2937e0607bc0a9c8
      https://github.com/llvm/llvm-project/commit/4b8a0c7dc3b9229f43643b2f2937e0607bc0a9c8
  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: c3f38d09140d0821e6d865eca3fcaaa525e6b070
      https://github.com/llvm/llvm-project/commit/c3f38d09140d0821e6d865eca3fcaaa525e6b070
  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/bc7c7a3c2d62...c3f38d09140d

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