[clang] [AArch64][SME2] Add SME2 MLA/MLS builtins. (PR #75584)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Dinar Temirbulatov (dtemirbulatov) Changes Add SME2 MLA/MLS builtins. --- Patch is 291.39 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/75584.diff 5 Files Affected: - (modified) clang/inclu

[clang] [AArch64][SME2] Add SME2 MLA/MLS builtins. (PR #75584)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Dinar Temirbulatov (dtemirbulatov) Changes Add SME2 MLA/MLS builtins. --- Patch is 291.39 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/75584.diff 5 Files Affected: - (modified) cla

[clang] [AArch64][SME2] Add SME2 MLA/MLS builtins. (PR #75584)

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 ed4194bb8dbca5222628c2cddbc032fff57193b5 222104ad4d5eb037b5ffd9af8e49c26edcb20a76 --

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

2023-12-15 Thread via cfe-commits
mikaelholmen wrote: > I'll try to provide the fix shortly. If I'm not able, I'll revert. Sounds good. Thank you! https://github.com/llvm/llvm-project/pull/70829 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mai

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

2023-12-15 Thread via cfe-commits
Author: CarolineConcatto Date: 2023-12-15T11:42:00Z New Revision: 77c40ea3d26e12a1162dcb643d498b7a98c3eb68 URL: https://github.com/llvm/llvm-project/commit/77c40ea3d26e12a1162dcb643d498b7a98c3eb68 DIFF: https://github.com/llvm/llvm-project/commit/77c40ea3d26e12a1162dcb643d498b7a98c3eb68.diff L

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

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

[clang] [clang][Interp] Implement integral->complex casts (PR #75590)

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

[clang] [clang] Fix unexpected warnings after a01307a (PR #75591)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Mariya Podchishchaeva (Fznamznon) Changes a01307a broke silencing of -Wmissing-field-initializers warnings in C for nested designators. This fixes the issue. --- Full diff: https://github.com/llvm/llvm-project/pull/75591.diff 2 Files Af

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

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: Momchil Velikov (momchil-velikov) Changes According to the latest update of the ISA https://developer.arm.com/documentation/ddi0602/2023-09/?lang=en all of the affected instruction encodings now require (FEAT_SVE2 or FEAT_SM

[clang] [clang] Fix unexpected warnings after a01307a (PR #75591)

2023-12-15 Thread via cfe-commits
https://github.com/mikaelholmen commented: I really don't know this, and I have no easy way to test that this really fixes all the new warnings we see with a01307a6ee788, but at least it seems to fix the added cases in the missing-field-initializers.c test so it's at least seems to be a step i

[clang] [clang] Fix unexpected warnings after a01307a (PR #75591)

2023-12-15 Thread via cfe-commits
@@ -864,6 +864,14 @@ InitListChecker::FillInEmptyInitializations(const InitializedEntity &Entity, WarnIfMissingField &= SemaRef.getLangOpts().CPlusPlus || !hasAnyDesignatedInits(SForm); + if (OuterILE) { mikaelholmen wrote: Perhaps add a

[clang] [clang] Fix unexpected warnings after a01307a (PR #75591)

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

[clang] [clang] Fix unexpected warnings after a01307a (PR #75591)

2023-12-15 Thread via cfe-commits
https://github.com/mikaelholmen edited https://github.com/llvm/llvm-project/pull/75591 ___ 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-15 Thread via cfe-commits
@@ -0,0 +1,9 @@ +// RUN: %clang --target=wasm32 -mmultivalue -Xclang -target-abi -Xclang experimental-mv %s -S -Xclang -verify + +float crealf() { return 0;} // expected-no-diagnostics knightXun wrote: ok, nice hit! https://github.com/llvm/llvm-project/pull/704

[clang] [flang] [Flang, Clang] Enable and test 'rdynamic' flag (PR #75598)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Radu Salavat (Radu2k) Changes Enable and test 'rdynamic' flag --- Full diff: https://github.com/llvm/llvm-project/pull/75598.diff 2 Files Affected: - (modified) clang/include/clang/Driver/Options.td (+2-1) - (added) flang/test/Driver/r

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

2023-12-15 Thread via cfe-commits
Author: Phoebe Wang Date: 2023-12-15T20:41:42+08:00 New Revision: f5e48fed043eaa24546aeaa656cb88342d3085e6 URL: https://github.com/llvm/llvm-project/commit/f5e48fed043eaa24546aeaa656cb88342d3085e6 DIFF: https://github.com/llvm/llvm-project/commit/f5e48fed043eaa24546aeaa656cb88342d3085e6.diff L

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

2023-12-15 Thread via cfe-commits
https://github.com/knightXun updated https://github.com/llvm/llvm-project/pull/70496 >From d51afcd3e8f41bcf94259561e71fd10628fc78c3 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] [clang] Fix unexpected warnings after a01307a (PR #75591)

2023-12-15 Thread via cfe-commits
@@ -864,6 +864,14 @@ InitListChecker::FillInEmptyInitializations(const InitializedEntity &Entity, WarnIfMissingField &= SemaRef.getLangOpts().CPlusPlus || !hasAnyDesignatedInits(SForm); + if (OuterILE) { mikaelholmen wrote: Ok, ideally t

[clang] [clang] Fix unexpected warnings after a01307a (PR #75591)

2023-12-15 Thread via cfe-commits
https://github.com/mikaelholmen approved this pull request. Ok, ideally this should be reviewed by someone who knows the code but it LGTM. https://github.com/llvm/llvm-project/pull/75591 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://

[clang] [clang] Fix unexpected warnings after a01307a (PR #75591)

2023-12-15 Thread via cfe-commits
mikaelholmen wrote: > > Ok, ideally this should be reviewed by someone who knows the code but it > > LGTM. > > I know, but a lot of folks are now on vacation already. The change is not > complicated, so I'll probably wait till green pre-commit, then leave it for > post-commit review to resolv

[clang-tools-extra] [clangd] Track IWYU pragmas for non-preamble includes (PR #75612)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: kadir çetinkaya (kadircet) Changes This makes PragmaIncldues copyable, and copies it from preamble when building a new AST. Fixes https://github.com/clangd/clangd/issues/1843 Fixes https://github.com/clangd/clangd/issues/1571 --- Full d

[clang] 32d5221 - [clang] Fix unexpected warnings after a01307a (#75591)

2023-12-15 Thread via cfe-commits
Author: Mariya Podchishchaeva Date: 2023-12-15T15:25:01+01:00 New Revision: 32d5221ec4810dd723ccebaabbda1df5d3b4cfcf URL: https://github.com/llvm/llvm-project/commit/32d5221ec4810dd723ccebaabbda1df5d3b4cfcf DIFF: https://github.com/llvm/llvm-project/commit/32d5221ec4810dd723ccebaabbda1df5d3b4cf

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

2023-12-15 Thread via cfe-commits
Author: fel-cab Date: 2023-12-15T08:25:14-06:00 New Revision: b522675816d6d5c0b0ae23e14115f4aa5a081583 URL: https://github.com/llvm/llvm-project/commit/b522675816d6d5c0b0ae23e14115f4aa5a081583 DIFF: https://github.com/llvm/llvm-project/commit/b522675816d6d5c0b0ae23e14115f4aa5a081583.diff LOG:

[clang] [clang-tools-extra] [llvm] [MCP] Enhance MCP copy Instruction removal for special case(reapply) (PR #74239)

2023-12-15 Thread via cfe-commits
https://github.com/LWenH updated https://github.com/llvm/llvm-project/pull/74239 >From 8e7399015e74059731ea19468d2ee514a9a3e9a4 Mon Sep 17 00:00:00 2001 From: LWenH <924105...@qq.com> Date: Sun, 3 Dec 2023 19:59:49 +0800 Subject: [PATCH] [mcp] Bug fix for reverted patch 70778 In pr 70778, when w

[clang] [clang-tools-extra] [llvm] [MCP] Enhance MCP copy Instruction removal for special case(reapply) (PR #74239)

2023-12-15 Thread via cfe-commits
LWenH wrote: Resolve X86 conflict test files. Ping. https://github.com/llvm/llvm-project/pull/74239 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 32f9983 - [AMDGPU] - Add address space for strided buffers (#74471)

2023-12-15 Thread via cfe-commits
Author: Jessica Del Date: 2023-12-15T15:49:25+01:00 New Revision: 32f9983c064557883223b585810eac3c6797d500 URL: https://github.com/llvm/llvm-project/commit/32f9983c064557883223b585810eac3c6797d500 DIFF: https://github.com/llvm/llvm-project/commit/32f9983c064557883223b585810eac3c6797d500.diff L

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

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

[clang] 71bbfab - [flang][nfc] Refactor linker invocation logic (#75534)

2023-12-15 Thread via cfe-commits
Author: Andrzej Warzyński Date: 2023-12-15T15:04:37Z New Revision: 71bbfabd08d90a3007f6034e420daa66c41027db URL: https://github.com/llvm/llvm-project/commit/71bbfabd08d90a3007f6034e420daa66c41027db DIFF: https://github.com/llvm/llvm-project/commit/71bbfabd08d90a3007f6034e420daa66c41027db.diff

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

2023-12-15 Thread via cfe-commits
SunilKuravinakop wrote: Since this has been done in https://github.com/llvm/llvm-project/pull/75419 with the change suggested by Joseph Huber, I am closing this. https://github.com/llvm/llvm-project/pull/75562 ___ cfe-commits mailing list cfe-commits@

[clang] [clang-tools-extra] In compilation databases, add support for relative directories (PR #69856)

2023-12-15 Thread via cfe-commits
https://github.com/Overhatted updated https://github.com/llvm/llvm-project/pull/69856 >From 7a92e0a3996ea3f518b6c3d740e1122902668308 Mon Sep 17 00:00:00 2001 From: Overhatted <15021741+overhat...@users.noreply.github.com> Date: Fri, 15 Dec 2023 15:53:56 + Subject: [PATCH] In compilation data

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

2023-12-15 Thread via cfe-commits
quic-akaryaki wrote: Thanks for letting me know, I'm preparing a fix. By the way, is there a way to run a buildbot manually? https://github.com/llvm/llvm-project/pull/65815 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org

[clang] [clang-repl] fix segfault in CleanUpPTU() (PR #75629)

2023-12-15 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 segfault in CleanUpPTU() (PR #75629)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Pavel Kalugin (p4vook) Changes Check if the last translation unit or its first declaration are actually empty and do not nead cleanup. Previously this caused segmentation fault on empty PTUs. Add a regression test. Fixes: #72980 --- Fu

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

2023-12-15 Thread via cfe-commits
quic-akaryaki wrote: Trying a fix in #75631. 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

[llvm] [clang-tools-extra] [clang] Add out-of-line-atomics support to GlobalISel (PR #74588)

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 67aec2f58bf1568bb1c68d4906bc3c0103ff3c98 84aa367c3fd9f96b354bf49183cbd6fc8a836ffa --

[clang-tools-extra] [clangd] Add languages as server capabilities (PR #75633)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: Chris B (llvm-beanz) Changes This change adds a list of supported langauges as part of the server capabilities. This is related to a PR to add HLSL support to the clangd VSCode plugin (https://github.com/clangd/vscode-clangd/pull/392).

[clang] [SystemZ][z/OS] Add guard for dl_info and dladdr (PR #75637)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Abhina Sree (abhina-sree) Changes This patch fixes the following build error on z/OS `error: unknown type name 'Dl_info'` by adding a guard to check if we have dladdr. --- Full diff: https://github.com/llvm/llvm-project/pull/75637.diff

[clang] [openmp] [Clang][OpenMP] Fix mapping of structs to device (PR #75642)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Gheorghe-Teodor Bercea (doru1004) Changes Fix mapping of structs to device. The following example fails: ``` #include #include struct Descriptor { int *datum; long int x; int xi; long int arr[1][30]; }; int

[openmp] [clang] [Clang][OpenMP] Fix mapping of structs to device (PR #75642)

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 29ee66f4a0967e43a035f147c960743c7b640f2f 2dc40b67e55985de4e9e89758d6c65eb73faac02 --

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

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-libunwind Author: Louis Dionne (ldionne) Changes We shouldn't need to link against libc++ or libc++abi when building libunwind, since that would otherwise be a circular dependency. --- Full diff: https://github.com/llvm/llvm-project/pull/75646.diff 1

[clang] [llvm] [AMDGPU] Adding the amdgpu-num-work-groups function attribute (PR #75647)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Jun Wang (jwanggit86) Changes A new function attribute named amdgpu-num-work-groups is added. This attribute allows programmers to let the compiler know the number of workgroups to be launched and do optimizations based on that i

[llvm] [clang] [AMDGPU] Adding the amdgpu-num-work-groups function attribute (PR #75647)

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 7bc6c4abe8e8d8ab70e02e4c2025a94dda01d908 bb15eebae9645e5383f26066093c0734ea76442d --

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

2023-12-15 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. This is an updated version of #75534. This iteration makes sure that FortranMain.a comes be

[clang] While refactoring projects to eradicate unsafe buffer accesses using … (PR #75650)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-analysis @llvm/pr-subscribers-clang Author: Malavika Samak (malavikasamak) Changes …-Wunsafe-buffer-usage, there maybe accidental re-introduction of new OutOfBound accesses into the code bases. One such case is invoking span::data() method on a s

[clang] While refactoring projects to eradicate unsafe buffer accesses using … (PR #75650)

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 ec92d74a0ef89b9dd46aee6ec8aca6bfd3c66a54 809bf6f4237f634feaeb7e5b0b88be3a2e4de455 --

[clang] [Driver] Add -fandroid-pad-segment/-fno-android-pad-segment (PR #75652)

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 a4d1d5f5b54b2f93d7290588734f59ff24fc515c f82a3a8cf72ba4207fb2cdc04467079d51e20efa --

[clang] [NFC][CLANG] Rename duplicate loop attributes diagnostic functions (PR #75657)

2023-12-15 Thread via cfe-commits
https://github.com/smanna12 created https://github.com/llvm/llvm-project/pull/75657 This patch renames CheckForDuplicateCodeAlignAttrs() to CheckForDuplicateLoopAttrs() and corresponding other functions that call it to be used for other statement attributes in future. >From f3cfe4cbc1053162b8

[clang] [NFC][CLANG] Rename duplicate loop attributes diagnostic functions (PR #75657)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (smanna12) Changes This patch renames CheckForDuplicateCodeAlignAttrs() to CheckForDuplicateLoopAttrs() and corresponding other functions that call it to be used for other statement attributes in future. --- Full diff: https://githu

[clang] [NFC][CLANG] Rename duplicate loop attributes diagnostic functions (PR #75657)

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 35a003c2b21082f3c47c8b01d9d1955af5ab098e f3cfe4cbc1053162b825cc144a5f5c0f73a40b77 --

[clang] [NFC][CLANG] Rename duplicate loop attributes diagnostic functions (PR #75657)

2023-12-15 Thread via cfe-commits
https://github.com/smanna12 updated https://github.com/llvm/llvm-project/pull/75657 >From f3cfe4cbc1053162b825cc144a5f5c0f73a40b77 Mon Sep 17 00:00:00 2001 From: "Manna, Soumi" Date: Fri, 15 Dec 2023 13:15:50 -0800 Subject: [PATCH 1/2] [NFC][CLANG] Rename duplicate loop attributes diagnostic f

[clang] aaa3f72 - [PowerPC] Emit libcall to frexpl for calls to frexp(ppcDoublDouble) (#75226)

2023-12-15 Thread via cfe-commits
Author: Lei Huang Date: 2023-12-15T17:23:16-05:00 New Revision: aaa3f72c1ce6e1757df79c0d02e0675201ee07a3 URL: https://github.com/llvm/llvm-project/commit/aaa3f72c1ce6e1757df79c0d02e0675201ee07a3 DIFF: https://github.com/llvm/llvm-project/commit/aaa3f72c1ce6e1757df79c0d02e0675201ee07a3.diff LOG

[clang] [-Wunsafe-buffer-usage] Add a subgroup `-Wunsafe-buffer-usage-in-container` (PR #75665)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Ziqing Luo (ziqingluo-90) Changes Add a sub diagnostic group under `-Wunsafe-buffer-usage` controlled by `-Wunsafe-buffer-usage-in-container`. The subgroup will include warnings on misuses of `std::span`, `std::vector`, and `std::array`.

[clang] [clang][CGCUDANV] Unify PointerType members of CGNVCUDARuntime (NFC) (PR #75668)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Youngsuk Kim (JOE1994) Changes Unify 3 `Pointertype *` members which all refer to the same llvm type. Opaque pointer clean-up effort. --- Full diff: https://github.com/llvm/llvm-project/pull/75668.diff 1 Files Affected: - (modified) cl

[clang-tools-extra] [clangd] Make sure ninja can clean "ClangdXPC.framework" (PR #75669)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: Jan Svoboda (jansvoboda11) Changes After building the ClangdXPC target, `ninja clean` fails with the following error: ``` ninja: error: remove(lib/ClangdXPC.framework): Directory not empty ninja: error: remove(/lib/ClangdXPC.frame

[clang] [NFC][CLANG] Rename duplicate loop attributes diagnostic functions (PR #75657)

2023-12-15 Thread via cfe-commits
smanna12 wrote: Thank you @erichkeane for reviews! https://github.com/llvm/llvm-project/pull/75657 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [HLSL][DirectX] Move handling of resource element types into the frontend (PR #75674)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Justin Bogner (bogner) Changes Rather than shepherding a type name all the way to the backend as a string and attempting to parse it, get the element type out of the AST and store that in the resource annotation metadata directly. --- Pa

[llvm] [clang] [HLSL][DirectX] Move handling of resource element types into the frontend (PR #75674)

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 b3e353d263f9d6ef061f4e6d89619c72a3553002 9d6e00bd972a563daefd67b544614e2bb609cc42 --

[clang] [CodeGen] Emit a more accurate alignment for non-temporal loads/stores (PR #75675)

2023-12-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Akira Hatanaka (ahatanak) Changes Call EmitPointerWithAlignment to compute the alignment based on the underlying lvalue's alignment when it's available. --- Full diff: https://github.com/llvm/llvm-project/pull/75675.diff 2 Files

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

2023-12-15 Thread via cfe-commits
https://github.com/MaheshRavishankar edited 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] [clang-tools-extra] [mlir] [llvm] [mlir][TilingInterface] Early return cloned ops if tile sizes are zeros. (PR #75410)

2023-12-15 Thread via cfe-commits
https://github.com/MaheshRavishankar requested changes to 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] [llvm] [clang-tools-extra] [mlir] [mlir][TilingInterface] Early return cloned ops if tile sizes are zeros. (PR #75410)

2023-12-15 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

[clang] [NFC][CLANG] Rename duplicate loop attributes diagnostic functions (PR #75657)

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

[clang] 7a0fd97 - [NFC][CLANG] Rename duplicate loop attributes diagnostic functions (#75657)

2023-12-15 Thread via cfe-commits
Author: smanna12 Date: 2023-12-15T22:09:19-06:00 New Revision: 7a0fd97ac1094b9b1547c8d7b35e583d7387224d URL: https://github.com/llvm/llvm-project/commit/7a0fd97ac1094b9b1547c8d7b35e583d7387224d DIFF: https://github.com/llvm/llvm-project/commit/7a0fd97ac1094b9b1547c8d7b35e583d7387224d.diff LOG:

[clang-tools-extra] [clangd] Ensure `-isysroot` in the original command is respected (PR #75694)

2023-12-16 Thread via cfe-commits
https://github.com/kon72 created https://github.com/llvm/llvm-project/pull/75694 In CommandMangler, it guesses sysroot path of the host system and adds that through `-isysroot` flag only when there is no `--sysroot` or `-isysroot` flag beforehand. Previously, it could not find `-isysroot` flag

[clang-tools-extra] [clangd] Ensure `-isysroot` in the original command is respected (PR #75694)

2023-12-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: Kon (kon72) Changes In CommandMangler, it guesses sysroot path of the host system and adds that through `-isysroot` flag only when there is no `--sysroot` or `-isysroot` flag beforehand. Previously, it could not find `-isysroot`

[clang] [Clang][ARM] support arm target attribute, and warning for bad typo (PR #74812)

2023-12-16 Thread via cfe-commits
https://github.com/hstk30-hw updated https://github.com/llvm/llvm-project/pull/74812 >From dc88d97d00f389b46f51c19a22c17397e1e89b7f Mon Sep 17 00:00:00 2001 From: hstk30-hw Date: Fri, 8 Dec 2023 14:29:33 +0800 Subject: [PATCH] feat: support arm target attribute, and warning for bad typo --- c

[clang] 76041a4 - [flang][nfc] Refactor linker invocation logic (#75648)

2023-12-16 Thread via cfe-commits
Author: Andrzej Warzyński Date: 2023-12-16T11:13:20Z New Revision: 76041a45bbe3cd2b3b3acad46267f27815e6a652 URL: https://github.com/llvm/llvm-project/commit/76041a45bbe3cd2b3b3acad46267f27815e6a652 DIFF: https://github.com/llvm/llvm-project/commit/76041a45bbe3cd2b3b3acad46267f27815e6a652.diff

[mlir] [compiler-rt] [clang-tools-extra] [libc] [llvm] [flang] [clang] [lld] [openmp] [lldb] [libcxx] fix issue 73559. (PR #74926)

2023-12-16 Thread via cfe-commits
ChipsSpectre wrote: @cor3ntin could you please give your review? @shafik or would you have time to do this? The fix is ready to be merged, and all review comments are addressed. https://github.com/llvm/llvm-project/pull/74926 ___ cfe-commits mailing l

[clang] [Concepts] Avoid substituting into constraints for invalid TemplateDecls (PR #75697)

2023-12-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Younan Zhang (zyn0217) Changes Fixes https://github.com/llvm/llvm-project/issues/73885. Substituting into constraints for invalid TemplateDecls might still yield dependent expressions and end up crashing later while attempting evaluation.

[clang] 50f5b5a - [AArch64][SME2] Add FCLAMP, CNTP builtins for SME2 (#72487)

2023-12-16 Thread via cfe-commits
Author: Dinar Temirbulatov Date: 2023-12-16T12:03:54Z New Revision: 50f5b5a80bedee08fd4c46fcd171a1c85ee3834b URL: https://github.com/llvm/llvm-project/commit/50f5b5a80bedee08fd4c46fcd171a1c85ee3834b DIFF: https://github.com/llvm/llvm-project/commit/50f5b5a80bedee08fd4c46fcd171a1c85ee3834b.diff

[clang-tools-extra] [clang-tidy] Treat fields in anonymous records as names in enclosing scope when checking name styles (PR #75701)

2023-12-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Sirui Mu (Lancern) Changes Currently, fields in anonymous records are treated as normal record members during naming style check. This can be undesirable in certain situations since these fields are used just like names in their encl

[clang-tools-extra] [clang-tidy] Treat fields in anonymous records as names in enclosing scope when checking name styles (PR #75701)

2023-12-16 Thread via cfe-commits
EugeneZelenko wrote: Please mention changes in Release Notes. https://github.com/llvm/llvm-project/pull/75701 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Treat fields in anonymous records as names in enclosing scope when checking name styles (PR #75701)

2023-12-16 Thread via cfe-commits
@@ -128,6 +128,11 @@ Improvements to clang-tidy as a value for `-export-fixes` to export individual yaml files for each compilation unit. +- A new option `readability-identifier-naming.CheckAnonFieldInParent` is added. When set EugeneZelenko wrote: Pleas

[clang] f49e2b0 - [clang][CGCUDANV] Unify PointerType members of CGNVCUDARuntime (NFC) (#75668)

2023-12-16 Thread via cfe-commits
Author: Youngsuk Kim Date: 2023-12-16T11:47:37-05:00 New Revision: f49e2b05bf3ececa2fe20c5d658ab92ab974dc36 URL: https://github.com/llvm/llvm-project/commit/f49e2b05bf3ececa2fe20c5d658ab92ab974dc36 DIFF: https://github.com/llvm/llvm-project/commit/f49e2b05bf3ececa2fe20c5d658ab92ab974dc36.diff

[clang-tools-extra] [clangd] don't lower severity of clang-tidy modernize-* checks to remarks (PR #75706)

2023-12-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: Julian Schmidt (5chmidti) Changes Starting with a59b24be47ed6263c254d168567b9ebba391fac9, the severity of diagnostics that have the 'Deprecated' tag is lowered to 'Remark'. Because the `Deprecated` tag is applied to clang-tidy checks in th

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

2023-12-16 Thread via cfe-commits
https://github.com/SunilKuravinakop created https://github.com/llvm/llvm-project/pull/75709 This is a continuation of https://reviews.llvm.org/D123235 ([OpenMP] atomic compare fail : Parser & AST support). In this branch Support for codegen support for atomic compare fail is being added. >Fro

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

2023-12-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: None (SunilKuravinakop) Changes This is a continuation of https://reviews.llvm.org/D123235 ([OpenMP] atomic compare fail : Parser & AST support). In this branch Support for codegen support for atomic compare fail is being added.

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

2023-12-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (SunilKuravinakop) Changes This is a continuation of https://reviews.llvm.org/D123235 ([OpenMP] atomic compare fail : Parser & AST support). In this branch Support for codegen support for atomic compare fail is being added. --- Full

[clang] [clang] Add `intrin0.h` header to mimic `intrin0.h` used by MSVC STL for clang-cl (PR #75711)

2023-12-16 Thread via cfe-commits
https://github.com/MaxEW707 created https://github.com/llvm/llvm-project/pull/75711 Fixes https://github.com/llvm/llvm-project/issues/53520. Description Provide `intrin0.h` to be the minimal set of intrinsics that the MSVC STL requires. The `intrin0.h` header matches the latest head

[clang] [clang] Add `intrin0.h` header to mimic `intrin0.h` used by MSVC STL for clang-cl (PR #75711)

2023-12-16 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] Add `intrin0.h` header to mimic `intrin0.h` used by MSVC STL for clang-cl (PR #75711)

2023-12-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (MaxEW707) Changes Fixes https://github.com/llvm/llvm-project/issues/53520. Description Provide `intrin0.h` to be the minimal set of intrinsics that the MSVC STL requires. The `intrin0.h` header matches the latest header p

[clang] [clang] Add `intrin0.h` header to mimic `intrin0.h` used by MSVC STL for clang-cl (PR #75711)

2023-12-16 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 b3e353d263f9d6ef061f4e6d89619c72a3553002 8cd6db09c511ad8fde0e54e96cf3019da5b40d6e --

[clang] [clang] Add `intrin0.h` header to mimic `intrin0.h` used by MSVC STL for clang-cl (PR #75711)

2023-12-16 Thread via cfe-commits
https://github.com/MaxEW707 updated https://github.com/llvm/llvm-project/pull/75711 >From 8cd6db09c511ad8fde0e54e96cf3019da5b40d6e Mon Sep 17 00:00:00 2001 From: MaxEW707 <82551778+maxew...@users.noreply.github.com> Date: Sat, 16 Dec 2023 13:54:16 -0500 Subject: [PATCH 1/3] Add `intrin0.h` heade

[clang] [clang-tools-extra] [llvm] [mlir] [MLIR][Linalg] Support dynamic sizes in `lower_unpack` (PR #75494)

2023-12-16 Thread via cfe-commits
https://github.com/srcarroll updated https://github.com/llvm/llvm-project/pull/75494 >From 3879e633f4e4ba36ca24e6a870942b695ac935e0 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 13 Dec 2023 15:25:31 -0600 Subject: [PATCH 1/6] [MLIR][Linalg] Support dynamic sizes in `lower_unpack` --- .../Dial

[libcxx] [llvm] [flang] [clang-tools-extra] [clang] [libc] [mlir] [libc++][memory] P1132R8: out_ptr - a scalable output pointer abstraction (PR #73618)

2023-12-16 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 93b14c3df17500e675f31674165b5378dd0b4eaf d7c04396da8d0c6b2270643a3a079e5cd95e887a --

[clang-tools-extra] [clang] In compilation databases, add support for relative directories (PR #69856)

2023-12-16 Thread via cfe-commits
Overhatted wrote: The use-case is the example project here: https://github.com/facebook/buck2/pull/517 The documentation update was done here: https://github.com/llvm/llvm-project/pull/69856/commits/7a92e0a3996ea3f518b6c3d740e1122902668308#diff-33e467b29775682c8ee8d50375fcabec58ebe215acebf1515

[clang-tools-extra] Add ability to pass in a clang-tidy config file to clang-tidy-diff (PR #75721)

2023-12-16 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-tools-extra] Add ability to pass in a clang-tidy config file to clang-tidy-diff (PR #75721)

2023-12-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Chris Apple (cjappl) Changes I found this handy for situations where you want to pass in a config file and not rely on a default `.clang-tidy` file. The new option is `-config` and will expect something that can be passed into the

[clang-tools-extra] Add ability to pass in a clang-tidy config file to clang-tidy-diff (PR #75721)

2023-12-16 Thread via cfe-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r 0ca95b269ff90afb706e2cf4c4a59d7c3afe6c65...433f4ac919a6967c278e56a19b5824e474ebd907 clang

[clang] [clang] Add `intrin0.h` header to mimic `intrin0.h` used by MSVC STL for clang-cl (PR #75711)

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

[clang] [llvm] [LTO] Improve diagnostics handling when parsing module-level inline assembly (PR #75726)

2023-12-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Fangrui Song (MaskRay) Changes Non-LTO compiles set the buffer name to "" (`AsmPrinter::addInlineAsmDiagBuffer`) and pass diagnostics to `ClangDiagnosticHandler` (through the `MCContext` handler in `MachineModuleInfoWrapperPass:

[llvm] [clang] [LTO] Improve diagnostics handling when parsing module-level inline assembly (PR #75726)

2023-12-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-binary-utilities Author: Fangrui Song (MaskRay) Changes Non-LTO compiles set the buffer name to "" (`AsmPrinter::addInlineAsmDiagBuffer`) and pass diagnostics to `ClangDiagnosticHandler` (through the `MCContext` handler in `MachineModule

[clang-tools-extra] [clang] [llvm] [RISCV][ISel] Combine scalable vector add/sub/mul with zero/sign extension (PR #72340)

2023-12-16 Thread via cfe-commits
sun-jacobi wrote: Sorry for repeating ping. @qcolombet https://github.com/llvm/llvm-project/pull/72340 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Fix a bug in `IndentExternBlock: NoIndent` (PR #75731)

2023-12-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Fixes #36620. Fixes #75719. --- Full diff: https://github.com/llvm/llvm-project/pull/75731.diff 2 Files Affected: - (modified) clang/lib/Format/Format.cpp (-5) - (modified) clang/unittests/Format/Format

[clang-tools-extra] [NFC][clang] add a clang tool for mlir refactor (PR #75279)

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

[clang-tools-extra] [NFC][clang] add a clang tool for mlir refactor (PR #75279)

2023-12-17 Thread via cfe-commits
https://github.com/lipracer updated https://github.com/llvm/llvm-project/pull/75279 >From 2f54363dbb45b538bde09252a602ad911c3c8751 Mon Sep 17 00:00:00 2001 From: lipracer Date: Wed, 13 Dec 2023 11:37:12 +0800 Subject: [PATCH] [NFC][clang] add a clang tool for mlir refactor --- clang-tools-ext

[clang-tools-extra] [NFC][clang] add a clang tool for mlir refactor (PR #75279)

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

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

2023-12-17 Thread via cfe-commits
Andrzej =?utf-8?q?Warzyński?= ,ChipsSpectre ,ChipsSpectre Message-ID: In-Reply-To: https://github.com/ChipsSpectre updated https://github.com/llvm/llvm-project/pull/74926 >From dad78484118bbd0a662915df0b4ce50c24d3bf42 Mon Sep 17 00:00:00 2001 From: ChipsSpectre Date: Sat, 9 Dec 2023 12:07:0

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

2023-12-17 Thread via cfe-commits
Andrzej =?utf-8?q?Warzyński?= ,ChipsSpectre Message-ID: In-Reply-To: https://github.com/ChipsSpectre updated https://github.com/llvm/llvm-project/pull/74926 >From dad78484118bbd0a662915df0b4ce50c24d3bf42 Mon Sep 17 00:00:00 2001 From: ChipsSpectre Date: Sat, 9 Dec 2023 12:07:02 +0100 Subjec

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

2023-12-17 Thread via cfe-commits
https://github.com/ChipsSpectre updated https://github.com/llvm/llvm-project/pull/74926 >From dad78484118bbd0a662915df0b4ce50c24d3bf42 Mon Sep 17 00:00:00 2001 From: ChipsSpectre Date: Sat, 9 Dec 2023 12:07:02 +0100 Subject: [PATCH 1/2] fix issue 73559. --- clang/lib/Parse/ParseDecl.cpp|

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