[all-commits] [llvm/llvm-project] ddecad: [clang backend] In AArch64's DataLayout, specify a...

Doug Wyatt via All-commits all-commits at lists.llvm.org
Sun May 5 19:05:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddecadabebdd4b301bd65534b58009e57ac1bbe5
      https://github.com/llvm/llvm-project/commit/ddecadabebdd4b301bd65534b58009e57ac1bbe5
  Author: Doug Wyatt <doug at sonosphere.com>
  Date:   2024-05-05 (Sun, 05 May 2024)

  Changed paths:
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/test/CodeGen/aarch64-type-sizes.c
    M clang/test/CodeGen/coff-aarch64-type-sizes.c
    M clang/test/CodeGen/target-data.c
    M clang/test/CodeGenCXX/member-alignment.cpp
    M clang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
    M clang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
    M llvm/unittests/Bitcode/DataLayoutUpgradeTest.cpp

  Log Message:
  -----------
  [clang backend] In AArch64's DataLayout, specify a minimum function alignment of 4. (#90702)

This addresses an issue where the explicit alignment of 2 (for C++ ABI
reasons) was being propagated to the back end and causing under-aligned
functions (in special sections).

This is an alternate approach suggested by @efriedma-quic in PR #90415.

Fixes #90358



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