[all-commits] [llvm/llvm-project] b6965f: [IR] Add alignment for llvm.threadlocal.address

Alexander Shaposhnikov via All-commits all-commits at lists.llvm.org
Tue Sep 13 16:11:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6965f7246bba1b399755f56d8ae34893e815198
      https://github.com/llvm/llvm-project/commit/b6965f7246bba1b399755f56d8ae34893e815198
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M clang/test/CodeGenCXX/cxx11-thread-local-instantiated.cpp
    M clang/test/CodeGenCXX/cxx11-thread-local-reference.cpp
    M clang/test/CodeGenCXX/cxx11-thread-local.cpp
    M clang/test/CodeGenCXX/cxx1y-variable-template.cpp
    M clang/test/CodeGenCXX/cxx2a-thread-local-constinit.cpp
    M clang/test/CodeGenCXX/microsoft-abi-thread-safe-statics.cpp
    M clang/test/CodeGenCXX/pr18635.cpp
    M clang/test/CodeGenCXX/threadlocal_address.cpp
    M clang/test/Modules/initializers.cpp
    M clang/test/OpenMP/parallel_copyin_codegen.cpp
    M clang/test/OpenMP/parallel_copyin_combined_codegen.c
    M clang/test/OpenMP/parallel_master_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
    M clang/test/OpenMP/threadprivate_codegen.cpp
    M llvm/lib/IR/IRBuilder.cpp

  Log Message:
  -----------
  [IR] Add alignment for llvm.threadlocal.address

This diff sets the alignment attribute for the return value
and the argument of llvm.threadlocal.address.

(https://github.com/llvm/llvm-project/issues/57438)

Test plan: ninja check-all

Differential revision: https://reviews.llvm.org/D133741




More information about the All-commits mailing list