[libc] [clang] [lld] [mlir] [libcxx] [lldb] [compiler-rt] [clang-tools-extra] [llvm] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF (PR #71555)

2023-12-14 Thread via cfe-commits
https://github.com/muneebkhan85 edited https://github.com/llvm/llvm-project/pull/71555 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][AArch64]Add QCVTN builtin to SVE2.1 (PR #75454)

2023-12-14 Thread via cfe-commits
https://github.com/CarolineConcatto updated https://github.com/llvm/llvm-project/pull/75454 >From 3508b4fbd9b4b9b51553a590b237e443fb58e098 Mon Sep 17 00:00:00 2001 From: Caroline Concatto Date: Thu, 14 Dec 2023 09:50:36 + Subject: [PATCH 1/2] [Clang][AArch64]Add QCVTN builtin to SVE2.1 ``

[libc] [clang] [lld] [mlir] [libcxx] [lldb] [compiler-rt] [clang-tools-extra] [llvm] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF (PR #71555)

2023-12-14 Thread via cfe-commits
muneebkhan85 wrote: ping @matthias-springer https://github.com/llvm/llvm-project/pull/71555 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenMP][USM] Adds test for -fopenmp-force-usm flag (PR #75467)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Jan Patrick Lehr (jplehr) Changes This adds a basic test to check the correct generation of double indirect access to declare target globals in USM mode vs non-USM mode. I am a bit unhappy with the way this test is set up, but could not fi

[clang] [OpenMP] Introduce -fopenmp-force-usm flag (PR #75468)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Jan Patrick Lehr (jplehr) Changes The new flag implements logic to include `#pragma omp requires unified_shared_memory` in every translation unit. This enables a straightforward way to enable USM for an application without the ne

[clang] [OpenMP] Introduce -fopenmp-force-usm flag (PR #75468)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Jan Patrick Lehr (jplehr) Changes The new flag implements logic to include `#pragma omp requires unified_shared_memory` in every translation unit. This enables a straightforward way to enable USM for an application without the need

[clang] [OpenMP] Introduce -fopenmp-force-usm flag (PR #75468)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Jan Patrick Lehr (jplehr) Changes The new flag implements logic to include `#pragma omp requires unified_shared_memory` in every translation unit. This enables a straightforward way to enable USM for an application without the need

[lld] [clang-tools-extra] [llvm] [libcxx] [compiler-rt] [mlir] [libc] [clang] [lldb] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF (PR #71555)

2023-12-14 Thread via cfe-commits
https://github.com/muneebkhan85 edited https://github.com/llvm/llvm-project/pull/71555 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Multilib support for libraries with exceptions (PR #75031)

2023-12-14 Thread via cfe-commits
https://github.com/pwprzybyla updated https://github.com/llvm/llvm-project/pull/75031 >From 536e2f694f662d688cdbb8a0c5487a5a0d8d3aaf Mon Sep 17 00:00:00 2001 From: Piotr Przybyla Date: Wed, 29 Nov 2023 14:05:00 + Subject: [PATCH] Multilib support for libraries with exceptions --- clang/in

[lld] [clang-tools-extra] [llvm] [libcxx] [compiler-rt] [mlir] [libc] [clang] [lldb] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF (PR #71555)

2023-12-14 Thread via cfe-commits
https://github.com/muneebkhan85 edited https://github.com/llvm/llvm-project/pull/71555 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [ValueTracking] Add dominating condition support in computeKnownBits() (PR #73662)

2023-12-14 Thread via cfe-commits
XChy wrote: > Optimization pipeline is doing simplifications and canonicalizations. If you > for example use `-target amdcgn`, then I think you will see that the codegen > is impacted negatively when not simplifying the control flow. So it depends > on the backend if one form is profitable or

[clang] [OpenMP][USM] Adds test for -fopenmp-force-usm flag (PR #75467)

2023-12-14 Thread via cfe-commits
https://github.com/ronlieb approved this pull request. https://github.com/llvm/llvm-project/pull/75467 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][wasm] Resolve assertion errors caused by converting ComplexTy… (PR #70496)

2023-12-14 Thread via cfe-commits
https://github.com/knightXun updated https://github.com/llvm/llvm-project/pull/70496 >From e0ce1bab37de863d32d5d2e9b97f8bc345ef9ad9 Mon Sep 17 00:00:00 2001 From: xuknight Date: Sat, 28 Oct 2023 02:52:43 +0800 Subject: [PATCH 1/2] [clang][wasm] Resolve assertion errors caused by converting Com

[clang] Warns about using printf %p for nullptr (PR #75472)

2023-12-14 Thread via cfe-commits
https://github.com/wenpen created https://github.com/llvm/llvm-project/pull/75472 Resolve https://github.com/llvm/llvm-project/issues/43453 >From 98d34426d47ca57873532855fa761b9e5aa2e193 Mon Sep 17 00:00:00 2001 From: wenpen <645124...@qq.com> Date: Thu, 14 Dec 2023 21:14:44 +0800 Subject: [PAT

[clang] Warns about using printf %p for nullptr (PR #75472)

2023-12-14 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it i

[clang] Warns about using printf %p for nullptr (PR #75472)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: axp (wenpen) Changes Resolve https://github.com/llvm/llvm-project/issues/43453 --- Full diff: https://github.com/llvm/llvm-project/pull/75472.diff 2 Files Affected: - (modified) clang/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp (+103

[clang] Warns about using printf %p for nullptr (PR #75472)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 Author: axp (wenpen) Changes Resolve https://github.com/llvm/llvm-project/issues/43453 --- Full diff: https://github.com/llvm/llvm-project/pull/75472.diff 2 Files Affected: - (modified) clang/lib/StaticAnalyzer/Checkers/UnixAP

[clang] [clang][dataflow] Strengthen pointer comparison. (PR #75170)

2023-12-14 Thread via cfe-commits
martinboehme wrote: Heads up: I'm holding off on merging this patch because it makes some tests in the [Crubit nullability analysis](https://github.com/google/crubit/tree/main/nullability) fail. I'm still investigating exactly why this is. https://github.com/llvm/llvm-project/pull/75170 _

[clang] [Clang][SVE2.1] Add intrinsics for `WHILEcc` resulting in predicate pair (PR #75107)

2023-12-14 Thread via cfe-commits
https://github.com/CarolineConcatto approved this pull request. https://github.com/llvm/llvm-project/pull/75107 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][SVE2.1] Make a part of the name optional for `svwhileXX` builtins with predicate-as-counter (PR #75200)

2023-12-14 Thread via cfe-commits
https://github.com/CarolineConcatto approved this pull request. https://github.com/llvm/llvm-project/pull/75200 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][AArch64]Add QCVTN builtin to SVE2.1 (PR #75454)

2023-12-14 Thread via cfe-commits
https://github.com/CarolineConcatto updated https://github.com/llvm/llvm-project/pull/75454 >From 3508b4fbd9b4b9b51553a590b237e443fb58e098 Mon Sep 17 00:00:00 2001 From: Caroline Concatto Date: Thu, 14 Dec 2023 09:50:36 + Subject: [PATCH 1/3] [Clang][AArch64]Add QCVTN builtin to SVE2.1 ``

[clang] [llvm] [AMDGPU][GFX12] Add new v_permlane16 variants (PR #75475)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Mariusz Sikora (mariusz-sikora-at-amd) Changes --- Patch is 75.67 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/75475.diff 19 Files Affected: - (modified) clang/include/clang/Basic/Builtin

[clang] [llvm] [AMDGPU][GFX12] Add new v_permlane16 variants (PR #75475)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-mc @llvm/pr-subscribers-llvm-analysis Author: Mariusz Sikora (mariusz-sikora-at-amd) Changes --- Patch is 75.67 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/75475.diff 19 Files Affected: - (modified) c

[clang] [clang][wasm] Resolve assertion errors caused by converting ComplexTy… (PR #70496)

2023-12-14 Thread via cfe-commits
https://github.com/knightXun updated https://github.com/llvm/llvm-project/pull/70496 >From e09d1b428f0c3836e2b92df3c994375f4c946302 Mon Sep 17 00:00:00 2001 From: xuknight Date: Sat, 28 Oct 2023 02:52:43 +0800 Subject: [PATCH] [clang][wasm] Resolve assertion errors caused by converting Complex

[clang] [compiler-rt] [clang][UBSan] Add implicit conversion check for bitfields (PR #75481)

2023-12-14 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it i

[clang] [compiler-rt] [clang][UBSan] Add implicit conversion check for bitfields (PR #75481)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-codegen Author: Axel Lundberg (Zonotora) Changes This patch implements the implicit truncation and implicit sign change checks for bitfields using UBSan. E.g., `-fsanitize=implicit-integer-truncation` and `-fsanitize=im

[clang] [flang][driver] Don't use -whole-archive on Darwin (PR #75393)

2023-12-14 Thread via cfe-commits
kkwli wrote: I build and `check-flang` on `arm64-apple-darwin22.6.0`. `Driver/no-duplicate-main.f90` fails in the 3rd RUN. The test passes with HEAD. ``` kelvin@neutrino2 build % /Users/kelvin/wrk/llvm/tmp/build/bin/flang-new -o /Users/kelvin/wrk/llvm/tmp/build/tools/flang/test/Driver/Output/n

[clang] [clang][dataflow] Fix an issue with `Environment::getResultObjectLocation()`. (PR #75483)

2023-12-14 Thread via cfe-commits
https://github.com/martinboehme created https://github.com/llvm/llvm-project/pull/75483 So far, if there was a chain of record type prvalues, `getResultObjectLocation()` would assign a different result object location to each one. This makes no sense, of course, as all of these prvalues end up i

[clang] [clang][dataflow] Fix an issue with `Environment::getResultObjectLocation()`. (PR #75483)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (martinboehme) Changes So far, if there was a chain of record type prvalues, `getResultObjectLocation()` would assign a different result object location to each one. This makes no sense, of course, as all of these prvalues end up initi

[clang] [clang][Interp] Support __real/__imag on primitives (PR #75485)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/75485.diff 2 Files Affected: - (modified) clang/lib/AST/Interp/ByteCodeExprGen.cpp (+7) - (modified) clang/test/AST/Interp/complex.cpp (+6) ```

[clang] [llvm] [clang][AArch64] Add a -mbranch-protection option to enable GCS (PR #75486)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver @llvm/pr-subscribers-clang Author: John Brawn (john-brawn-arm) Changes -mbranch-protection=gcs (enabled by -mbranch-protection=standard) causes generated objects to be marked with the gcs feature. This is done via the guarded-control-stack

[llvm] [clang] [clang][AArch64] Add a -mbranch-protection option to enable GCS (PR #75486)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: John Brawn (john-brawn-arm) Changes -mbranch-protection=gcs (enabled by -mbranch-protection=standard) causes generated objects to be marked with the gcs feature. This is done via the guarded-control-stack module flag, in a simil

[clang] [AArch64][SME] Warn when using a streaming builtin from a non-streaming function (PR #75487)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Sam Tebbs (SamTebbs33) Changes This PR adds a warning that's emitted when a non-streaming or non-streaming-compatible builtin is called in an unsuitable function. Uses work by Kerry McLaughlin. This is a re-upload of #74064 and fixes a c

[clang] [AArch64][SME] Warn when using a streaming builtin from a non-streaming function (PR #75487)

2023-12-14 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 2952bc3384412ca67fd1dcd2eac595088d692802 6dc8fa2c89159d234d9477358dd1ce1cbf059865 --

[libc] [clang] [mlir] [lldb] [lld] [compiler-rt] [libcxx] [llvm] [clang-tools-extra] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF (PR #71555)

2023-12-14 Thread via cfe-commits
https://github.com/muneebkhan85 edited https://github.com/llvm/llvm-project/pull/71555 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang][driver] Don't use -whole-archive on Darwin (PR #75393)

2023-12-14 Thread via cfe-commits
JasonWoodArm wrote: I tested this with our build on Mac and we are working again so it fixed the issue we were having. Thanks. https://github.com/llvm/llvm-project/pull/75393 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.o

[clang] e007551 - [clang][modules] Strip LLVM options (#75405)

2023-12-14 Thread via cfe-commits
Author: Juergen Ributzka Date: 2023-12-14T09:21:18-08:00 New Revision: e007551b10bda9584223e8583591155070a3de4f URL: https://github.com/llvm/llvm-project/commit/e007551b10bda9584223e8583591155070a3de4f DIFF: https://github.com/llvm/llvm-project/commit/e007551b10bda9584223e8583591155070a3de4f.di

[flang] [clang] [flang][driver] Don't use -whole-archive on Darwin (PR #75393)

2023-12-14 Thread via cfe-commits
kkwli wrote: > > I build and `check-flang` on `arm64-apple-darwin22.6.0`. > > `Driver/no-duplicate-main.f90` fails in the 3rd RUN. The test passes with > > HEAD. > > ``` > > kelvin@neutrino2 build % /Users/kelvin/wrk/llvm/tmp/build/bin/flang-new -o > > /Users/kelvin/wrk/llvm/tmp/build/tools/fl

[flang] [clang] [flang][driver] Don't use -whole-archive on Darwin (PR #75393)

2023-12-14 Thread via cfe-commits
kkwli wrote: > > Unrelated to this PR, but may I ask how do you configure flang, to make it > > link without errors and without extra flags? I need to add > > `-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib`. > > AFAIK, what you really want is this: `-isysroot $(xcrun --sdk-path

[clang] fed5644 - [Sema] atomic_compare_exchange: check failure memory order (#74959)

2023-12-14 Thread via cfe-commits
Author: Fangrui Song Date: 2023-12-14T11:03:28-08:00 New Revision: fed564432cef76f8b303c19ab1dfc0a14878fbc3 URL: https://github.com/llvm/llvm-project/commit/fed564432cef76f8b303c19ab1dfc0a14878fbc3 DIFF: https://github.com/llvm/llvm-project/commit/fed564432cef76f8b303c19ab1dfc0a14878fbc3.diff

[clang] [llvm] [TargetParser] Define AEK_FCMA and AEK_JSCVT for tsv110 (PR #75516)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-backend-aarch64 Author: Qi Hu (Qi-Hu) Changes We define AEK_JSCVT and AEK_FCMA for CPU features FEAT_JSCVT and FEAT_FCMA respectively, and add them to the CpuInfo of tsv110. --- Full diff: https://github.com/llvm/llvm-project

[llvm] [clang] [TargetParser] Define AEK_FCMA and AEK_JSCVT for tsv110 (PR #75516)

2023-12-14 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 fed564432cef76f8b303c19ab1dfc0a14878fbc3 6a1ac6f738459658690e7436820292fc28397ee4 --

[clang] ab3430f - [Profile] Add binary profile correlation for code coverage. (#69493)

2023-12-14 Thread via cfe-commits
Author: Zequan Wu Date: 2023-12-14T14:16:38-05:00 New Revision: ab3430f891cf508e2b5c4796789998561d543df4 URL: https://github.com/llvm/llvm-project/commit/ab3430f891cf508e2b5c4796789998561d543df4 DIFF: https://github.com/llvm/llvm-project/commit/ab3430f891cf508e2b5c4796789998561d543df4.diff LOG

[clang] Revert "[LinkerWrapper] Add 'Freestanding' config to the LTO pass" (PR #75528)

2023-12-14 Thread via cfe-commits
https://github.com/fel-cab created https://github.com/llvm/llvm-project/pull/75528 This reverts commit 47d9fbc04b91fb03b6da294e82c2fb4bca6b6343. It creates a segmentation falt on SPEChpc soma on Frontier on a GPU for the kernel generate_new_beads >From 1bb65bb3fd3aed4aa2776d4f370f5718412d1f27

[clang] Revert "[LinkerWrapper] Add 'Freestanding' config to the LTO pass" (PR #75528)

2023-12-14 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it i

[clang] Revert "[LinkerWrapper] Add 'Freestanding' config to the LTO pass" (PR #75528)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (fel-cab) Changes This reverts commit 47d9fbc04b91fb03b6da294e82c2fb4bca6b6343. It creates a segmentation falt on SPEChpc soma on Frontier on a GPU for the kernel generate_new_beads --- Full diff: https://github.com/llvm/llvm-projec

[lldb] [clang] [llvm] [clang] Split out DebugOptions.def into its own top-level options group. (PR #75530)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Juergen Ributzka (ributzka) Changes This change moves all debug options out of the CodeGenOptions and creates a dedicated top-level DebugOptions data struture. All uses of the debug options are updated to reference the new location. No func

[clang] 1b6c828 - [flang][driver] Don't use -whole-archive on Darwin (#75393)

2023-12-14 Thread via cfe-commits
Author: Andrzej Warzyński Date: 2023-12-14T21:11:25Z New Revision: 1b6c8280b9a672a9c6f5c22d18b1cdaa2320d4ed URL: https://github.com/llvm/llvm-project/commit/1b6c8280b9a672a9c6f5c22d18b1cdaa2320d4ed DIFF: https://github.com/llvm/llvm-project/commit/1b6c8280b9a672a9c6f5c22d18b1cdaa2320d4ed.diff

[clang] 29e043c - [libclang/python] Fix some minor typos (#74292)

2023-12-14 Thread via cfe-commits
Author: Craig Hesling Date: 2023-12-14T16:25:03-05:00 New Revision: 29e043cb5c2efaad7fb203fb8240a91b77ca0c5b URL: https://github.com/llvm/llvm-project/commit/29e043cb5c2efaad7fb203fb8240a91b77ca0c5b DIFF: https://github.com/llvm/llvm-project/commit/29e043cb5c2efaad7fb203fb8240a91b77ca0c5b.diff

[clang-tools-extra] [clangd] Extract Function: add hoisting support (PR #75533)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: Julian Schmidt (5chmidti) Changes Adds support to hoist variables declared inside the selected region and used afterwards back out of the extraced function for later use. Uses the explicit variable type if only one decl needs hoisting, oth

[flang] [clang] [flang][nfc] Refactor linker invocation logic (PR #75534)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-flang-driver Author: Andrzej Warzyński (banach-space) Changes Refactor how the Fortran runtime libs are added to the linker invocation. This is a non-functional change. --- Full diff: https://github.com/llvm/llvm-project/pull/75534.diff 2 Files Affec

[flang] [clang] [flang][nfc] Refactor linker invocation logic (PR #75534)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Andrzej Warzyński (banach-space) Changes Refactor how the Fortran runtime libs are added to the linker invocation. This is a non-functional change. --- Full diff: https://github.com/llvm/llvm-project/pull/75534.diff 2 Files Affected: -

[flang] [clang] [flang][nfc] Refactor linker invocation logic (PR #75534)

2023-12-14 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 3e6da3252fbbe58c309b58e08c8a16ac2797b5da 966e22e415ac2e696b4fd387e729e43799b2585f --

[clang] acf9aa3 - [clang] Support __attribute__((ifunc(...))) on Darwin platforms

2023-12-14 Thread via cfe-commits
Author: Jon Roelofs Date: 2023-12-14T14:52:35-07:00 New Revision: acf9aa3c22d6fe88abba848d2804da1a732d205a URL: https://github.com/llvm/llvm-project/commit/acf9aa3c22d6fe88abba848d2804da1a732d205a DIFF: https://github.com/llvm/llvm-project/commit/acf9aa3c22d6fe88abba848d2804da1a732d205a.diff L

[clang] 6c12fd9 - [clang] Function Multi Versioning supports IFunc lowerings on Darwin platforms (#73688)

2023-12-14 Thread via cfe-commits
Author: Jon Roelofs Date: 2023-12-14T14:57:00-07:00 New Revision: 6c12fd91540fe2f86b5032b10f04b74910b4c411 URL: https://github.com/llvm/llvm-project/commit/6c12fd91540fe2f86b5032b10f04b74910b4c411 DIFF: https://github.com/llvm/llvm-project/commit/6c12fd91540fe2f86b5032b10f04b74910b4c411.diff L

[llvm] [clang] [clang-tools-extra] [llvm-objcopy] Add --gap-fill and --pad-to options (PR #65815)

2023-12-14 Thread via cfe-commits
https://github.com/quic-akaryaki closed https://github.com/llvm/llvm-project/pull/65815 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libunwind] [libcxx] [compiler-rt] [clang-tools-extra] [lld] [libc] [clang] [libcxxabi] [llvm] [flang] [lldb] [openmp] [mlir] [libc++] Implement ranges::contains (PR #65148)

2023-12-14 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/65148 >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 01/23] [libc++] Implement ranges::contains Differential Revision

[flang] [lldb] [compiler-rt] [libcxxabi] [clang] [llvm] [libcxx] [libunwind] [lld] [openmp] [clang-tools-extra] [mlir] [libc] [libc++] Implement ranges::contains (PR #65148)

2023-12-14 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/65148 >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 01/23] [libc++] Implement ranges::contains Differential Revision

[libcxx] [llvm] [clang-tools-extra] [compiler-rt] [openmp] [flang] [libunwind] [lld] [mlir] [libc] [clang] [lldb] [libcxxabi] [libc++] Implement ranges::contains (PR #65148)

2023-12-14 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/65148 >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 01/24] [libc++] Implement ranges::contains Differential Revision

[libcxxabi] [llvm] [libunwind] [openmp] [libc] [flang] [clang-tools-extra] [libcxx] [mlir] [compiler-rt] [lldb] [lld] [clang] [libc++] Implement ranges::contains (PR #65148)

2023-12-14 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/65148 >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 01/24] [libc++] Implement ranges::contains Differential Revision

[compiler-rt] [clang] [clang-tools-extra] [flang] [mlir] [llvm] [libc] Make clang report garbage target versions. (PR #75373)

2023-12-14 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/75373 >From 74f256d8a77ee2ba8e0d5bbb6519aa2729cf94d5 Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Wed, 13 Dec 2023 20:07:45 + Subject: [PATCH 1/6] Make clang report garbage target versions. Clang always sil

[llvm] [clang] [Instrumentation][X86] Limit setting large section flag to medium/large code models (PR #75542)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Arthur Eubanks (aeubanks) Changes In #74514 and #74778 we marked various instrumentation-added sections as large. This causes an extra PT_LOAD segment if using the small code model. Since people using the small code model p

[clang] [clang-scan-deps] Fix check for empty `Compilation` (PR #75545)

2023-12-14 Thread via cfe-commits
https://github.com/Yaraslaut created https://github.com/llvm/llvm-project/pull/75545 Closes https://github.com/llvm/llvm-project/issues/64144 Instead of checking for `nullptr` we need to ensure that `JobList` is not empty to proceed >From 052a12dfb78ddc7b1486ca5f8e06002bb55c1d2e Mon Sep 17 0

[clang] [clang-scan-deps] Fix check for empty `Compilation` (PR #75545)

2023-12-14 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it i

[clang] [clang-scan-deps] Fix check for empty `Compilation` (PR #75545)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Yaraslau (Yaraslaut) Changes Closes https://github.com/llvm/llvm-project/issues/64144 Instead of checking for `nullptr` we need to ensure that `JobList` is not empty to proceed --- Full diff: https://github.com/llvm/llvm-project/pull/75

[clang] clang-repl: fix top-level statement declaration context (PR #75547)

2023-12-14 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it i

[clang] clang-repl: fix top-level statement declaration context (PR #75547)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Pavel Kalugin (p4vook) Changes Change the declaration context where we insert top-level statements to CurrentContext. Previously, top-level statement declarations were inserted directly into the translation unit. This is incorrect, as it

[clang] clang-repl: fix top-level statement declaration context (PR #75547)

2023-12-14 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 ee2deb4cf70e9468510750070435f29ca7482d02 31273597beb9439f4c78123c48f8ecc9bf366e14 --

[llvm] [libc] [libunwind] [mlir] [clang] [flang] [libcxxabi] [clang-tools-extra] [lld] [compiler-rt] [openmp] [libcxx] [lldb] [libc++] Implement ranges::contains (PR #65148)

2023-12-14 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/65148 >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 01/25] [libc++] Implement ranges::contains Differential Revision

[compiler-rt] [libc] [openmp] [libcxx] [libcxxabi] [libunwind] [lldb] [lld] [flang] [mlir] [clang-tools-extra] [llvm] [clang] [libc++] Implement ranges::contains (PR #65148)

2023-12-14 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/65148 >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 01/25] [libc++] Implement ranges::contains Differential Revision

[clang] [llvm] [libc] [mlir] [compiler-rt] [flang] [clang-tools-extra] Make clang report garbage target versions. (PR #75373)

2023-12-14 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/75373 >From 74f256d8a77ee2ba8e0d5bbb6519aa2729cf94d5 Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Wed, 13 Dec 2023 20:07:45 + Subject: [PATCH 1/6] Make clang report garbage target versions. Clang always sil

[clang] [llvm] [RFC][WIP][AArch64] Disable large global group relocation (PR #75445)

2023-12-14 Thread via cfe-commits
https://github.com/wc00862805aj edited https://github.com/llvm/llvm-project/pull/75445 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [llvm] [lld] [flang] [clang] [mlir] [compiler-rt] [libc] Make clang report garbage target versions. (PR #75373)

2023-12-14 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/75373 >From 74f256d8a77ee2ba8e0d5bbb6519aa2729cf94d5 Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Wed, 13 Dec 2023 20:07:45 + Subject: [PATCH 1/6] Make clang report garbage target versions. Clang always sil

[clang-tools-extra] [llvm] [lld] [flang] [clang] [mlir] [compiler-rt] [libc] Make clang report garbage target versions. (PR #75373)

2023-12-14 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/75373 >From 74f256d8a77ee2ba8e0d5bbb6519aa2729cf94d5 Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Wed, 13 Dec 2023 20:07:45 + Subject: [PATCH 1/7] Make clang report garbage target versions. Clang always sil

[clang-tools-extra] [compiler-rt] [libc] [clang] [llvm] [mlir] [flang] [lld] Make clang report garbage target versions. (PR #75373)

2023-12-14 Thread via cfe-commits
@@ -688,6 +688,14 @@ ToolChain::getFallbackAndroidTargetPath(StringRef BaseDir) const { unsigned TripleVersion = getTriple().getEnvironmentVersion().getMajor(); unsigned BestVersion = 0; + if (TripleVersion == 0) { +return llvm::createStringError("version " + getTrip

[clang] 3fe8141 - [clang][RISCV] Change default abi with f extension but without d extension (#73489)

2023-12-14 Thread via cfe-commits
Author: Jianjian Guan Date: 2023-12-15T11:16:05+08:00 New Revision: 3fe81410b23c4f13954e99c7180fa8a7e1e8ee88 URL: https://github.com/llvm/llvm-project/commit/3fe81410b23c4f13954e99c7180fa8a7e1e8ee88 DIFF: https://github.com/llvm/llvm-project/commit/3fe81410b23c4f13954e99c7180fa8a7e1e8ee88.diff

[clang] [ClangRepl] Reland Semanic Code Completion (PR #75556)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Fred Fu (capfredf) Changes --- Patch is 24.20 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/75556.diff 6 Files Affected: - (modified) clang/include/clang/Interpreter/CodeCompletion.h (+22-

[libunwind] [openmp] [flang] [libc] [compiler-rt] [clang] [llvm] [clang-tools-extra] [lldb] [lld] [libcxx] [mlir] [libcxxabi] [libc++] Implement ranges::contains (PR #65148)

2023-12-14 Thread via cfe-commits
@@ -34,6 +35,10 @@ struct __identity { template <> struct __is_identity<__identity> : true_type {}; +template <> EricWF wrote: I'm not sure these changes are correct. Does reference wrapper work with the `identity` unary op? https://github.com/llvm/llvm-pr

[lld] [libc] [clang-tools-extra] [clang] [lldb] [llvm] [libcxx] [compiler-rt] [openmp] [flang] Gcc 75 libomptarget type convert (PR #75562)

2023-12-14 Thread via cfe-commits
https://github.com/SunilKuravinakop created https://github.com/llvm/llvm-project/pull/75562 When building with gcc-7.5 we get the error: `nochange/openmp/libomptarget/src/PluginManager.cpp: In static member function 'static llvm::Expected > PluginAdaptorTy::create(const string&)': ` To overcom

[clang] Don't emit relax relocs like R_X86_64_REX_GOTPCRELX on X86 target for OPENMP internal vars. (PR #75564)

2023-12-14 Thread via cfe-commits
https://github.com/UmeshKalappa0 created https://github.com/llvm/llvm-project/pull/75564 For kernel modules (where -fno-pic and no-pie is implicit ) having "R_X86_64_REX_GOTPCRELX " relocs burden the kernel loader to handle the same like https://godbolt.org/z/hhh7ozojz. Solution : Mark the O

[clang] Don't emit relax relocs like R_X86_64_REX_GOTPCRELX on X86 target for OPENMP internal vars. (PR #75564)

2023-12-14 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it i

[clang] Don't emit relax relocs like R_X86_64_REX_GOTPCRELX on X86 target for OPENMP internal vars. (PR #75564)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (UmeshKalappa0) Changes For kernel modules (where -fno-pic and no-pie is implicit ) having "R_X86_64_REX_GOTPCRELX " relocs burden the kernel loader to handle the same like https://godbolt.org/z/hhh7ozojz. Solution : Mark the OpenM

[clang] Don't emit relax relocs like R_X86_64_REX_GOTPCRELX on X86 target for OPENMP internal vars. (PR #75564)

2023-12-14 Thread via cfe-commits
https://github.com/UmeshKalappa0 converted_to_draft https://github.com/llvm/llvm-project/pull/75564 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [llvm] [compiler-rt] [clang] [flang] [libcxx] [libc] Don't emit relax relocs like R_X86_64_REX_GOTPCRELX on X86 target for OPENMP internal vars. (PR #75564)

2023-12-14 Thread via cfe-commits
https://github.com/UmeshKalappa0 updated https://github.com/llvm/llvm-project/pull/75564 >From 4125e4a709c594562fa6c52f045ba7442e3cb523 Mon Sep 17 00:00:00 2001 From: Umesh Kalappa Date: Fri, 15 Dec 2023 11:52:52 +0530 Subject: [PATCH] Problem :For Kernel Modules ,emitting the relocs like R_X8

[compiler-rt] [libc] [clang-tools-extra] [clang] [libcxx] [llvm] [flang] Don't emit relax relocs like R_X86_64_REX_GOTPCRELX on X86 target for OPENMP internal vars. (PR #75564)

2023-12-14 Thread via cfe-commits
https://github.com/UmeshKalappa0 updated https://github.com/llvm/llvm-project/pull/75564 >From 4125e4a709c594562fa6c52f045ba7442e3cb523 Mon Sep 17 00:00:00 2001 From: Umesh Kalappa Date: Fri, 15 Dec 2023 11:52:52 +0530 Subject: [PATCH 1/2] Problem :For Kernel Modules ,emitting the relocs like

[compiler-rt] [clang-tools-extra] [libcxx] [llvm] [clang] [flang] [libc] Don't emit relax relocs like R_X86_64_REX_GOTPCRELX on X86 target for OPENMP internal vars. (PR #75564)

2023-12-14 Thread via cfe-commits
https://github.com/UmeshKalappa0 ready_for_review https://github.com/llvm/llvm-project/pull/75564 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix CTAD not respect default template arguments that were added after the definition. (PR #75569)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Haojian Wu (hokein) Changes Fixes https://github.com/llvm/llvm-project/issues/69987 --- Full diff: https://github.com/llvm/llvm-project/pull/75569.diff 3 Files Affected: - (modified) clang/docs/ReleaseNotes.rst (+2) - (modified) clang/

[llvm] [clang] [X86][AVX10] Allow 64-bit mask register used without EVEX512 (PR #75571)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Phoebe Wang (phoebewang) Changes This is to reflect new document change that 64-bit mask is support by AVX10 256-bit targets. Latest documents can be found in: https://cdrdv2.intel.com/v1/dl/getContent/784267 https://cdrdv2.intel.com/v1/d

[clang] [llvm] [X86][AVX10] Allow 64-bit mask register used without EVEX512 (PR #75571)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Phoebe Wang (phoebewang) Changes This is to reflect new document change that 64-bit mask is support by AVX10 256-bit targets. Latest documents can be found in: https://cdrdv2.intel.com/v1/dl/getContent/784267 https://cdrdv2.intel.co

[clang] [clang] Fix CTAD not respect default template arguments that were added after the definition. (PR #75569)

2023-12-15 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 f1ea77f7be8acda2aa4b08ba27f454512a872057 0f49d91b4a22944216cff8654f9c00f892bb02be --

[clang] [llvm] [X86][AVX10] Allow 64-bit mask register used without EVEX512 (PR #75571)

2023-12-15 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 295415e720209a368b74390fa933c83290e002d3 2e31cbd1a0b5b9c1689f664c6c261cabbc656f2a --

[clang] cd09f21 - [clang] Report narrowing conversions with const references (#75332)

2023-12-15 Thread via cfe-commits
Author: Mariya Podchishchaeva Date: 2023-12-15T09:42:20+01:00 New Revision: cd09f21b223688d58c00866c6e01f3a073993a4c URL: https://github.com/llvm/llvm-project/commit/cd09f21b223688d58c00866c6e01f3a073993a4c DIFF: https://github.com/llvm/llvm-project/commit/cd09f21b223688d58c00866c6e01f3a073993a

[clang] [clang][dataflow] Fix an issue with `Environment::getResultObjectLocation()`. (PR #75483)

2023-12-15 Thread via cfe-commits
https://github.com/martinboehme updated https://github.com/llvm/llvm-project/pull/75483 >From 3262b0056708614f2a3d68750a0f118508f79ccb Mon Sep 17 00:00:00 2001 From: Martin Braenne Date: Thu, 14 Dec 2023 15:43:52 + Subject: [PATCH 1/3] [clang][dataflow] Fix an issue with `Environment::getR

[clang] 966416b - [AMDGPU][GFX12] Add new v_permlane16 variants (#75475)

2023-12-15 Thread via cfe-commits
Author: Mariusz Sikora Date: 2023-12-15T10:14:38+01:00 New Revision: 966416b9e8e315494d586c5f0e88516e22135698 URL: https://github.com/llvm/llvm-project/commit/966416b9e8e315494d586c5f0e88516e22135698 DIFF: https://github.com/llvm/llvm-project/commit/966416b9e8e315494d586c5f0e88516e22135698.diff

[clang] [clang][dataflow] Fix an issue with `Environment::getResultObjectLocation()`. (PR #75483)

2023-12-15 Thread via cfe-commits
@@ -726,27 +726,69 @@ void Environment::setStorageLocation(const Expr &E, StorageLocation &Loc) { // so allow these as an exception. assert(E.isGLValue() || E.getType()->isSpecificBuiltinType(BuiltinType::BuiltinFn)); - setStorageLocationInternal(E, Loc); + cons

[clang] [clang][dataflow] Fix an issue with `Environment::getResultObjectLocation()`. (PR #75483)

2023-12-15 Thread via cfe-commits
@@ -726,27 +726,69 @@ void Environment::setStorageLocation(const Expr &E, StorageLocation &Loc) { // so allow these as an exception. assert(E.isGLValue() || E.getType()->isSpecificBuiltinType(BuiltinType::BuiltinFn)); - setStorageLocationInternal(E, Loc); + cons

[clang] [X86] Emit Warnings for frontend options to enable knl/knm. (PR #75580)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Freddy Ye (FreddyLeaf) Changes Since Knight Landing and Knight Mill microarchitectures are EOL, we would like to remove its support in LLVM 19. In LLVM 18, we will first emit a warning for the usage. --- Full diff: https://github.com/llvm

[clang] [clang][dataflow] Fix an issue with `Environment::getResultObjectLocation()`. (PR #75483)

2023-12-15 Thread via cfe-commits
@@ -726,27 +726,69 @@ void Environment::setStorageLocation(const Expr &E, StorageLocation &Loc) { // so allow these as an exception. assert(E.isGLValue() || E.getType()->isSpecificBuiltinType(BuiltinType::BuiltinFn)); - setStorageLocationInternal(E, Loc); + cons

[clang] [clang][dataflow] Fix an issue with `Environment::getResultObjectLocation()`. (PR #75483)

2023-12-15 Thread via cfe-commits
https://github.com/martinboehme updated https://github.com/llvm/llvm-project/pull/75483 >From 3262b0056708614f2a3d68750a0f118508f79ccb Mon Sep 17 00:00:00 2001 From: Martin Braenne Date: Thu, 14 Dec 2023 15:43:52 + Subject: [PATCH 1/4] [clang][dataflow] Fix an issue with `Environment::getR

[llvm] [clang] [clang-tools-extra] [clang] Fix false positive -Wmissing-field-initializer for anonymous unions (PR #70829)

2023-12-15 Thread via cfe-commits
mikaelholmen wrote: Hi @Fznamznon and others! It looks like this patch not only avoids a false positive, but it also causes warnigns on stuff it didn't warn on before. So if I add the following to clang/test/Sema/missing-field-initializers.c ``` struct S1 { long int l; struct { int a, b; }

<    27   28   29   30   31   32   33   34   35   36   >