[clang] [Clang][CodeGen] Add metadata for load from reference (PR #98746)

2025-05-20 Thread Yingwei Zheng via cfe-commits
dtcxzyw wrote: Ping. https://github.com/llvm/llvm-project/pull/98746 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][AIX] Handle triple environment component for per target runtime directory (PR #140850)

2025-05-20 Thread Jake Egan via cfe-commits
https://github.com/jakeegan created https://github.com/llvm/llvm-project/pull/140850 Previously, when the triple is `powerpc-ibm-aix-unknown`, the driver fails to find subdirectory `lib/powerpc-ibm-aix`. This ensures the correct runtime path is found if the triple has the environment componen

[clang] [libc] [llvm] [clang] Make __builtin_expf constexpr. (PR #140841)

2025-05-20 Thread Alexey Samsonov via cfe-commits
@@ -117,7 +117,7 @@ followed: `ErrorOr `_ to return error values. -#. The header file ``src/errno/libc_errno.h`` is shipped as part of the target +#. The header file ``src/__support/libc_errno

[clang] [libc] [llvm] [clang] Make __builtin_expf constexpr. (PR #140841)

2025-05-20 Thread Alexey Samsonov via cfe-commits
@@ -0,0 +1,22 @@ +//===-- Floating point math functions ---*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[clang] [libc] [llvm] [clang] Make __builtin_expf constexpr. (PR #140841)

2025-05-20 Thread Alexey Samsonov via cfe-commits
@@ -83,14 +45,11 @@ Errno::operator int() { return shared_errno; } void Errno::operator=(int a) { *__llvm_libc_errno() = a; } Errno::operator int() { return *__llvm_libc_errno(); } -#elif LIBC_ERRNO_MODE == LIBC_ERRNO_MODE_SYSTEM vonosmas wrote: I think it ma

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-20 Thread Vitaly Buka via cfe-commits
@@ -58,7 +58,7 @@ Usage with UndefinedBehaviorSanitizer ability to adjust instrumentation based on type. By default, supported sanitizers will have their instrumentation disabled for -types specified within an ignorelist. +entris specified within an ignorelist. ---

[clang] [clang][AIX] Handle triple environment component for per target runtime directory (PR #140850)

2025-05-20 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff HEAD~1 HEAD --extensions c,cpp -- clang/lib/Driver/ToolChain.cpp clang/test/Driver/ai

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-20 Thread Vitaly Buka via cfe-commits
@@ -77,10 +77,8 @@ For example, supplying the above ``ignorelist.txt`` to ``-fsanitize-ignorelist=ignorelist.txt`` disables overflow sanitizer instrumentation for arithmetic operations containing values of type ``int``. -The ``=sanitize`` category is also supported. Any types

[libclc] [libclc] Re-use shuffle_decl.inc in OpenCL shuffle2 declaration (PR #140679)

2025-05-20 Thread Wenju He via cfe-commits
https://github.com/wenju-he updated https://github.com/llvm/llvm-project/pull/140679 >From 5015512439f6ba846223b1d04e71d8cdae36d3fa Mon Sep 17 00:00:00 2001 From: Wenju He Date: Mon, 19 May 2025 22:14:55 -0700 Subject: [PATCH 1/2] [libclc] Re-use shuffle_decl.inc in OpenCL shuffle2 declaration

<    1   2   3   4   5   6