[clang] clang/OpenCL: set sqrt fp accuracy on call to Z4sqrt (PR #66651)

2023-11-30 Thread Matt Arsenault via cfe-commits
arsenm wrote: > lgtm, but a strict reading of the spec would filter out arbitrary other > ext_vector_types Still think this would be a good follow up https://github.com/llvm/llvm-project/pull/66651 ___ cfe-commits mailing list cfe-commits@lists.llvm

[clang] clang/OpenCL: set sqrt fp accuracy on call to Z4sqrt (PR #66651)

2023-11-30 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm closed https://github.com/llvm/llvm-project/pull/66651 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] d56e0d0 - clang/OpenCL: set sqrt fp accuracy on call to Z4sqrt (#66651)

2023-11-30 Thread via cfe-commits
Author: Romaric Jodin Date: 2023-12-01T16:34:44+09:00 New Revision: d56e0d07cc5ee8e334fd1ad403eef0b1a771384f URL: https://github.com/llvm/llvm-project/commit/d56e0d07cc5ee8e334fd1ad403eef0b1a771384f DIFF: https://github.com/llvm/llvm-project/commit/d56e0d07cc5ee8e334fd1ad403eef0b1a771384f.diff

[clang] [clang] Use the materialized temporary's type while creating the APValue (PR #73355)

2023-11-30 Thread Younan Zhang via cfe-commits
https://github.com/zyn0217 closed https://github.com/llvm/llvm-project/pull/73355 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] c1ad363 - [clang] Use the materialized temporary's type while creating the APValue (#73355)

2023-11-30 Thread via cfe-commits
Author: Younan Zhang Date: 2023-12-01T15:20:04+08:00 New Revision: c1ad363e6eba308fa94c47374ee98b3c79693a35 URL: https://github.com/llvm/llvm-project/commit/c1ad363e6eba308fa94c47374ee98b3c79693a35 DIFF: https://github.com/llvm/llvm-project/commit/c1ad363e6eba308fa94c47374ee98b3c79693a35.diff

[clang] [llvm] [PGO][GlobalValue][LTO]In GlobalValues::getGlobalIdentifier, use semicolon as delimiter for local-linkage varibles. (PR #74008)

2023-11-30 Thread Mingming Liu via cfe-commits
https://github.com/minglotus-6 edited https://github.com/llvm/llvm-project/pull/74008 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PGO][GlobalValue][LTO]In GlobalValues::getGlobalIdentifier, use semicolon as delimiter for local-linkage varibles. (PR #74008)

2023-11-30 Thread Mingming Liu via cfe-commits
@@ -0,0 +1,70 @@ +#!/bin/bash + +if [ $# -lt 2 ]; then + echo "Path to clang and llvm-profdata required!" + echo "Usage: update_icall_promotion_inputs.sh /path/to/updated/clang /path/to/updated/llvm-profdata" + exit 1 +else + CLANG=$1 + LLVMPROFDATA=$2 +fi + +# Allows the sc

[llvm] [clang] [PGO][GlobalValue][LTO]In GlobalValues::getGlobalIdentifier, use semicolon as delimiter for local-linkage varibles. (PR #74008)

2023-11-30 Thread Mingming Liu via cfe-commits
@@ -300,12 +316,8 @@ getIRPGONameForGlobalObject(const GlobalObject &GO, GlobalValue::LinkageTypes Linkage, StringRef FileName) { SmallString<64> Name; - if (llvm::GlobalValue::isLocalLinkage(Linkage)) { -Name.appen

[llvm] [clang] [PGO][GlobalValue][LTO]In GlobalValues::getGlobalIdentifier, use semicolon as delimiter for local-linkage varibles. (PR #74008)

2023-11-30 Thread Mingming Liu via cfe-commits
@@ -246,11 +246,27 @@ std::string InstrProfError::message() const { char InstrProfError::ID = 0; -std::string getPGOFuncName(StringRef RawFuncName, - GlobalValue::LinkageTypes Linkage, +std::string getPGOFuncName(StringRef Name, GlobalValue::LinkageT

[llvm] [clang] [PGO][GlobalValue][LTO]In GlobalValues::getGlobalIdentifier, use semicolon as delimiter for local-linkage varibles. (PR #74008)

2023-11-30 Thread Mingming Liu via cfe-commits
https://github.com/minglotus-6 updated https://github.com/llvm/llvm-project/pull/74008 >From 4cb5b087485124a7f2375fdc018b42a0401e6409 Mon Sep 17 00:00:00 2001 From: mingmingl Date: Thu, 30 Nov 2023 15:41:37 -0800 Subject: [PATCH 1/2] [PGO][GlobalValue][LTO]In GlobalValues::getGlobalIdentifier,

[clang] [AMDGPU] Treat printf as builtin for OpenCL (PR #72554)

2023-11-30 Thread Matt Arsenault via cfe-commits
@@ -406,5 +410,9 @@ TARGET_BUILTIN(__builtin_amdgcn_cvt_pk_fp8_f32, "iffiIb", "nc", "fp8-insts") TARGET_BUILTIN(__builtin_amdgcn_cvt_sr_bf8_f32, "ifiiIi", "nc", "fp8-insts") TARGET_BUILTIN(__builtin_amdgcn_cvt_sr_fp8_f32, "ifiiIi", "nc", "fp8-insts") +// OpenCL +LANGBUILTIN(p

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-11-30 Thread Petr Hosek via cfe-commits
https://github.com/petrhosek approved this pull request. https://github.com/llvm/llvm-project/pull/69447 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang] [llvm] [LLVM] Add IRNormalizer Pass (PR #68176)

2023-11-30 Thread Justin Fargnoli via cfe-commits
justinfargnoli wrote: Unless other comments brought up, I'll plan on merging this on Monday the 4th. https://github.com/llvm/llvm-project/pull/68176 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinf

[clang] [AMDGPU] Treat printf as builtin for OpenCL (PR #72554)

2023-11-30 Thread Vikram Hegde via cfe-commits
https://github.com/vikramRH edited https://github.com/llvm/llvm-project/pull/72554 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AMDGPU] Treat printf as builtin for OpenCL (PR #72554)

2023-11-30 Thread Vikram Hegde via cfe-commits
@@ -406,5 +410,9 @@ TARGET_BUILTIN(__builtin_amdgcn_cvt_pk_fp8_f32, "iffiIb", "nc", "fp8-insts") TARGET_BUILTIN(__builtin_amdgcn_cvt_sr_bf8_f32, "ifiiIi", "nc", "fp8-insts") TARGET_BUILTIN(__builtin_amdgcn_cvt_sr_fp8_f32, "ifiiIi", "nc", "fp8-insts") +// OpenCL +LANGBUILTIN(p

[clang] [clang][AMDGPU] precommit test for ballot on Windows (PR #73920)

2023-11-30 Thread Sameer Sahasrabuddhe via cfe-commits
https://github.com/ssahasra updated https://github.com/llvm/llvm-project/pull/73920 >From 6b87550b48f5fae5c34304a14a302d37e81a Mon Sep 17 00:00:00 2001 From: Sameer Sahasrabuddhe Date: Fri, 1 Dec 2023 11:49:02 +0530 Subject: [PATCH] [clang][AMDGPU] precommit test for ballot on Windows The

[clang] [Driver] Add ExclusiveGroup feature to multilib.yaml. (PR #69447)

2023-11-30 Thread Petr Hosek via cfe-commits
@@ -138,10 +164,34 @@ static const VersionTuple MultilibVersionCurrent(1, 0); struct MultilibSerialization { std::string Dir; std::vector Flags; + std::string Group; +}; + +struct MultilibGroupSerialization { + /* + * Future directions: + * + * If it's needed in fut

[mlir] [llvm] [lldb] [libcxx] [clang-tools-extra] [libc] [clang] [openmp] [compiler-rt] [libunwind] [flang] [lld] [libcxxabi] Fix Logical expression used for merged conditional if in FlattenCFG pass (

2023-11-30 Thread Matt Arsenault via cfe-commits
@@ -25,13 +25,13 @@ define void @test_not_crash(i32 %in_a) #0 { entry: %cmp0 = icmp eq i32 %in_a, -1 %cmp1 = icmp ne i32 %in_a, 0 - %cond0 = and i1 %cmp0, %cmp1 + %cond0 = or i1 %cmp0, %cmp1 arsenm wrote: Original tests still changing? Needs new copies

[clang] [openmp] [OpenMP] return empty stmt for `nothing` (PR #74042)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Sandeep Kosuri (sandeepkosuri) Changes - `nothing` directive was effecting the `if` block structure which it should not. So return an empty statement instead of an error statement while parsing to avoid this. --- Full diff: https://githu

[clang] [openmp] [OpenMP] return empty stmt for `nothing` (PR #74042)

2023-11-30 Thread Sandeep Kosuri via cfe-commits
https://github.com/sandeepkosuri created https://github.com/llvm/llvm-project/pull/74042 - `nothing` directive was effecting the `if` block structure which it should not. So return an empty statement instead of an error statement while parsing to avoid this. >From e60bc748d9c856d6f7be9cea42df

[clang] [llvm] [AMDGPU] Enable OpenCL hostcall printf (WIP) (PR #72556)

2023-11-30 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm commented: Is there a separate PR open for "Add vector processing support to AMDGPU printf"? I think it's easiest to move this part forward first https://github.com/llvm/llvm-project/pull/72556 ___ cfe-commits mailing list c

[libcxx] [compiler-rt] [openmp] [libc] [lld] [libunwind] [clang-tools-extra] [clang] [libcxxabi] [llvm] [mlir] [lldb] [flang] Fix Logical expression used for merged conditional if in FlattenCFG pass (

2023-11-30 Thread via cfe-commits
https://github.com/mahtohappy updated https://github.com/llvm/llvm-project/pull/72522 Sorry, this diff is unavailable. ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AMDGPU] Treat printf as builtin for OpenCL (PR #72554)

2023-11-30 Thread Matt Arsenault via cfe-commits
@@ -406,5 +410,9 @@ TARGET_BUILTIN(__builtin_amdgcn_cvt_pk_fp8_f32, "iffiIb", "nc", "fp8-insts") TARGET_BUILTIN(__builtin_amdgcn_cvt_sr_bf8_f32, "ifiiIi", "nc", "fp8-insts") TARGET_BUILTIN(__builtin_amdgcn_cvt_sr_fp8_f32, "ifiiIi", "nc", "fp8-insts") +// OpenCL +LANGBUILTIN(p

[libcxx] [libc] [clang-tools-extra] [clang] [llvm] [mlir] [compiler-rt] [flang] [sanitizer_symbolizer] RenderContextual elements for symbolizer markup. (PR #73194)

2023-11-30 Thread Petr Hosek via cfe-commits
=?utf-8?q?Andr=C3=A9s?= Villegas , =?utf-8?q?Andr=C3=A9s?= Villegas Message-ID: In-Reply-To: https://github.com/petrhosek approved this pull request. https://github.com/llvm/llvm-project/pull/73194 ___ cfe-commits mailing list cfe-commits@lists.llvm

[clang] 5c60e2c - [clang-format][NFC] Reformat source code with clang-format style

2023-11-30 Thread Owen Pan via cfe-commits
Author: Owen Pan Date: 2023-11-30T20:19:30-08:00 New Revision: 5c60e2ce78e79c2d15152e08d9e28fcf3a1d4e51 URL: https://github.com/llvm/llvm-project/commit/5c60e2ce78e79c2d15152e08d9e28fcf3a1d4e51 DIFF: https://github.com/llvm/llvm-project/commit/5c60e2ce78e79c2d15152e08d9e28fcf3a1d4e51.diff LOG:

[clang] Clang/MIPS: Use -mnan value for -mabs if not specified (PR #71157)

2023-11-30 Thread Brad Smith via cfe-commits
brad0 wrote: @MaskRay Ping. https://github.com/llvm/llvm-project/pull/71157 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [mlir] [openmp] [OpenMP] Introduce the KernelLaunchEnvironment as implicit argument (PR #70401)

2023-11-30 Thread via cfe-commits
dhruvachak wrote: After https://github.com/llvm/llvm-project/pull/73864, only reduction kernels may have the additional data submit for the kernel launch environment. If you have an INFO message like in https://github.com/llvm/llvm-project/pull/74030, you will see this additional INFO message

[llvm] [clang] [RISCV] Collapse fast unaligned access into a single feature [nfc-ish] (PR #73971)

2023-11-30 Thread Wang Pengcheng via cfe-commits
@@ -171,18 +171,12 @@ void riscv::getRISCVTargetFeatures(const Driver &D, const llvm::Triple &Triple, Features.push_back("-save-restore"); // -mno-unaligned-access is default, unless -munaligned-access is specified. - bool HasV = llvm::is_contained(Features, "+zve32x")

[llvm] [clang] [RISCV] Collapse fast unaligned access into a single feature [nfc-ish] (PR #73971)

2023-11-30 Thread Wang Pengcheng via cfe-commits
https://github.com/wangpc-pp edited https://github.com/llvm/llvm-project/pull/73971 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV] Collapse fast unaligned access into a single feature [nfc-ish] (PR #73971)

2023-11-30 Thread Wang Pengcheng via cfe-commits
https://github.com/wangpc-pp approved this pull request. LGTM with nit. https://github.com/llvm/llvm-project/pull/73971 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Remove NetBSD/i386 workaround for FP eval method with older versions (PR #74025)

2023-11-30 Thread Brad Smith via cfe-commits
https://github.com/brad0 edited https://github.com/llvm/llvm-project/pull/74025 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Remove NetBSD workaround for FP eval method with older versions (PR #74025)

2023-11-30 Thread Brad Smith via cfe-commits
https://github.com/brad0 updated https://github.com/llvm/llvm-project/pull/74025 >From 00b44ae89a46af7159087789c25ba5c4942eca6f Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 30 Nov 2023 20:50:01 -0500 Subject: [PATCH] [Clang] Remove NetBSD/i386 workaround for FP eval method with older ve

[clang] [Clang] Remove NetBSD workaround for FP eval method with older versions (PR #74025)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-backend-x86 Author: Brad Smith (brad0) Changes NetBSD 7.x is long EoL. Make 8.x the minimum. --- Full diff: https://github.com/llvm/llvm-project/pull/74025.diff 2 Files Affected: - (modified) clang/lib/Basic/Targets/X86.h (

[clang] [Clang] Remove NetBSD workaround for FP eval method with older versions (PR #74025)

2023-11-30 Thread Brad Smith via cfe-commits
https://github.com/brad0 created https://github.com/llvm/llvm-project/pull/74025 NetBSD 7.x is long EoL. Make 8.x the minimum. >From 90064d300b35f1eef7245d907d7f881d149020d1 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 30 Nov 2023 20:50:01 -0500 Subject: [PATCH] [Clang] Remove NetBSD wo

[clang] Thread safety analysis: Fix a bug in handling temporary constructors (PR #74020)

2023-11-30 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 668a4a238045e7f300b771f7e4cfa723d8bde237 ecb13c381d99010dc04a2da4e945dfd1132777fd --

[clang] Thread safety analysis: Fix a bug in handling temporary constructors (PR #74020)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-analysis Author: Ziqing Luo (ziqingluo-90) Changes The commit 54bfd04846156dbd5e0a6b88f539c3d4569a455f introduces general handling of constructor and destructor calls. Consider a pair of TEMPORARY constructor and destr

[clang] Thread safety analysis: Fix a bug in handling temporary constructors (PR #74020)

2023-11-30 Thread Ziqing Luo via cfe-commits
https://github.com/ziqingluo-90 created https://github.com/llvm/llvm-project/pull/74020 The commit 54bfd04846156dbd5e0a6b88f539c3d4569a455f introduces general handling of constructor and destructor calls. Consider a pair of TEMPORARY constructor and destructor calls of a "SCOPED_CAPABILITY" o

[mlir] [clang-tools-extra] [flang] [compiler-rt] [llvm] [clang] [libcxx] [libc] [sanitizer_symbolizer] RenderContextual elements for symbolizer markup. (PR #73194)

2023-11-30 Thread Vitaly Buka via cfe-commits
=?utf-8?q?Andr=C3=A9s?= Villegas , =?utf-8?q?Andr=C3=A9s?= Villegas Message-ID: In-Reply-To: https://github.com/vitalybuka approved this pull request. https://github.com/llvm/llvm-project/pull/73194 ___ cfe-commits mailing list cfe-commits@lists.llv

[clang] [Driver] Add support for -export-dynamic which can match GCC behavior. (PR #72781)

2023-11-30 Thread dong jianqiang via cfe-commits
https://github.com/dongjianqiang2 closed https://github.com/llvm/llvm-project/pull/72781 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[mlir] [clang-tools-extra] [flang] [compiler-rt] [llvm] [clang] [libcxx] [libc] [sanitizer_symbolizer] RenderContextual elements for symbolizer markup. (PR #73194)

2023-11-30 Thread Vitaly Buka via cfe-commits
=?utf-8?q?Andr=C3=A9s?= Villegas , =?utf-8?q?Andr=C3=A9s?= Villegas Message-ID: In-Reply-To: vitalybuka wrote: Make sure to click "re-request review" https://github.com/llvm/llvm-project/pull/73194 ___ cfe-commits mailing list cfe-commits@lists.llvm

[mlir] [clang-tools-extra] [flang] [compiler-rt] [llvm] [clang] [libcxx] [libc] [sanitizer_symbolizer] RenderContextual elements for symbolizer markup. (PR #73194)

2023-11-30 Thread Andres Villegas via cfe-commits
=?utf-8?q?Andr=C3=A9s?= Villegas , =?utf-8?q?Andr=C3=A9s?= Villegas Message-ID: In-Reply-To: avillega wrote: Ping đź‘‹ https://github.com/llvm/llvm-project/pull/73194 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-b

[clang] [llvm] [clang][llvm][fatlto] Avoid cloning modules in FatLTO (PR #72180)

2023-11-30 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi closed https://github.com/llvm/llvm-project/pull/72180 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] cfe1ece - [clang][llvm][fatlto] Avoid cloning modules in FatLTO (#72180)

2023-11-30 Thread via cfe-commits
Author: Paul Kirth Date: 2023-11-30T17:09:34-08:00 New Revision: cfe1ece833d643921da2735cd80e32b32ef170fb URL: https://github.com/llvm/llvm-project/commit/cfe1ece833d643921da2735cd80e32b32ef170fb DIFF: https://github.com/llvm/llvm-project/commit/cfe1ece833d643921da2735cd80e32b32ef170fb.diff LO

[clang] 7ae1b76 - Fix ARM Sanitizer build

2023-11-30 Thread Kirill Stoimenov via cfe-commits
Author: Kirill Stoimenov Date: 2023-12-01T00:32:26Z New Revision: 7ae1b76ed7271b2e86a3cda72d9e1fc63f4e5c48 URL: https://github.com/llvm/llvm-project/commit/7ae1b76ed7271b2e86a3cda72d9e1fc63f4e5c48 DIFF: https://github.com/llvm/llvm-project/commit/7ae1b76ed7271b2e86a3cda72d9e1fc63f4e5c48.diff L

[clang] [WIP] Reset codegen options. (PR #74006)

2023-11-30 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka created https://github.com/llvm/llvm-project/pull/74006 None >From e59fb655d0b14493aa7fbc9cc9810ca8d00aca24 Mon Sep 17 00:00:00 2001 From: Juergen Ributzka Date: Mon, 6 Nov 2023 14:22:02 -0800 Subject: [PATCH] [WIP] Reset codegen options. --- clang/include/clang/B

[flang] [libcxx] [libunwind] [libc] [llvm] [clang] [lld] [lldb] [clang-tools-extra] [compiler-rt] Fix clang to recognize new C23 modifiers %w and %wf when printing (PR #71771)

2023-11-30 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/71771 >From 06c4cf02dfb4b20c8349c5f3c7209276f6d56edf Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 9 Nov 2023 02:21:46 + Subject: [PATCH 1/3] Fix clang to recognize new C23 modifiers %w and %wf when pri

[clang] Fix documentation on PGO/coverage related options. (PR #73845)

2023-11-30 Thread David Li via cfe-commits
https://github.com/david-xl updated https://github.com/llvm/llvm-project/pull/73845 >From 15dd2029a68a6fdbbc4eee5764ce966e0533880f Mon Sep 17 00:00:00 2001 From: David Li Date: Wed, 29 Nov 2023 11:56:31 -0800 Subject: [PATCH] Fix PGO documentation in user manual --- clang/docs/UsersManual.rst

[llvm] [clang] [RISCV] Collapse fast unaligned access into a single feature [nfc-ish] (PR #73971)

2023-11-30 Thread Craig Topper via cfe-commits
https://github.com/topperc approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/73971 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Remove support for FreeBSD 11.x (PR #73392)

2023-11-30 Thread Brad Smith via cfe-commits
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/73392 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 812dad5 - [Driver] Remove support for FreeBSD 11.x (#73392)

2023-11-30 Thread via cfe-commits
Author: Brad Smith Date: 2023-11-30T17:58:09-05:00 New Revision: 812dad536ed50abe94d6e2b2519f351791c24c59 URL: https://github.com/llvm/llvm-project/commit/812dad536ed50abe94d6e2b2519f351791c24c59 DIFF: https://github.com/llvm/llvm-project/commit/812dad536ed50abe94d6e2b2519f351791c24c59.diff LO

[clang] [Driver] Remove support for FreeBSD 11.x (PR #73392)

2023-11-30 Thread Brad Smith via cfe-commits
brad0 wrote: Thanks. https://github.com/llvm/llvm-project/pull/73392 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [clang][llvm][fatlto] Avoid cloning modules in FatLTO (PR #72180)

2023-11-30 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/72180 >From 6d971446fac3c65b1e7d48a7c9277b35133460ff Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Mon, 13 Nov 2023 23:54:51 + Subject: [PATCH 1/8] [clang][llvm][fatlto] Avoid cloning modules in FatLTO https://g

[clang] Fix documentation on PGO/coverage related options. (PR #73845)

2023-11-30 Thread David Li via cfe-commits
https://github.com/david-xl updated https://github.com/llvm/llvm-project/pull/73845 >From 7f64cc07b2883b9fde672510a3b7c1b71cfb4dfd Mon Sep 17 00:00:00 2001 From: David Li Date: Wed, 29 Nov 2023 11:56:31 -0800 Subject: [PATCH] Fix PGO documentation in user manual --- clang/docs/UsersManual.rst

[clang] Fix documentation on PGO/coverage related options. (PR #73845)

2023-11-30 Thread David Li via cfe-commits
@@ -4401,13 +4413,18 @@ Execute ``clang-cl /?`` to see a list of supported options: Instrument only functions from files where names don't match all the regexes separated by a semi-colon -fprofile-filter-files=

[clang] Fix documentation on PGO/coverage related options. (PR #73845)

2023-11-30 Thread David Li via cfe-commits
@@ -4401,13 +4413,18 @@ Execute ``clang-cl /?`` to see a list of supported options: Instrument only functions from files where names don't match all the regexes separated by a semi-colon -fprofile-filter-files=

[clang] Fix documentation on PGO/coverage related options. (PR #73845)

2023-11-30 Thread David Li via cfe-commits
@@ -4401,13 +4413,18 @@ Execute ``clang-cl /?`` to see a list of supported options: Instrument only functions from files where names don't match all the regexes separated by a semi-colon -fprofile-filter-files=

[clang] Fix documentation on PGO/coverage related options. (PR #73845)

2023-11-30 Thread David Li via cfe-commits
https://github.com/david-xl updated https://github.com/llvm/llvm-project/pull/73845 >From ce4c93c2b250e2f4b6703f6321397dd774333f35 Mon Sep 17 00:00:00 2001 From: David Li Date: Wed, 29 Nov 2023 11:56:31 -0800 Subject: [PATCH] Fix PGO documentation in user manual --- clang/docs/UsersManual.rst

[flang] [clang] [flang] Add MSC_VER and target arch defines when targeting the MSVC ABI (PR #73250)

2023-11-30 Thread David Truby via cfe-commits
DavidTruby wrote: It wasn't, I think I have replaced this https://github.com/llvm/llvm-project/pull/73250 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com

[llvm] [clang] [clang][llvm][fatlto] Avoid cloning modules in FatLTO (PR #72180)

2023-11-30 Thread Paul Kirth via cfe-commits
@@ -29,34 +29,42 @@ Overview Within LLVM, FatLTO is supported by choosing the ``FatLTODefaultPipeline``. This pipeline will: -#) Clone the IR module. -#) Run the pre-link (Thin)LTO pipeline using the cloned module. +#) Run the pre-link UnifiedLTO pipeline on the current module

[clang] [clang][bpf] Fix invalid RUN lines in stack protector warning test (PR #65251)

2023-11-30 Thread via cfe-commits
eddyz87 wrote: > @eddyz87 ping! @DavidSpickett, my apologies, I messed up my notification settings. Thank you for fixing this test. https://github.com/llvm/llvm-project/pull/65251 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.l

[clang] Fix documentation on PGO/coverage related options. (PR #73845)

2023-11-30 Thread Petr Hosek via cfe-commits
@@ -4401,13 +4413,18 @@ Execute ``clang-cl /?`` to see a list of supported options: Instrument only functions from files where names don't match all the regexes separated by a semi-colon -fprofile-filter-files=

[clang] Fix documentation on PGO/coverage related options. (PR #73845)

2023-11-30 Thread Petr Hosek via cfe-commits
@@ -4401,13 +4413,18 @@ Execute ``clang-cl /?`` to see a list of supported options: Instrument only functions from files where names don't match all the regexes separated by a semi-colon -fprofile-filter-files=

[clang] Fix documentation on PGO/coverage related options. (PR #73845)

2023-11-30 Thread Petr Hosek via cfe-commits
@@ -4401,13 +4413,18 @@ Execute ``clang-cl /?`` to see a list of supported options: Instrument only functions from files where names don't match all the regexes separated by a semi-colon -fprofile-filter-files=

[clang] [Clang] Implement P2308R1 - Template Parameter Initialization. (PR #73103)

2023-11-30 Thread via cfe-commits
https://github.com/cor3ntin edited https://github.com/llvm/llvm-project/pull/73103 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Introduce scoped variants of GNU atomic functions (PR #72280)

2023-11-30 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 updated https://github.com/llvm/llvm-project/pull/72280 >From ce494cd3f50720b6ba2b8a689f30272c09c06d00 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Mon, 6 Nov 2023 07:08:18 -0600 Subject: [PATCH] [Clang] Introduce scoped variants of GNU atomic functions Summary:

[clang] [Driver] Remove support for FreeBSD 11.x (PR #73392)

2023-11-30 Thread Ed Maste via cfe-commits
https://github.com/emaste approved this pull request. https://github.com/llvm/llvm-project/pull/73392 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV] Always emit relocations for resolved symbols and relax (PR #73793)

2023-11-30 Thread Jessica Clarke via cfe-commits
jrtc27 wrote: > Also, we cannot trust Subtarget features here, because it may be empty in > case of LTO codegen, preventing relaxations. And that's the problem. It's vital that we have the information. Anything else is just a hack that papers over the fundamental issue. https://github.com/llv

[clang] [llvm] [RISCV] Always emit relocations for resolved symbols and relax (PR #73793)

2023-11-30 Thread Jessica Clarke via cfe-commits
jrtc27 wrote: As far as I can tell this is pointless. If you want relaxation you need R_RISCV_RELAX and R_RISC_ALIGN relocations to be emitted. If you don't want relaxation you don't need these. Therefore it seems like all this does is emit a whole bunch of useless relocations for the case whe

[clang] [BoundsSafety] Initial documentation for -fbounds-safety (PR #70749)

2023-11-30 Thread Adrian Prantl via cfe-commits
@@ -0,0 +1,255 @@ + +Implementation plans for ``-fbounds-safety`` + + +.. contents:: + :local: + +External bounds annotations +=== + +The bounds annotations are C type

[clang] [BoundsSafety] Initial documentation for -fbounds-safety (PR #70749)

2023-11-30 Thread Adrian Prantl via cfe-commits
https://github.com/adrian-prantl approved this pull request. Debug info part looks good! https://github.com/llvm/llvm-project/pull/70749 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [BoundsSafety] Initial documentation for -fbounds-safety (PR #70749)

2023-11-30 Thread Adrian Prantl via cfe-commits
https://github.com/adrian-prantl edited https://github.com/llvm/llvm-project/pull/70749 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][DependencyScanner] Include the working directory in the context hash (PR #73719)

2023-11-30 Thread Michael Spencer via cfe-commits
https://github.com/Bigcheese closed https://github.com/llvm/llvm-project/pull/73719 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 13386c6 - [clang][DependencyScanner] Include the working directory in the context hash (#73719)

2023-11-30 Thread via cfe-commits
Author: Michael Spencer Date: 2023-11-30T12:47:27-08:00 New Revision: 13386c608e6d571d2d91eea5f7c8fb6911d6dcfb URL: https://github.com/llvm/llvm-project/commit/13386c608e6d571d2d91eea5f7c8fb6911d6dcfb DIFF: https://github.com/llvm/llvm-project/commit/13386c608e6d571d2d91eea5f7c8fb6911d6dcfb.dif

[clang-tools-extra] [clang-tidy] Add new performance-use-starts-ends-with check (PR #72385)

2023-11-30 Thread Carlos Galvez via cfe-commits
carlosgalvezp wrote: Apologies for the late reply, need to fix my mail filter so I don't miss the notifications! IMHO either modernize or readability are suitable categories. Performance can vary/be negligible depending on context I suppose? https://github.com/llvm/llvm-project/pull/72385 ___

[clang] [Clang] Introduce scoped variants of GNU atomic functions (PR #72280)

2023-11-30 Thread Joseph Huber via cfe-commits
jhuber6 wrote: > My primary concerns here are: > > * It being likely these builtins will be superseded by something else > once someone else tries to standardize this. Maybe this isn't a big deal... > but maybe we want to choose names that are less likely to overlap with stuff > anyone e

[clang] [Driver] Remove support for FreeBSD 11.x (PR #73392)

2023-11-30 Thread Dimitry Andric via cfe-commits
DimitryAndric wrote: Yes, this should be fine. https://github.com/llvm/llvm-project/pull/73392 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][dataflow] Retrieve members from accessors called using member… (PR #73978)

2023-11-30 Thread Samira Bazuzi via cfe-commits
bazuzi wrote: @ymand Can you review? https://github.com/llvm/llvm-project/pull/73978 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][dataflow] Retrieve members from accessors called using member… (PR #73978)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-analysis Author: Samira Bazuzi (bazuzi) Changes … pointers. getMethodDecl does not handle pointers to members and returns nullptr for them. getMethodDecl contains a decade-plus-old FIXME to handle pointers to members, but two approaches I looked

[clang] [clang-fuzzer] Remove GCC 4.x pre GCC 4.9 workaround to silence warning (PR #73974)

2023-11-30 Thread Brad Smith via cfe-commits
https://github.com/brad0 edited https://github.com/llvm/llvm-project/pull/73974 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-fuzzer] Remove GCC 4.x pre GCC 4.9 workaround to silence warning (PR #73974)

2023-11-30 Thread Brad Smith via cfe-commits
https://github.com/brad0 edited https://github.com/llvm/llvm-project/pull/73974 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-fuzzer] Remove GCC 4.9 workaround to silence warning (PR #73974)

2023-11-30 Thread Brad Smith via cfe-commits
https://github.com/brad0 updated https://github.com/llvm/llvm-project/pull/73974 >From 30168e3a9b832b5af977813fc4844465e3b63280 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 30 Nov 2023 14:53:34 -0500 Subject: [PATCH] [clang-fuzzer] Remove GCC 4.x pre GCC 4.9 workaround to silence warnin

[clang] [clang-fuzzer] Remove GCC 4.9 workaround to silence warning (PR #73974)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Brad Smith (brad0) Changes The minimum GCC version was bumped up from 4.8 to 5.1 and then even newer awhile ago so garbage collect the 4.9 workaround. https://reviews.llvm.org/D66188 --- Full diff: https://github.com/llvm/llvm-project/pu

[clang] ff485a0 - [clang] Remove no-op ptr-to-ptr bitcasts (NFC)

2023-11-30 Thread Youngsuk Kim via cfe-commits
Author: Youngsuk Kim Date: 2023-11-30T14:00:31-06:00 New Revision: ff485a0e77a55847cb50768b01c04fe45a6879ea URL: https://github.com/llvm/llvm-project/commit/ff485a0e77a55847cb50768b01c04fe45a6879ea DIFF: https://github.com/llvm/llvm-project/commit/ff485a0e77a55847cb50768b01c04fe45a6879ea.diff

[clang] [clang-fuzzer] Remove GCC 4.9 workaround to silence warning (PR #73974)

2023-11-30 Thread Brad Smith via cfe-commits
https://github.com/brad0 created https://github.com/llvm/llvm-project/pull/73974 The minimum GCC version was bumped up from 4.8 to 5.1 and then even newer awhile ago so garbage collect the 4.9 workaround. https://reviews.llvm.org/D66188 >From 5897fa680892ea05759f038554ea190fda92172c Mon Sep 17

[llvm] [clang] [SME2] Add LUTI2 and LUTI4 quad Builtins and Intrinsics (PR #73317)

2023-11-30 Thread Matthew Devereau via cfe-commits
https://github.com/MDevereau edited https://github.com/llvm/llvm-project/pull/73317 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [SME2] Add LUTI2 and LUTI4 quad Builtins and Intrinsics (PR #73317)

2023-11-30 Thread Matthew Devereau via cfe-commits
@@ -1859,6 +1867,34 @@ void AArch64DAGToDAGISel::SelectFrintFromVT(SDNode *N, unsigned NumVecs, SelectUnaryMultiIntrinsic(N, NumVecs, true, Opcode); } +template +void AArch64DAGToDAGISel::SelectMultiVectorLuti(SDNode *Node, +

[clang] [Clang] Introduce scoped variants of GNU atomic functions (PR #72280)

2023-11-30 Thread Eli Friedman via cfe-commits
efriedma-quic wrote: My primary concerns here are: - It being likely these builtins will be superseded by something else once someone else tries to standardize this. Maybe this isn't a big deal... but maybe we want to choose names that are less likely to overlap with stuff anyone else is doin

[clang] [clang][dataflow] Add synthetic fields to `RecordStorageLocation` (PR #73860)

2023-11-30 Thread Gábor Horváth via cfe-commits
@@ -92,11 +96,39 @@ class DataflowAnalysisContext { /*Logger=*/nullptr}); ~DataflowAnalysisContext(); + /// Sets a callback that returns the names and types of the synthetic fields + /// to add to a `RecordStorageLocation` of a given type. +

[clang] [clang][dataflow] Add synthetic fields to `RecordStorageLocation` (PR #73860)

2023-11-30 Thread Gábor Horváth via cfe-commits
@@ -92,11 +96,39 @@ class DataflowAnalysisContext { /*Logger=*/nullptr}); ~DataflowAnalysisContext(); + /// Sets a callback that returns the names and types of the synthetic fields + /// to add to a `RecordStorageLocation` of a given type. +

[clang] [clang][dataflow] Add synthetic fields to `RecordStorageLocation` (PR #73860)

2023-11-30 Thread Gábor Horváth via cfe-commits
@@ -88,12 +94,12 @@ class ScalarStorageLocation final : public StorageLocation { class RecordStorageLocation final : public StorageLocation { public: using FieldToLoc = llvm::DenseMap; + using SyntheticFieldMap = llvm::StringMap; Xazax-hun wrote: I was wond

[clang] [clang][dataflow] Add synthetic fields to `RecordStorageLocation` (PR #73860)

2023-11-30 Thread Gábor Horváth via cfe-commits
https://github.com/Xazax-hun commented: I generally love this direction, this was just a first pass, not a full review. I plan to take a second look but wanted to familiarize myself with the PR and start some conversations. https://github.com/llvm/llvm-project/pull/73860 __

[clang] [clang][dataflow] Add synthetic fields to `RecordStorageLocation` (PR #73860)

2023-11-30 Thread Gábor Horváth via cfe-commits
https://github.com/Xazax-hun edited https://github.com/llvm/llvm-project/pull/73860 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [llvm] [libunwind] [mlir] [lld] [libc] [clang] [flang] [libcxx] [libcxxabi] [lldb] [openmp] [Clang][Sema] Don't say "is declared here" for invalid template locations (PR #71264)

2023-11-30 Thread Justin Bogner via cfe-commits
@@ -7909,6 +7903,37 @@ bool Sema::CheckTemplateTemplateArgument(TemplateTemplateParmDecl *Param, Arg.getLocation()); } +static Sema::SemaDiagnosticBuilder noteLocation(Sema &S, const NamedDecl &Decl, +

[clang] f1eddf5 - [Driver] Mark OpenBSD-specific -nopie as TargetSpecific after #72578

2023-11-30 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2023-11-30T11:42:54-08:00 New Revision: f1eddf5c39e7e203fbc8fb5f9293b9baa8bbb04b URL: https://github.com/llvm/llvm-project/commit/f1eddf5c39e7e203fbc8fb5f9293b9baa8bbb04b DIFF: https://github.com/llvm/llvm-project/commit/f1eddf5c39e7e203fbc8fb5f9293b9baa8bbb04b.diff

[clang] [llvm] [SME2] Add LUTI2 and LUTI4 quad Builtins and Intrinsics (PR #73317)

2023-11-30 Thread Matthew Devereau via cfe-commits
@@ -0,0 +1,280 @@ +// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py + +// REQUIRES: aarch64-registered-target + +// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sme2 -target-feature +sve -S -disable-O0-optnone -Werror -Wall -emit-ll

[clang] [clang-offload-bundler][NFC] Remove blank line in doc (PR #73968)

2023-11-30 Thread Jacob Lambert via cfe-commits
https://github.com/lamb-j closed https://github.com/llvm/llvm-project/pull/73968 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 96906a9 - [clang-offload-bundler][NFC] Remove blank line in doc (#73968)

2023-11-30 Thread via cfe-commits
Author: Jacob Lambert Date: 2023-11-30T11:33:39-08:00 New Revision: 96906a92bebe76a1f6510701756aa40280b3a019 URL: https://github.com/llvm/llvm-project/commit/96906a92bebe76a1f6510701756aa40280b3a019 DIFF: https://github.com/llvm/llvm-project/commit/96906a92bebe76a1f6510701756aa40280b3a019.diff

[clang] a112921 - [clang-format] Don't skip stringizing when determining brace kind (#73886)

2023-11-30 Thread via cfe-commits
Author: Emilia Kond Date: 2023-11-30T21:26:39+02:00 New Revision: a112921d88c28b9d3ac30cad7dbc961a33f22926 URL: https://github.com/llvm/llvm-project/commit/a112921d88c28b9d3ac30cad7dbc961a33f22926 DIFF: https://github.com/llvm/llvm-project/commit/a112921d88c28b9d3ac30cad7dbc961a33f22926.diff L

[clang] [clang-format] Don't skip stringizing when determining brace kind (PR #73886)

2023-11-30 Thread Emilia Kond via cfe-commits
https://github.com/rymiel closed https://github.com/llvm/llvm-project/pull/73886 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [libc] [lld] [openmp] [libcxx] [clang] [lldb] [llvm] [flang] [libcxxabi] [mlir] [libunwind] [Clang][Sema] Don't say "is declared here" for invalid template locations (PR #71264)

2023-11-30 Thread via cfe-commits
@@ -7909,6 +7903,37 @@ bool Sema::CheckTemplateTemplateArgument(TemplateTemplateParmDecl *Param, Arg.getLocation()); } +static Sema::SemaDiagnosticBuilder noteLocation(Sema &S, const NamedDecl &Decl, +

  1   2   3   >