[all-commits] [llvm/llvm-project] 790c9a: [ClangFE] Handle statement expressions properly wi...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Tue Apr 18 10:34:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 790c9ac529c9ad0d7e89e3de2041d85cfc411b40
      https://github.com/llvm/llvm-project/commit/790c9ac529c9ad0d7e89e3de2041d85cfc411b40
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2023-04-18 (Tue, 18 Apr 2023)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/SystemZ/sync-builtins-i128-16Al.c

  Log Message:
  -----------
  [ClangFE] Handle statement expressions properly with CheckAtomicAlignment().

Make CheckAtomicAlignment() return the computed pointer for reuse to avoid
emitting it twice.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D148422




More information about the All-commits mailing list