[all-commits] [llvm/llvm-project] a8ca4a: [clang][NFC] Bitfield access unit tests (#65742)

Nathan Sidwell via All-commits all-commits at lists.llvm.org
Fri Mar 29 06:36:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8ca4abfcfa98d28ec46ee497e1fc5e91f8e1ad6
      https://github.com/llvm/llvm-project/commit/a8ca4abfcfa98d28ec46ee497e1fc5e91f8e1ad6
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    A clang/test/CodeGen/aapcs-bitfield-access-unit.c
    M clang/test/CodeGen/arm-bitfield-alignment.c
    M clang/test/CodeGen/arm64-be-bitfield.c
    A clang/test/CodeGen/bitfield-access-pad.c
    A clang/test/CodeGen/bitfield-access-unit.c
    M clang/test/CodeGen/no-bitfield-type-align.c
    M clang/test/CodeGen/struct-x86-darwin.c
    A clang/test/CodeGenCXX/bitfield-access-empty.cpp
    A clang/test/CodeGenCXX/bitfield-access-tail.cpp
    A clang/test/CodeGenCXX/bitfield-ir.cpp
    M clang/test/CodeGenCXX/bitfield.cpp

  Log Message:
  -----------
  [clang][NFC] Bitfield access unit tests (#65742)

Verify bitfield access units.


  Commit: 7df79ababee8d03b27bbaba1aabc2ec4ea14143e
      https://github.com/llvm/llvm-project/commit/7df79ababee8d03b27bbaba1aabc2ec4ea14143e
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M clang/include/clang/Basic/TargetInfo.h
    M clang/lib/Basic/TargetInfo.cpp
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/Basic/Targets/AArch64.h
    M clang/lib/Basic/Targets/ARM.cpp
    M clang/lib/Basic/Targets/ARM.h
    M clang/lib/Basic/Targets/LoongArch.cpp
    M clang/lib/Basic/Targets/LoongArch.h
    M clang/lib/Basic/Targets/Mips.h
    M clang/lib/Basic/Targets/PPC.h
    M clang/lib/Basic/Targets/SystemZ.h
    M clang/lib/Basic/Targets/VE.h
    M clang/lib/Basic/Targets/WebAssembly.h
    M clang/lib/Basic/Targets/X86.h

  Log Message:
  -----------
  [clang] TargetInfo hook for unaligned bitfields (#65742)

Promote ARM & AArch64's HasUnaligned to TargetInfo and set for all
targets.


  Commit: 49839f97d2951e0b95d33aee00f00022952dab78
      https://github.com/llvm/llvm-project/commit/49839f97d2951e0b95d33aee00f00022952dab78
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
    M clang/test/CodeGen/aapcs-bitfield-access-unit.c
    M clang/test/CodeGen/aapcs-bitfield.c
    M clang/test/CodeGen/arm-bitfield-alignment.c
    M clang/test/CodeGen/arm64-be-bitfield.c
    M clang/test/CodeGen/bitfield-2.c
    M clang/test/CodeGen/bitfield-access-pad.c
    M clang/test/CodeGen/bitfield-access-unit.c
    M clang/test/CodeGen/debug-info-bitfield-0-struct.c
    M clang/test/CodeGen/no-bitfield-type-align.c
    M clang/test/CodeGen/struct-x86-darwin.c
    M clang/test/CodeGen/tbaa-struct.cpp
    M clang/test/CodeGenCXX/bitfield-access-empty.cpp
    M clang/test/CodeGenCXX/bitfield-access-tail.cpp
    M clang/test/CodeGenCXX/bitfield-ir.cpp
    M clang/test/CodeGenCXX/bitfield.cpp
    M clang/test/OpenMP/atomic_capture_codegen.cpp
    M clang/test/OpenMP/atomic_read_codegen.c
    M clang/test/OpenMP/atomic_update_codegen.cpp
    M clang/test/OpenMP/atomic_write_codegen.c

  Log Message:
  -----------
  [clang] Better SysV bitfield access units (#65742)

Reimplement bitfield access unit computation for SysV ABIs. Considers
expense of unaligned and non-power-of-2 accesses.


Compare: https://github.com/llvm/llvm-project/compare/7344e991ade8...49839f97d295

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