[clang] Recommit [RISCV] Implement multi-lib reuse rule for RISC-V bare-metal toolchain (#73765) (PR #75890)

2023-12-18 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Brandon Wu (4vtomat) Changes Extend the multi-lib re-use selection mechanism for RISC-V. This funciton will try to re-use multi-lib if they are compatible. Definition of compatible: - ABI must be the same. - multi-lib is a subset

[clang] Recommit [RISCV] Implement multi-lib reuse rule for RISC-V bare-metal toolchain (#73765) (PR #75890)

2023-12-18 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 cdc03926696d674c6aa61b55d5b509d7118ed023 43ecdfdc5d96d1b53ccfc851e3dce8547b2f6fe9 --

[clang] fix issue 73559. (PR #74926)

2023-12-18 Thread via cfe-commits
https://github.com/ChipsSpectre updated https://github.com/llvm/llvm-project/pull/74926 >From 9b703f6fcdb67eb921b3b5cf67b92bbd24144cf9 Mon Sep 17 00:00:00 2001 From: ChipsSpectre Date: Tue, 19 Dec 2023 05:14:06 +0100 Subject: [PATCH] [clang][Parse] `TryAnnotateCXXScopeToken` to be called only

[clang] [Clang][Parser] Fix crash of clang when using C++ constructs like :: in C code (PR #74926)

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

[clang] [Clang][Parser] Fix crash of clang when using C++ constructs like :: in C code (PR #74926)

2023-12-18 Thread via cfe-commits
ChipsSpectre wrote: @shafik ok, done https://github.com/llvm/llvm-project/pull/74926 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-12-18 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/3] Problem :For Kernel Modules ,emitting the relocs like

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

2023-12-18 Thread via cfe-commits
UmeshKalappa0 wrote: > Scattering around `setDSOLocal(false)` makes the logic hard to understand. > I'd strongly prefer to fix the initial setting of dso_local when we create > the global variable. We can refactor the code to make that work. @efriedma-quic ,thank you for the suggestions and w

[mlir] [clang] [llvm] [clang-tools-extra] [mlir][TilingInterface] Early return cloned ops if tile sizes are zeros. (PR #75410)

2023-12-18 Thread via cfe-commits
@@ -362,14 +362,20 @@ mlir::scf::tileUsingSCFForOp(RewriterBase &rewriter, TilingInterface op, auto clonedOp = cast( cloneOpAndUpdateDestinationArgs(rewriter, op, clonedOpDestination)); - // 5b. Tile the cloned operation. + // 5b. Early return cloned op if tiling is

[mlir] [clang] [llvm] [clang-tools-extra] [mlir][TilingInterface] Early return cloned ops if tile sizes are zeros. (PR #75410)

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

[clang] [C++20] [Modules] Introduce reduced BMI (PR #75894)

2023-12-18 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-modules Author: Chuanqi Xu (ChuanqiXu9) Changes Close https://github.com/llvm/llvm-project/issues/71034 See https://discourse.llvm.org/t/rfc-c-20-modules-introduce-thin-bmi-and-decls-hash/74755 This patch introduces red

[clang] [C++20] [Modules] Introduce reduced BMI (PR #75894)

2023-12-18 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 cdc03926696d674c6aa61b55d5b509d7118ed023 6354bb468098f25b869deae3a475bf6bcfe37d40 --

[libcxx] [compiler-rt] [libc] [clang-tools-extra] [llvm] [flang] [clang] [IR] Disallow ZeroInit for spirv.Image (PR #73887)

2023-12-18 Thread via cfe-commits
https://github.com/yubingex007-a11y closed https://github.com/llvm/llvm-project/pull/73887 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Wswitch-default] Warning for enum even completely covered the cases (PR #75900)

2023-12-18 Thread via cfe-commits
https://github.com/hstk30-hw created https://github.com/llvm/llvm-project/pull/75900 None >From 735595ba881de8ab58a7d8f74a31534d90cf5b3a Mon Sep 17 00:00:00 2001 From: hstk-hw Date: Tue, 19 Dec 2023 14:54:16 +0800 Subject: [PATCH] test: add test for Wswitch-default --- clang/test/Sema/switch

[clang] [Clang][Wswitch-default] Warning for enum even completely covered the cases (PR #75900)

2023-12-18 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (hstk30-hw) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/75900.diff 1 Files Affected: - (modified) clang/test/Sema/switch-default.c (+11) ``diff diff --git a/clang/test/Sema/switch-default.c b/clang/

[clang] Avoid printing overly large integer. (PR #75902)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Nhat Nguyen (changkhothuychung) Changes Created a PR to fix issue #71675 --- Full diff: https://github.com/llvm/llvm-project/pull/75902.diff 1 Files Affected: - (modified) clang/lib/Sema/SemaDeclCXX.cpp (+3) ``diff diff --gi

[clang] [llvm] test-release.sh: Add a CMake cache file for 3-stage release builds (PR #75903)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-github-workflow Author: Tom Stellard (tstellar) Changes You can now pass the -use-cmake-cache option to test-release.sh and it will use a predefined cache file for building the release. This will make it easier to reproduce the builds and add other en

[clang] [Tooling] Print the progress when there are multiple files to process (PR #75904)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Haojian Wu (hokein) Changes Running clang tools on a single file can be slow. It is even worse when running multiple files, to improve the user experience, we print the processing status. --- Full diff: https://github.com/llvm/llvm-projec

[clang-tools-extra] 73cf485 - [clangd] Expand response files before CDB interpolation (#75753)

2023-12-19 Thread via cfe-commits
Author: Dmitry Polukhin Date: 2023-12-19T03:25:48-05:00 New Revision: 73cf485151190fc61bf3cff996fe8ee3eea3a257 URL: https://github.com/llvm/llvm-project/commit/73cf485151190fc61bf3cff996fe8ee3eea3a257 DIFF: https://github.com/llvm/llvm-project/commit/73cf485151190fc61bf3cff996fe8ee3eea3a257.dif

[clang] [C++20] [Modules] [Itanium ABI] Generate the vtable in the module unit of dynamic classes (PR #75912)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Chuanqi Xu (ChuanqiXu9) Changes Close https://github.com/llvm/llvm-project/issues/70585 and reflect https://github.com/itanium-cxx-abi/cxx-abi/issues/170. The significant change of the patch is: for dynamic classes attached to mod

[clang] [Clang] Fix a crash when incorrectly calling an explicit object member function template (PR #75913)

2023-12-19 Thread via cfe-commits
https://github.com/cor3ntin created https://github.com/llvm/llvm-project/pull/75913 Fixes #75732 >From ba38db9f60f8a22e2a08f866e3540527131e16fb Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Tue, 19 Dec 2023 09:53:38 +0100 Subject: [PATCH] [Clang] Fix a crash when incorrectly calling an e

[clang] [Clang] Fix a crash when incorrectly calling an explicit object member function template (PR #75913)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: cor3ntin (cor3ntin) Changes Fixes #75732 --- Full diff: https://github.com/llvm/llvm-project/pull/75913.diff 2 Files Affected: - (modified) clang/lib/Sema/SemaExprMember.cpp (+2) - (modified) clang/test/SemaCXX/cxx2b-deducing-this.cpp

[clang] [Clang] Fix a crash when incorrectly calling an explicit object member function template (PR #75913)

2023-12-19 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/75913 >From ba38db9f60f8a22e2a08f866e3540527131e16fb Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Tue, 19 Dec 2023 09:53:38 +0100 Subject: [PATCH 1/2] [Clang] Fix a crash when incorrectly calling an explicit o

[clang] [llvm] [AMDGPU][GFX12] Add 16 bit atomic fadd instructions (PR #75917)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Mariusz Sikora (mariusz-sikora-at-amd) Changes - image_atomic_pk_add_f16 - image_atomic_pk_add_bf16 - ds_pk_add_bf16 - ds_pk_add_f16 - ds_pk_add_rtn_bf16 - ds_pk_add_rtn_f16 - flat_atomic_pk_add_f16 - flat_atomic_pk_add_bf16 - glob

[clang] [llvm] [AMDGPU][GFX12] Add 16 bit atomic fadd instructions (PR #75917)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-mc Author: Mariusz Sikora (mariusz-sikora-at-amd) Changes - image_atomic_pk_add_f16 - image_atomic_pk_add_bf16 - ds_pk_add_bf16 - ds_pk_add_f16 - ds_pk_add_rtn_bf16 - ds_pk_add_rtn_f16 - flat_atomic_pk_add_f16 - flat_atomic_pk_add_bf16 - global_atomic_pk

[clang] [Flang] Add fortran runtime libraries to AIX driver (PR #75921)

2023-12-19 Thread via cfe-commits
https://github.com/madanial0 created https://github.com/llvm/llvm-project/pull/75921 Add fortran runtime libraries to flang-new on AIX >From 08757c1fe91bb849699bddfa3543cc230e0012d9 Mon Sep 17 00:00:00 2001 From: Mark Danial Date: Tue, 19 Dec 2023 05:43:44 -0500 Subject: [PATCH] [Flang] Add fo

[clang] [Flang] Add fortran runtime libraries to AIX driver (PR #75921)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (madanial0) Changes Add fortran runtime libraries to flang-new on AIX --- Full diff: https://github.com/llvm/llvm-project/pull/75921.diff 1 Files Affected: - (modified) clang/lib/Driver/ToolChains/AIX.cpp (+6) ``diff dif

[clang] [flang] [llvm] [clang-tools-extra] [flang] Pass to add frame pointer attribute (PR #74598)

2023-12-19 Thread via cfe-commits
https://github.com/jeanPerier commented: Thanks for the update, please take care of Kiran's comments. LGTM otherwise. https://github.com/llvm/llvm-project/pull/74598 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin

[clang] [llvm] Use llvm-config.h in CIndexer.cpp instead of private header (PR #75928)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Abhina Sree (abhina-sree) Changes Use llvm-config.h in CIndexer.cpp instead of private header --- Full diff: https://github.com/llvm/llvm-project/pull/75928.diff 2 Files Affected: - (modified) clang/tools/libclang/CIndexer.cpp (+1-1) -

[clang] 32aa7d8 - [clang] Fix CTAD not work for C++ explicit type conversion (functional annotation). (#75779)

2023-12-19 Thread via cfe-commits
Author: Haojian Wu Date: 2023-12-19T14:35:37+01:00 New Revision: 32aa7d823c8ae7183e65da2f29ed08a84d6a1b6b URL: https://github.com/llvm/llvm-project/commit/32aa7d823c8ae7183e65da2f29ed08a84d6a1b6b DIFF: https://github.com/llvm/llvm-project/commit/32aa7d823c8ae7183e65da2f29ed08a84d6a1b6b.diff LO

[libunwind] ab41ea4 - [libunwind] Use -nostdlib++ when linking libunwind (#75646)

2023-12-19 Thread via cfe-commits
Author: Louis Dionne Date: 2023-12-19T09:05:32-05:00 New Revision: ab41ea4be364dcac32d0c4ec990735c8adb279c8 URL: https://github.com/llvm/llvm-project/commit/ab41ea4be364dcac32d0c4ec990735c8adb279c8 DIFF: https://github.com/llvm/llvm-project/commit/ab41ea4be364dcac32d0c4ec990735c8adb279c8.diff

[clang] [clang][CodeGen] Always use CLANG_VENDOR as a quoted string (PR #75935)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Dimitry Andric (DimitryAndric) Changes In 9a38a72f1d482 `ProductId` was assigned from the stringified value of `CLANG_VENDOR`, if that macro was defined. However, `CLANG_VENDOR` is supposed to be a string, as it is defined (optionally) as

[clang] [clang][CodeGen] Always use CLANG_VENDOR as a quoted string (PR #75935)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Dimitry Andric (DimitryAndric) Changes In 9a38a72f1d482 `ProductId` was assigned from the stringified value of `CLANG_VENDOR`, if that macro was defined. However, `CLANG_VENDOR` is supposed to be a string, as it is defined (option

[clang] [clang-tools-extra] [Sema][clangd] add noexcept to override functions during code completion (PR #75937)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Sirui Mu (Lancern) Changes If a virtual function is declared with `noexcept`, functions that override this function in the derived classes must be declared with `noexcept` as well. This PR updates code completion in clang Sema. It adds `n

[clang-tools-extra] [clang] [Sema][clangd] add noexcept to override functions during code completion (PR #75937)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: Sirui Mu (Lancern) Changes If a virtual function is declared with `noexcept`, functions that override this function in the derived classes must be declared with `noexcept` as well. This PR updates code completion in clang Sema. It adds `

[clang] [Clang][SME2] Add builtins for multi-vector fp round to integral value (PR #75941)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kerry McLaughlin (kmclaughlin-arm) Changes Adds the following SME2 builtins: - svrinta, svrintm, svrintn, svrintp (x2 & x4) --- Patch is 31.59 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/75

[llvm] [clang] [clang-tools-extra] [flang] [flang] Lower procedure pointer components (PR #75453)

2023-12-19 Thread via cfe-commits
https://github.com/jeanPerier updated https://github.com/llvm/llvm-project/pull/75453 >From e4618a1470b49abd35d177ef16cd6413a75aaf09 Mon Sep 17 00:00:00 2001 From: Jean Perier Date: Thu, 14 Dec 2023 01:25:00 -0800 Subject: [PATCH 1/5] [flang] Lower procedure pointer components Lower procedure

[llvm] [clang] [AArch64] Update target feature requirements of SVE bfloat instructions (PR #75596)

2023-12-19 Thread via cfe-commits
@@ -2086,7 +2086,7 @@ let TargetGuard = "sve2p1|sme2" in { def SVCNTP_COUNT : SInst<"svcntp_{d}", "n}i", "QcQsQiQl", MergeNone, "aarch64_sve_cntp_{d}", [IsOverloadNone, IsStreamingCompatible], [ImmCheck<1, ImmCheck2_4_Mul2>]>; } -let TargetGuard = "sve2p1,b16b16" in { +let

[llvm] [clang] [clang-tools-extra] [flang] [flang] Lower procedure pointer components (PR #75453)

2023-12-19 Thread via cfe-commits
https://github.com/jeanPerier closed https://github.com/llvm/llvm-project/pull/75453 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AArch64] Update target feature requirements of SVE bfloat instructions (PR #75596)

2023-12-19 Thread via cfe-commits
@@ -2086,7 +2086,7 @@ let TargetGuard = "sve2p1|sme2" in { def SVCNTP_COUNT : SInst<"svcntp_{d}", "n}i", "QcQsQiQl", MergeNone, "aarch64_sve_cntp_{d}", [IsOverloadNone, IsStreamingCompatible], [ImmCheck<1, ImmCheck2_4_Mul2>]>; } -let TargetGuard = "sve2p1,b16b16" in { +let

[clang] [llvm] [AArch64] Support for 9.5-A PAuthLR (PR #75947)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver @llvm/pr-subscribers-clang Author: Tomas Matheson (tmatheson-arm) Changes - [AArch64] add missing test case for v9.4-A - [AArch64] Add FEAT_PAuthLR assembler support - [AArch64] Codegen support for FEAT_PAuthLR --- Patch is 75.01 KiB, tru

[clang] [llvm] [AArch64] Support for 9.5-A PAuthLR (PR #75947)

2023-12-19 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 1f88e62db40950d48ee83ea31281689c54016709 a480e82f56d3dfc7cf8dc5a63ca8bf56abd29a1b --

[clang] [Clang] Fix a crash when incorrectly calling an explicit object member function template (PR #75913)

2023-12-19 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/75913 >From ba38db9f60f8a22e2a08f866e3540527131e16fb Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Tue, 19 Dec 2023 09:53:38 +0100 Subject: [PATCH 1/3] [Clang] Fix a crash when incorrectly calling an explicit o

[clang] [Clang][SME] Add IsStreamingOrSVE2p1 (PR #75958)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: Sam Tebbs (SamTebbs33) Changes This patch adds IsStreamingOrSVE2p1 to the applicable builtins and a warning for when those builtins are not used in a streaming or sve2p1 function. Sorry for the large change. I tried to separate

[clang] [flang] [flang][Driver] Let the linker fail on multiple definitions of main() (PR #73124)

2023-12-19 Thread via cfe-commits
kkwli wrote: Yep the situation is something like using `flang-new` to link the C and Fortran objects. ``` $ cat main.c void fsub(); int main() { fsub(); } $ cat sub.f90 subroutine fsub() end subroutine $ flang-new -c sub.f90 -fno-underscoring $ clang -c main.c $ flang-new main.o sub.o ld.lld

[llvm] [clang] [clang, SystemZ] Pass HasDef flag to getMinGlobalAlign(). (PR #73511)

2023-12-19 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 899c2bed9e959e822d1eccb37336981af9664e02 c0001b5b3fdcf3fdab76defc21ead8aad1e80746 --

[clang-tools-extra] [clangd] Perform self-containedness check at EOF (PR #75965)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: kadir çetinkaya (kadircet) Changes Header gurads are not detected until we hit EOF. Make sure we postpone any such detection until then. --- Full diff: https://github.com/llvm/llvm-project/pull/75965.diff 3 Files Affected: - (modified

[clang] 35b366a - [ClangRepl] Reland Semanic Code Completion (#75556)

2023-12-19 Thread via cfe-commits
Author: Fred Fu Date: 2023-12-19T22:53:02+02:00 New Revision: 35b366ace73d0ede3cdeeb4d09150a9945750b7f URL: https://github.com/llvm/llvm-project/commit/35b366ace73d0ede3cdeeb4d09150a9945750b7f DIFF: https://github.com/llvm/llvm-project/commit/35b366ace73d0ede3cdeeb4d09150a9945750b7f.diff LOG:

[lld] [compiler-rt] [flang] [libc] [libcxx] [llvm] [clang] [lldb] [clang-tools-extra] [AMDGPU] Use alias scope to relax waitcounts for LDS DMA (PR #75974)

2023-12-19 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 b3d024c6737adb87e83193de88af04ec74ddf3ea 154ab4f551b5f0bf83e016ebb6fa8516be67fc31 --

[clang-tools-extra] [clang] [llvm] [ISel] Add pattern matching for depositing subreg value (PR #75978)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: David Li (david-xl) Changes Depositing value into the lowest byte/word is a common code pattern. This patch improves the code generation for it to avoid redundant AND and OR operations. --- Full diff: https://github.com/llvm/llvm-pr

[libunwind] [libunwind] Bump to CXX_STANDARD 17 (PR #75986)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-libunwind Author: Fangrui Song (MaskRay) Changes libunwind uses C-style and low-level C++, so the language standard doesn't matter that much, but bumping to C++17 aligns with the rest of LLVM and enables some features that would cause pedantic warnings i

[clang] [libcxx] [llvm] [clang-tools-extra] [libcxx] adds ranges::fold_left_with_iter and ranges::fold_left (PR #75259)

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

[libcxx] [llvm] [clang-tools-extra] [clang] [libcxx] adds ranges::fold_left_with_iter and ranges::fold_left (PR #75259)

2023-12-19 Thread via cfe-commits
@@ -0,0 +1,118 @@ +// -*- 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

[llvm] [clang-tools-extra] [clang] [libcxx] [libcxx] adds ranges::fold_left_with_iter and ranges::fold_left (PR #75259)

2023-12-19 Thread via cfe-commits
https://github.com/EricWF approved this pull request. LGTM. I see @var-const has "requested changes" set, but I feel we've addressed the one unresolved comment of his. Given the amount of work you're going to be doing in the new year adding more fold algorithms, this code is going to get a lot

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

2023-12-19 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] [libc] [clang] [compiler-rt] [mlir] [lld] [llvm] [flang] Make clang report garbage target versions. (PR #75373)

2023-12-19 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/8] Make clang report garbage target versions. Clang always sil

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

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

[clang] [clang] Separate Intel ADC instrinsics from ADX intrinsics (PR #75992)

2023-12-19 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] Separate Intel ADC instrinsics from ADX intrinsics (PR #75992)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Max Winkler (MaxEW707) Changes See https://github.com/llvm/llvm-project/pull/75711 for discussion. As a summary from the PR above, `` includes adc intrinsics and adx intrinsics. To support MSVC STL we need to expose the adc i

[clang] [clang] Separate Intel ADC instrinsics from ADX intrinsics (PR #75992)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Max Winkler (MaxEW707) Changes See https://github.com/llvm/llvm-project/pull/75711 for discussion. As a summary from the PR above, `` includes adc intrinsics and adx intrinsics. To support MSVC STL we need to expose the

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

2023-12-19 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/8] Make clang report garbage target versions. Clang always sil

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

2023-12-19 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/9] Make clang report garbage target versions. Clang always sil

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

2023-12-19 Thread via cfe-commits
@@ -0,0 +1,48 @@ +//===- unittests/Driver/DriverTest.cpp --- Driver tests -===// +// +// 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: Apache-2.0

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

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

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

2023-12-19 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 01/10] Make clang report garbage target versions. Clang always s

[clang] e5eef6e - [Clang][Wswitch-default] Warning for enum even completely covered the cases (#75900)

2023-12-19 Thread via cfe-commits
Author: hstk30-hw Date: 2023-12-20T10:26:27+08:00 New Revision: e5eef6e24f06dfffc77cffc6963e8543f9d223bd URL: https://github.com/llvm/llvm-project/commit/e5eef6e24f06dfffc77cffc6963e8543f9d223bd DIFF: https://github.com/llvm/llvm-project/commit/e5eef6e24f06dfffc77cffc6963e8543f9d223bd.diff LOG

[clang] [Flang] Add fortran runtime libraries to AIX driver (PR #75921)

2023-12-19 Thread via cfe-commits
https://github.com/kkwli approved this pull request. LG. Please wait for a day or two to see if other reviewers have any comments. Thanks. https://github.com/llvm/llvm-project/pull/75921 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https:/

[clang] [libc] [clang-tools-extra] [compiler-rt] [llvm] [mlir] [flang] [mlir][Linalg] Support dynamic shapes in `lower_pack` transform (PR #76003)

2023-12-19 Thread via cfe-commits
https://github.com/srcarroll created https://github.com/llvm/llvm-project/pull/76003 When an expanded dim is not factorable, emit a `tensor.reshape` instead of a `tensor.expand_shape` >From 860a2f794bdf12ff1f08d4802570757e805264b0 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 18 Dec 2023 15:5

[mlir] [llvm] [libc] [clang-tools-extra] [compiler-rt] [flang] [clang] [mlir][Linalg] Support dynamic shapes in `lower_pack` transform (PR #76003)

2023-12-19 Thread via cfe-commits
https://github.com/srcarroll updated https://github.com/llvm/llvm-project/pull/76003 >From 860a2f794bdf12ff1f08d4802570757e805264b0 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 18 Dec 2023 15:53:41 -0600 Subject: [PATCH 1/5] [mlir][Linalg] Support dynamic sizes in `lower_pack` transform ---

[clang] [Clang][Sema] Fix Wswitch-default bad warning in template (PR #76007)

2023-12-19 Thread via cfe-commits
https://github.com/hstk30-hw created https://github.com/llvm/llvm-project/pull/76007 Fix https://github.com/llvm/llvm-project/issues/75943 >From c3d5ac42726c49fd7036972042eb70d3e5dc01a6 Mon Sep 17 00:00:00 2001 From: hstk-hw Date: Wed, 20 Dec 2023 12:26:15 +0800 Subject: [PATCH] fix: fix Wswit

[clang] [Clang][Sema] Fix Wswitch-default bad warning in template (PR #76007)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (hstk30-hw) Changes Fix https://github.com/llvm/llvm-project/issues/75943 --- Full diff: https://github.com/llvm/llvm-project/pull/76007.diff 2 Files Affected: - (modified) clang/lib/Sema/SemaStmt.cpp (+1-3) - (added) clang/test/S

[mlir] [llvm] [libc] [clang-tools-extra] [compiler-rt] [flang] [clang] [mlir][Linalg] Support dynamic shapes in `lower_pack` transform (PR #76003)

2023-12-19 Thread via cfe-commits
https://github.com/srcarroll updated https://github.com/llvm/llvm-project/pull/76003 >From 860a2f794bdf12ff1f08d4802570757e805264b0 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 18 Dec 2023 15:53:41 -0600 Subject: [PATCH 1/6] [mlir][Linalg] Support dynamic sizes in `lower_pack` transform ---

[clang] [clang-tools-extra] [compiler-rt] [libc] [llvm] [mlir] [flang] [mlir][Linalg] Support dynamic shapes in `lower_pack` transform (PR #76003)

2023-12-19 Thread via cfe-commits
@@ -1089,7 +1089,7 @@ collapseOpIterationDims(LinalgType op, struct LowerPackResult { tensor::PadOp padOp; - tensor::ExpandShapeOp expandShapeOp; + Operation *expandShapeOp; srcarroll wrote: Not actually sure what would be appropriate here. Alternatively

[clang] [clang-tools-extra] [compiler-rt] [libc] [llvm] [mlir] [flang] [mlir][Linalg] Support dynamic shapes in `lower_pack` transform (PR #76003)

2023-12-19 Thread via cfe-commits
https://github.com/srcarroll updated https://github.com/llvm/llvm-project/pull/76003 >From 860a2f794bdf12ff1f08d4802570757e805264b0 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 18 Dec 2023 15:53:41 -0600 Subject: [PATCH 1/7] [mlir][Linalg] Support dynamic sizes in `lower_pack` transform ---

[clang] [clang-tools-extra] [compiler-rt] [libc] [llvm] [mlir] [flang] [mlir][Linalg] Support dynamic shapes in `lower_pack` transform (PR #76003)

2023-12-19 Thread via cfe-commits
https://github.com/srcarroll updated https://github.com/llvm/llvm-project/pull/76003 >From 860a2f794bdf12ff1f08d4802570757e805264b0 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 18 Dec 2023 15:53:41 -0600 Subject: [PATCH 1/7] [mlir][Linalg] Support dynamic sizes in `lower_pack` transform ---

[clang] [clang-tools-extra] [compiler-rt] [libc] [llvm] [mlir] [flang] [mlir][Linalg] Support dynamic shapes in `lower_pack` transform (PR #76003)

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

[clang] [clang-tools-extra] [compiler-rt] [libc] [llvm] [mlir] [flang] [mlir][Linalg] Support dynamic shapes in `lower_pack` transform (PR #76003)

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

[compiler-rt] [libc] [mlir] [llvm] [clang] [clang-tools-extra] [flang] [mlir][Linalg] Support dynamic shapes in `lower_pack` transform (PR #76003)

2023-12-19 Thread via cfe-commits
https://github.com/srcarroll updated https://github.com/llvm/llvm-project/pull/76003 >From 860a2f794bdf12ff1f08d4802570757e805264b0 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 18 Dec 2023 15:53:41 -0600 Subject: [PATCH 1/7] [mlir][Linalg] Support dynamic sizes in `lower_pack` transform ---

[compiler-rt] [libc] [mlir] [llvm] [clang] [clang-tools-extra] [flang] [mlir][Linalg] Support dynamic shapes in `lower_pack` transform (PR #76003)

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

[compiler-rt] [libc] [mlir] [llvm] [clang] [clang-tools-extra] [flang] [mlir][Linalg] Support dynamic shapes in `lower_pack` transform (PR #76003)

2023-12-19 Thread via cfe-commits
srcarroll wrote: The current implementation will emit a `tensor.reshape` op if any of the dims of the input are not factorable (require more than one dynamic dim in the expansion). However, I could instead only emit reshapes for the dims that need it, and then a `tensor.expand_shape` on the re

[compiler-rt] [libc] [mlir] [llvm] [clang] [clang-tools-extra] [flang] [mlir][Linalg] Support dynamic shapes in `lower_pack` transform (PR #76003)

2023-12-19 Thread via cfe-commits
https://github.com/srcarroll updated https://github.com/llvm/llvm-project/pull/76003 >From 860a2f794bdf12ff1f08d4802570757e805264b0 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 18 Dec 2023 15:53:41 -0600 Subject: [PATCH 1/8] [mlir][Linalg] Support dynamic sizes in `lower_pack` transform ---

[libunwind] 47413bb - [libunwind] Bump to CXX_STANDARD 17 (#75986)

2023-12-19 Thread via cfe-commits
Author: Fangrui Song Date: 2023-12-19T21:51:05-08:00 New Revision: 47413bb2760e63a3302871ea770d6c0f5a742036 URL: https://github.com/llvm/llvm-project/commit/47413bb2760e63a3302871ea770d6c0f5a742036 DIFF: https://github.com/llvm/llvm-project/commit/47413bb2760e63a3302871ea770d6c0f5a742036.diff

[clang] 207cbbd - DiagnosticHandler: refactor error checking (#75889)

2023-12-19 Thread via cfe-commits
Author: Fangrui Song Date: 2023-12-19T21:51:26-08:00 New Revision: 207cbbd71009090768c63004b967eddfab0f1d2e URL: https://github.com/llvm/llvm-project/commit/207cbbd71009090768c63004b967eddfab0f1d2e DIFF: https://github.com/llvm/llvm-project/commit/207cbbd71009090768c63004b967eddfab0f1d2e.diff

[clang] [Clang][Sema] Fix Wswitch-default bad warning in template (PR #76007)

2023-12-19 Thread via cfe-commits
https://github.com/hstk30-hw edited https://github.com/llvm/llvm-project/pull/76007 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Parser] Fix crash of clang when using C++ constructs like :: in C code (PR #74926)

2023-12-19 Thread via cfe-commits
https://github.com/ChipsSpectre updated https://github.com/llvm/llvm-project/pull/74926 >From 28a5e6ffab5ec5fef7edce58c4dbdebffcfaabe3 Mon Sep 17 00:00:00 2001 From: ChipsSpectre Date: Tue, 19 Dec 2023 05:14:06 +0100 Subject: [PATCH] [clang][Parse] `TryAnnotateCXXScopeToken` to be called only

[clang] [Clang][Parser] Fix crash of clang when using C++ constructs like :: in C code (PR #74926)

2023-12-19 Thread via cfe-commits
https://github.com/ChipsSpectre updated https://github.com/llvm/llvm-project/pull/74926 >From a08d9029445087b78d19715991c426106d9b0ca6 Mon Sep 17 00:00:00 2001 From: ChipsSpectre Date: Wed, 20 Dec 2023 07:33:20 +0100 Subject: [PATCH] [clang][Parse] `TryAnnotateCXXScopeToken` to be called only

[clang] [Clang][Parser] Fix crash of clang when using C++ constructs like :: in C code (PR #74926)

2023-12-19 Thread via cfe-commits
ChipsSpectre wrote: The Fork is now rebased on main, so the conflict in `ReleaseNotes.rst` is resolved. @tbaederr Do you think it is ready to be merged now? https://github.com/llvm/llvm-project/pull/74926 ___ cfe-commits mailing list cfe-commits@list

[clang] [Clang][Sema] Fix Wswitch-default bad warning in template (PR #76007)

2023-12-19 Thread via cfe-commits
https://github.com/hstk30-hw updated https://github.com/llvm/llvm-project/pull/76007 >From 7b8c1c758c77550536b9d16027b2e51090e365be Mon Sep 17 00:00:00 2001 From: hstk-hw Date: Wed, 20 Dec 2023 12:26:15 +0800 Subject: [PATCH]in templates. This PR will address that. --- clang/lib/Sema/

[clang] c853676 - [Clang] Fix a crash when incorrectly calling an explicit object member function template (#75913)

2023-12-19 Thread via cfe-commits
Author: cor3ntin Date: 2023-12-20T07:41:24+01:00 New Revision: c8536760612785e8ee97a5261c20d22c6712b4b2 URL: https://github.com/llvm/llvm-project/commit/c8536760612785e8ee97a5261c20d22c6712b4b2 DIFF: https://github.com/llvm/llvm-project/commit/c8536760612785e8ee97a5261c20d22c6712b4b2.diff LOG:

[clang] [Clang] Fix a crash when incorrectly calling an explicit object member function template (PR #75913)

2023-12-19 Thread via cfe-commits
https://github.com/cor3ntin closed https://github.com/llvm/llvm-project/pull/75913 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 379d32d - Recommit [RISCV] Implement multi-lib reuse rule for RISC-V bare-metal toolchain (#73765) (#75890)

2023-12-19 Thread via cfe-commits
Author: Brandon Wu Date: 2023-12-20T14:42:11+08:00 New Revision: 379d32dab812731dc8883eff48477fd5cc7c8a17 URL: https://github.com/llvm/llvm-project/commit/379d32dab812731dc8883eff48477fd5cc7c8a17 DIFF: https://github.com/llvm/llvm-project/commit/379d32dab812731dc8883eff48477fd5cc7c8a17.diff LO

[clang] [Clang][Sema] Fix Wswitch-default bad warning in template (PR #76007)

2023-12-19 Thread via cfe-commits
https://github.com/hstk30-hw updated https://github.com/llvm/llvm-project/pull/76007 >From 2991e9b990702b22f67b1d7a146605b1388cec87 Mon Sep 17 00:00:00 2001 From: hstk30-hw Date: Wed, 20 Dec 2023 12:26:15 +0800 Subject: [PATCH] [Clang][Sema] Fix Wswitch-default bad warning in template [#73077]

[clang] [clang-format] Add an fnmatch-like function for .clang-format-ignore (PR #76021)

2023-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes This is needed because Windows doesn't have anything equivalent to the POSIX fnmatch() function. --- Full diff: https://github.com/llvm/llvm-project/pull/76021.diff 5 Files Affected: - (modified) clang/

[llvm] [clang-tools-extra] [compiler-rt] [clang] [OpenMP] atomic compare fail : Codegen support (PR #75709)

2023-12-20 Thread via cfe-commits
https://github.com/SunilKuravinakop updated https://github.com/llvm/llvm-project/pull/75709 >From fe931d64741f427629407bca3e68a61bec6f2b67 Mon Sep 17 00:00:00 2001 From: Sunil Kuravinakop Date: Sat, 16 Dec 2023 11:43:35 -0600 Subject: [PATCH 1/2] Adding parameter to fail clause (i.e. memory ord

[clang] [compiler-rt] [mlir] [llvm] [libc] [clang-tools-extra] [OpenMP] atomic compare fail : Codegen support (PR #75709)

2023-12-20 Thread via cfe-commits
https://github.com/SunilKuravinakop updated https://github.com/llvm/llvm-project/pull/75709 >From fe931d64741f427629407bca3e68a61bec6f2b67 Mon Sep 17 00:00:00 2001 From: Sunil Kuravinakop Date: Sat, 16 Dec 2023 11:43:35 -0600 Subject: [PATCH 1/2] Adding parameter to fail clause (i.e. memory ord

[compiler-rt] [clang] [AIX] Undefine __STDC_NO_ATOMICS__ to enable c11 atomics functionality (PR #76025)

2023-12-20 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kai Luo (bzEq) Changes This is copied from https://reviews.llvm.org/D109139. `__STDC_NO_ATOMICS__` is predefined to indicate clang on AIX doesn't support `_Atomic` and not shipped with `stdatomic.h` yet. Actually `_Atomic` is already sup

[clang] [compiler-rt] [mlir] [llvm] [libc] [clang-tools-extra] [OpenMP] atomic compare fail : Codegen support (PR #75709)

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

[clang] [AST] RecursiveASTVisitor: traverse the require clause for partial template specializations. (PR #75795)

2023-12-20 Thread via cfe-commits
https://github.com/jensmassberg approved this pull request. Thanks for the fix! https://github.com/llvm/llvm-project/pull/75795 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][dataflow] Add `Environment::get<>()`. (PR #76027)

2023-12-20 Thread via cfe-commits
https://github.com/martinboehme created https://github.com/llvm/llvm-project/pull/76027 This template function casts the result of `getValue()` or `getStorageLocation()` to a given subclass of `Value` or `StorageLocation` (using `cast_or_null`). It's a common pattern to do something like this:

[clang] [clang][dataflow] Add `Environment::get<>()`. (PR #76027)

2023-12-20 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-analysis Author: None (martinboehme) Changes This template function casts the result of `getValue()` or `getStorageLocation()` to a given subclass of `Value` or `StorageLocation` (using `cast_or_null`). It's a common pattern to do something like t

[clang] [clang][dataflow] Add `Environment::get<>()`. (PR #76027)

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

<    30   31   32   33   34   35   36   37   38   39   >