[clang] [clang-tools-extra] [mlir] [llvm] [mlir][linalg] Implement common interface for depthwise convolution ops (PR #75017)

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

[clang-tools-extra] [clang] [llvm] [CanonicalizeFreezeInLoops] fix duplicate removal (PR #74716)

2023-12-14 Thread Wei Tao via cfe-commits
https://github.com/Friedrich20 updated https://github.com/llvm/llvm-project/pull/74716 >From 5ef11803b597fec44b64239824a4c9d3280cfea6 Mon Sep 17 00:00:00 2001 From: Wei Tao Date: Thu, 7 Dec 2023 21:33:40 +0800 Subject: [PATCH] [LLVM][CanonicalizeFreezeInLoops] fix duplicate removal --- .../Tr

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

2023-12-14 Thread Sander de Smalen via cfe-commits
sdesmalen-arm wrote: > On my system, this increases the compilation time of SemaChecking.cpp from 7 > seconds to 2 minutes 46 seconds (using clang as a host compiler). That seems > excessive. Let's please find a way to not make compilation so slow, and let's > consider reverting this until a f

[clang] [Sema] Provide `-fno-/-fvisibility-global-new-delete` option (PR #75364)

2023-12-14 Thread via cfe-commits
https://github.com/bd1976bris updated https://github.com/llvm/llvm-project/pull/75364 >From 97efed8c73aed4fdca5510013c844e84953ec256 Mon Sep 17 00:00:00 2001 From: Ben Dunbobbin Date: Tue, 12 Dec 2023 08:07:17 + Subject: [PATCH 1/2] [Sema] Provide `-fno-/-fvisibility-global-new-delete` opt

[clang] [llvm] [Clang][IR] add TBAA metadata on pointer, union and array types. (PR #75177)

2023-12-14 Thread Vlad Serebrennikov via cfe-commits
@@ -1,7 +1,7 @@ -// RUN: %clang_cc1 -triple x86_64-linux -std=c++98 %s -O3 -disable-llvm-passes -pedantic-errors -emit-llvm -o - | FileCheck %s Endilll wrote: Can you explain why `-disable-llvm-passes` is there, and why is can be removed now? https://github.co

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

2023-12-14 Thread Vlad Serebrennikov via cfe-commits
Endilll wrote: Can you add a test for this? https://github.com/llvm/llvm-project/pull/70496 ___ 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
knightXun wrote: > Can you add a test for this? oh, I'll write one. https://github.com/llvm/llvm-project/pull/70496 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][sema] forbid vector_size attr when specify `-mgeneral-regs-only` on x86 (PR #75350)

2023-12-14 Thread via cfe-commits
@@ -8251,6 +8251,25 @@ static void HandleVectorSizeAttr(QualType &CurType, const ParsedAttr &Attr, return; } + // check -mgeneral-regs-only is specified + const TargetInfo &targetInfo = S.getASTContext().getTargetInfo(); + llvm::Triple::ArchType arch = targetInfo.get

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

2023-12-14 Thread via cfe-commits
https://github.com/wc00862805aj created https://github.com/llvm/llvm-project/pull/75445 None >From b1109d297690b3b162eab21dfc41ce03a898a908 Mon Sep 17 00:00:00 2001 From: wcleungaj Date: Thu, 14 Dec 2023 16:54:37 +0800 Subject: [PATCH] [AArch64] Disable large global group relocation --- clan

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

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

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

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver @llvm/pr-subscribers-llvm-globalisel Author: None (wc00862805aj) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/75445.diff 4 Files Affected: - (modified) clang/include/clang/Driver/Options.td (+3) - (modified) clang/l

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

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: None (wc00862805aj) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/75445.diff 4 Files Affected: - (modified) clang/include/clang/Driver/Options.td (+3) - (modified) clang/lib/Driver/ToolChains/Clang.cpp (+5

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

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 a2691e363232c011fdaace9fcc094f3cd210f78b b1109d297690b3b162eab21dfc41ce03a898a908 --

[libunwind] [libcxx] [libcxxabi] [runtimes] Don't link against compiler-rt explicitly when we use -nostdlib++ (PR #75089)

2023-12-14 Thread Petr Hosek via cfe-commits
petrhosek wrote: > > I'm trying to implement support for building libunwind, libc++abi and > > libc++ against LLVM libc in which case we won't be able to rely on > > `-nostdlib++`, we'll need to use `-nostdlib` to avoid linking the C > > library. We can still use `-nostdlib++` when LLVM libc i

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

2023-12-14 Thread via cfe-commits
https://github.com/wc00862805aj updated https://github.com/llvm/llvm-project/pull/75445 >From e7e61ffa07a4b0ad40b91243545e9194dc217385 Mon Sep 17 00:00:00 2001 From: wcleungaj Date: Thu, 14 Dec 2023 16:54:37 +0800 Subject: [PATCH] [AArch64] Disable large global group relocation --- clang/incl

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

2023-12-14 Thread via cfe-commits
https://github.com/hstk30-hw updated https://github.com/llvm/llvm-project/pull/74812 >From f9c6d46e73b612c261db5fdfebf49bb28003cf0d 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] [clang][Interp] IndirectMember initializers (PR #69900)

2023-12-14 Thread Timm Baeder via cfe-commits
tbaederr wrote: Ping https://github.com/llvm/llvm-project/pull/69900 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Interp] Add inline descriptor to global variables (PR #72892)

2023-12-14 Thread Timm Baeder via cfe-commits
Timm =?utf-8?q?B=C3=A4der?= , Timm =?utf-8?q?B=C3=A4der?= Message-ID: In-Reply-To: tbaederr wrote: Ping https://github.com/llvm/llvm-project/pull/72892 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/li

[clang] [clang][Interp] Use array filler expression (PR #72865)

2023-12-14 Thread Timm Baeder via cfe-commits
tbaederr wrote: Ping https://github.com/llvm/llvm-project/pull/72865 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-12-14 Thread via cfe-commits
zmodem wrote: Thanks for looking at this. Silently ignoring bad inputs is usually not a good idea. However, it would seem better to emit a proper diagnostic from the driver rather than calling exit in getOSDefines(). That way the regular diagnostic mechanisms can be used to decide what to do

[clang] [clang][fatlto] Don't set ThinLTO module flag with FatLTO (PR #75079)

2023-12-14 Thread Nikita Popov via cfe-commits
https://github.com/nikic approved this pull request. LGTM -- I think this change is clearly right, independently of the ModuleID issue. https://github.com/llvm/llvm-project/pull/75079 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lis

[clang] [X86] Add ABI handling for __float128 (PR #75156)

2023-12-14 Thread Simon Pilgrim via cfe-commits
@@ -0,0 +1,35 @@ +// RUN: %clang_cc1 -triple x86_64-linux -emit-llvm -target-feature +sse2 < %s | FileCheck %s --check-prefixes=CHECK RKSimon wrote: Worth adding a non-SSE RUN? https://github.com/llvm/llvm-project/pull/75156 ___

[clang] [llvm] [IR] Fix GEP offset computations for vector GEPs (PR #75448)

2023-12-14 Thread Jannik Silvanus via cfe-commits
https://github.com/jasilvanus created https://github.com/llvm/llvm-project/pull/75448 Vectors are always bit-packed and don't respect the elements' alignment requirements. This is different from arrays. This means offsets of vector GEPs need to be computed differently than offsets of array GEPs.

[clang] [llvm] [IR] Fix GEP offset computations for vector GEPs (PR #75448)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-globalisel @llvm/pr-subscribers-llvm-ir @llvm/pr-subscribers-backend-aarch64 Author: Jannik Silvanus (jasilvanus) Changes Vectors are always bit-packed and don't respect the elements' alignment requirements. This is different from arrays. This means

[clang] [llvm] [IR] Fix GEP offset computations for vector GEPs (PR #75448)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Jannik Silvanus (jasilvanus) Changes Vectors are always bit-packed and don't respect the elements' alignment requirements. This is different from arrays. This means offsets of vector GEPs need to be computed differently than offsets of arra

[clang] [llvm] [IR] Fix GEP offset computations for vector GEPs (PR #75448)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-arm Author: Jannik Silvanus (jasilvanus) Changes Vectors are always bit-packed and don't respect the elements' alignment requirements. This is different from arrays. This means offsets of vector GEPs need to be computed differently than offsets o

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

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

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

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Sam Tebbs (SamTebbs33) Changes Reverts llvm/llvm-project#74064 --- Patch is 308.50 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/75449.diff 19 Files Affected: - (modified) clang/include/cla

[clang-tools-extra] [clang] [llvm] [AArch64] Add an AArch64 pass for loop idiom transformations (PR #72273)

2023-12-14 Thread David Sherwood via cfe-commits
@@ -0,0 +1,726 @@ + +//===- AArch64LoopIdiomTransform.cpp - Loop idiom recognition -===// +// +// 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:

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

2023-12-14 Thread Sam Tebbs via cfe-commits
SamTebbs33 wrote: Thanks for reporting that Nico. I've reverted the patch and will work on improving compile time. I like your idea Sander. https://github.com/llvm/llvm-project/pull/74064 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https:/

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

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 3e8b175eec6fef1a073fb7d0d867fbc6a7837f57 242a64cb712f02851f781e3290e2bb2f1b679c19 --

[llvm] [clang] [IR] Fix GEP offset computations for vector GEPs (PR #75448)

2023-12-14 Thread Phoebe Wang via cfe-commits
phoebewang wrote: Can this solve https://github.com/llvm/llvm-project/issues/68566 too? https://github.com/llvm/llvm-project/pull/75448 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [IR] Fix GEP offset computations for vector GEPs (PR #75448)

2023-12-14 Thread Jannik Silvanus via cfe-commits
https://github.com/jasilvanus updated https://github.com/llvm/llvm-project/pull/75448 >From 2c367fba42b716d803ee088af45c1b57fe4bcbcd Mon Sep 17 00:00:00 2001 From: Jannik Silvanus Date: Thu, 14 Dec 2023 09:24:51 +0100 Subject: [PATCH 1/3] [InstCombine] Precommit test exhibiting miscompile Inst

[clang] 2eb1e75 - [clang][NFC] Inline some lambdas to their only call site

2023-12-14 Thread Timm Bäder via cfe-commits
Author: Timm Bäder Date: 2023-12-14T10:47:32+01:00 New Revision: 2eb1e75f42d7e09e97907f535bfa749722722dbd URL: https://github.com/llvm/llvm-project/commit/2eb1e75f42d7e09e97907f535bfa749722722dbd DIFF: https://github.com/llvm/llvm-project/commit/2eb1e75f42d7e09e97907f535bfa749722722dbd.diff LO

[clang] [llvm] [IR] Fix GEP offset computations for vector GEPs (PR #75448)

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 3e8b175eec6fef1a073fb7d0d867fbc6a7837f57 4649d44cece1db0d38e00425491137c44c3aab8e --

[clang] [llvm] [IR] Fix GEP offset computations for vector GEPs (PR #75448)

2023-12-14 Thread Jannik Silvanus via cfe-commits
https://github.com/jasilvanus updated https://github.com/llvm/llvm-project/pull/75448 >From 2c367fba42b716d803ee088af45c1b57fe4bcbcd Mon Sep 17 00:00:00 2001 From: Jannik Silvanus Date: Thu, 14 Dec 2023 09:24:51 +0100 Subject: [PATCH 1/3] [InstCombine] Precommit test exhibiting miscompile Inst

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

2023-12-14 Thread via cfe-commits
https://github.com/CarolineConcatto created https://github.com/llvm/llvm-project/pull/75454 ``` c // All the intrinsics below are [SVE2.1 or SME2] // Variants are also available for _u16[_s32]_x2 and _u16[_u32]_x2 svint16_t svqcvtn_s16[_s32_x2](svint32x2_t zn); ``` According to PR#

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

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (CarolineConcatto) Changes ``` c // All the intrinsics below are [SVE2.1 or SME2] // Variants are also available for _u16[_s32]_x2 and _u16[_u32]_x2 svint16_t svqcvtn_s16[_s32_x2](svint32x2_t zn); ``` According to PR#257[

[clang] [clang] Accept recursive non-dependent calls to functions with deduced return type (PR #75456)

2023-12-14 Thread Mariya Podchishchaeva via cfe-commits
https://github.com/Fznamznon created https://github.com/llvm/llvm-project/pull/75456 Treat such calls as dependent since it is much easier to implement. Fixes https://github.com/llvm/llvm-project/issues/71015 >From 0e190f131862dd8f4b07891c3ee712a0a163f936 Mon Sep 17 00:00:00 2001 From: "Podchi

[clang] [clang] Accept recursive non-dependent calls to functions with deduced return type (PR #75456)

2023-12-14 Thread Mariya Podchishchaeva via cfe-commits
Fznamznon wrote: This attempts to implement the approach described by @zygoloid in https://github.com/llvm/llvm-project/issues/71015#issuecomment-1828745626 . https://github.com/llvm/llvm-project/pull/75456 ___ cfe-commits mailing list cfe-commits@lis

[clang] [clang] Accept recursive non-dependent calls to functions with deduced return type (PR #75456)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Mariya Podchishchaeva (Fznamznon) Changes Treat such calls as dependent since it is much easier to implement. Fixes https://github.com/llvm/llvm-project/issues/71015 --- Full diff: https://github.com/llvm/llvm-project/pull/75456.diff 4

[clang-tools-extra] Allow to pass config file to clang-tidy-diff (PR #75457)

2023-12-14 Thread Michael Lettrich via cfe-commits
https://github.com/MichaelLettrich created https://github.com/llvm/llvm-project/pull/75457 Adds a `-config-file` command line option that passes on the path of .`clang-tidy` or custom config file to the `clang-tidy` executable. >From 05aff16d9b117e7e04c5342ec1792c91ef41e48b Mon Sep 17 00:0

[clang-tools-extra] Allow to pass config file to clang-tidy-diff (PR #75457)

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-tools-extra] Allow to pass config file to clang-tidy-diff (PR #75457)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Michael Lettrich (MichaelLettrich) Changes Adds a `-config-file` command line option that passes on the path of .`clang-tidy` or custom config file to the `clang-tidy` executable. --- Full diff: https://github.com/llvm/llvm-proje

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

2023-12-14 Thread via cfe-commits
https://github.com/wc00862805aj updated https://github.com/llvm/llvm-project/pull/75445 >From ec9429cd7c13ab86189976f4f327d612183a6010 Mon Sep 17 00:00:00 2001 From: wcleungaj Date: Thu, 14 Dec 2023 16:54:37 +0800 Subject: [PATCH] [AArch64] Disable large global group relocation --- clang/incl

[clang-tools-extra] Allow to pass config file to clang-tidy-diff (PR #75457)

2023-12-14 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 2952bc3384412ca67fd1dcd2eac595088d692802...05aff16d9b117e7e04c5342ec1792c91ef41e48b clang

[llvm] [clang] [IR] Fix GEP offset computations for vector GEPs (PR #75448)

2023-12-14 Thread Jannik Silvanus via cfe-commits
jasilvanus wrote: > Can this solve #68566 too? I don't think it solves it, as it only fixes offset computations within GEPs and doesn't teach code in general about the correct vector layout. However, it is reducing the amount of code assuming the wrong layout. There seem to be some clang test

[clang-tools-extra] Allow to pass config file to clang-tidy-diff (PR #75457)

2023-12-14 Thread Michael Lettrich via cfe-commits
https://github.com/MichaelLettrich updated https://github.com/llvm/llvm-project/pull/75457 >From 382a8a5355b06f191941099c1eac029dbb9d4bb4 Mon Sep 17 00:00:00 2001 From: Michael Lettrich Date: Thu, 14 Dec 2023 11:31:28 +0100 Subject: [PATCH] Allow to pass config file to clang-tidy-diff Adds

[clang] [Driver] Remove all vendor triples (PR #75459)

2023-12-14 Thread Andreas Schwab via cfe-commits
https://github.com/andreas-schwab created https://github.com/llvm/llvm-project/pull/75459 None >From 65b392b384fadc994fe0647a254d623a334723e1 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 6 Dec 2023 10:50:54 +0100 Subject: [PATCH] [Driver] Remove all vendor triples --- clang/lib/D

[clang] [Driver] Remove all vendor triples (PR #75459)

2023-12-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Andreas Schwab (andreas-schwab) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/75459.diff 1 Files Affected: - (modified) clang/lib/Driver/ToolChains/Gnu.cpp (+16-37) ``diff diff --git a/clang/lib/Driver/Too

[clang-tools-extra] Allow to pass config file to clang-tidy-diff (PR #75457)

2023-12-14 Thread Michael Lettrich via cfe-commits
MichaelLettrich wrote: Note: This file lacks a `SPDX-FileCopyrightText:` in the header. Is this on purpose? https://github.com/llvm/llvm-project/pull/75457 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/

[clang] [Driver] Remove all vendor triples (PR #75459)

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 65b392b384fadc994fe0647a254d623a334723e1 --

[clang] 78accaf - [AArch64][SME2] Add builtins for SQDMULH (#75326)

2023-12-14 Thread via cfe-commits
Author: Dinar Temirbulatov Date: 2023-12-14T10:53:04Z New Revision: 78accaf7a06f7f72ab2f7819758f1d9bce8b8552 URL: https://github.com/llvm/llvm-project/commit/78accaf7a06f7f72ab2f7819758f1d9bce8b8552 DIFF: https://github.com/llvm/llvm-project/commit/78accaf7a06f7f72ab2f7819758f1d9bce8b8552.diff

[clang] [AArch64][SME2] Add builtins for SQDMULH (PR #75326)

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

[clang] 797fee6 - [clang][Interp] Start supporting complex types

2023-12-14 Thread Timm Bäder via cfe-commits
Author: Timm Bäder Date: 2023-12-14T11:57:38+01:00 New Revision: 797fee68d1cb6a4122d89880d44f8c99559c5cac URL: https://github.com/llvm/llvm-project/commit/797fee68d1cb6a4122d89880d44f8c99559c5cac DIFF: https://github.com/llvm/llvm-project/commit/797fee68d1cb6a4122d89880d44f8c99559c5cac.diff LO

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

2023-12-14 Thread via cfe-commits
https://github.com/muneebkhan85 updated https://github.com/llvm/llvm-project/pull/71555 >From 7bb2f9793b2a2cccbaa401f6e2ac850b587f2b59 Mon Sep 17 00:00:00 2001 From: Muneeb Khan Date: Tue, 7 Nov 2023 23:52:17 +0800 Subject: [PATCH 1/9] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF

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

2023-12-14 Thread Leandro Lupori via cfe-commits
https://github.com/luporl approved this pull request. LGTM. Worked fine on my machine. NOTE: tested by replacing `CommonArgs.cpp` in main, to avoid conflicts. https://github.com/llvm/llvm-project/pull/75393 ___ cfe-commits mailing list cfe-commits@lis

[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 updated https://github.com/llvm/llvm-project/pull/71555 >From 7bb2f9793b2a2cccbaa401f6e2ac850b587f2b59 Mon Sep 17 00:00:00 2001 From: Muneeb Khan Date: Tue, 7 Nov 2023 23:52:17 +0800 Subject: [PATCH 1/9] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF

[clang-tools-extra] [libcxx] [llvm] [compiler-rt] [libc] [flang] [clang] [RISCV][MC] Add support for experimental Zimop extension (PR #75182)

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

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

2023-12-14 Thread via cfe-commits
hstk30-hw wrote: CI fail in `ninja check-clang` build `bin/clang-format.exe` in windows, it has nothing about my code. @gkistanova https://github.com/llvm/llvm-project/pull/74812 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.

[clang] 101083e - [AArch64][SME2] Add SQRSHRN, UQRSHRN, SQRSHRUN builtins for SME2, SVE2p1 (#75325)

2023-12-14 Thread via cfe-commits
Author: Dinar Temirbulatov Date: 2023-12-14T11:38:45Z New Revision: 101083e4b7f7e274a42291ba39f5a122f5d9d11d URL: https://github.com/llvm/llvm-project/commit/101083e4b7f7e274a42291ba39f5a122f5d9d11d DIFF: https://github.com/llvm/llvm-project/commit/101083e4b7f7e274a42291ba39f5a122f5d9d11d.diff

[clang] [AArch64][SME2] Add SQRSHRN, UQRSHRN, SQRSHRUN builtins for SME2, SVE2p1 (PR #75325)

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

[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 updated https://github.com/llvm/llvm-project/pull/71555 >From 7bb2f9793b2a2cccbaa401f6e2ac850b587f2b59 Mon Sep 17 00:00:00 2001 From: Muneeb Khan Date: Tue, 7 Nov 2023 23:52:17 +0800 Subject: [PATCH 01/10] [MLIR][LLVM] Add Continuous Loop Peeling transform to SC

[clang] [Driver] Remove all vendor triples (PR #75459)

2023-12-14 Thread Timm Baeder via cfe-commits
tbaederr wrote: Care to explain? https://github.com/llvm/llvm-project/pull/75459 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-12-14 Thread David Spickett via cfe-commits
DavidSpickett wrote: Not so sure about that: ``` LINK: command "C:\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\link.exe /nologo tools\clang\tools\clang-format\CMakeFiles\clang-format.dir\ClangFormat.cpp.obj tools\clang\tools\clang-format\CMakeFiles\clang-format.dir\C_\ws\src\llvm\reso

[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

[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

[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] [Clang][ARM] support arm target attribute, and warning for bad typo (PR #74812)

2023-12-14 Thread David Spickett via cfe-commits
DavidSpickett wrote: Also it seems that `clangAST` links to `clangBasic` but it doesn't `DEPENDS` on them? Not sure what that is trying to achieve. https://github.com/llvm/llvm-project/pull/74812 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[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

[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
@@ -105,6 +106,168 @@ static void specializeForLoopForUnrolling(ForOp op) { op.erase(); } +static LogicalResult splitLoopHelper(RewriterBase &b, scf::ForOp &forOp, + scf::ForOp &partialIteration, + Value

[clang] 07e3c24 - [clang][Interp] Support empty initlist initializers for complex types

2023-12-14 Thread Timm Bäder via cfe-commits
Author: Timm Bäder Date: 2023-12-14T12:53:40+01:00 New Revision: 07e3c245ba2c8560123cf4559678e0ac2542 URL: https://github.com/llvm/llvm-project/commit/07e3c245ba2c8560123cf4559678e0ac2542 DIFF: https://github.com/llvm/llvm-project/commit/07e3c245ba2c8560123cf4559678e0ac2542.diff LO

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

2023-12-14 Thread David Spickett via cfe-commits
DavidSpickett wrote: I was mistaken about the `target_link_libraries`, that's what `clangBasic` links to not `clangAST`. It's possible that `clangBasic` now needs to depend on `clangAST`, assuming cmake and the linker are ok with that. https://github.com/llvm/llvm-project/pull/74812 _

[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] [Clang][SME2] Add multi-vector zip & unzip builtins (PR #74841)

2023-12-14 Thread Dinar Temirbulatov via cfe-commits
https://github.com/dtemirbulatov approved this pull request. LGTM, with David's request to rename acle_sme2_* acle_sme2_vector_* tests in clang/test/CodeGen/aarch64-sme2-intrinsics https://github.com/llvm/llvm-project/pull/74841 ___ cfe-commits mailin

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

2023-12-14 Thread Kerry McLaughlin via cfe-commits
@@ -0,0 +1,78 @@ +// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py + +// REQUIRES: aarch64-registered-target + +// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2p1 -target-feature +bf16 -S -disable-O0-optnone -Werror -Wall -emit-

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

2023-12-14 Thread Andrzej Warzyński via cfe-commits
https://github.com/banach-space updated https://github.com/llvm/llvm-project/pull/75393 From 95b4db0690d5725011a741f81237f5954bc08ff8 Mon Sep 17 00:00:00 2001 From: Andrzej Warzynski Date: Wed, 13 Dec 2023 22:05:07 + Subject: [PATCH] [flang][driver] Don't use -whole-archive on Darwin Direc

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

2023-12-14 Thread Andrzej Warzyński via cfe-commits
banach-space wrote: > LGTM. Worked fine on my machine. > > NOTE: tested by replacing `CommonArgs.cpp` in main, to avoid conflicts. Thanks for checking and apologies for the merge conflict - I thought that I was up to date :( I've just rebased and force-pushed. I will be landing this today if

[clang] 497480b - [clang][Interp] IntegralComplexToBoolean casts

2023-12-14 Thread Timm Bäder via cfe-commits
Author: Timm Bäder Date: 2023-12-14T13:11:00+01:00 New Revision: 497480b38a49977b67c33651b3f29d5f1d151793 URL: https://github.com/llvm/llvm-project/commit/497480b38a49977b67c33651b3f29d5f1d151793 DIFF: https://github.com/llvm/llvm-project/commit/497480b38a49977b67c33651b3f29d5f1d151793.diff LO

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

2023-12-14 Thread Michael Klemm via cfe-commits
mjklemm wrote: > > LGTM. Worked fine on my machine. > > > > > > NOTE: tested by replacing `CommonArgs.cpp` in main, to avoid conflicts. > > > > Thanks for checking and apologies for the merge conflict - I thought that I > was up to date :( I've just rebased and force-pushed. > > > > I

[clang] [llvm] [IR] Fix GEP offset computations for vector GEPs (PR #75448)

2023-12-14 Thread Jannik Silvanus via cfe-commits
jasilvanus wrote: > There seem to be some clang test failures though that I'm currently looking > into. Solved: The clang failures were caused by me having `dxv` in `$PATH`, which implicitly enabled some extra `dxv`-based tests which also fail without this patch for me. Clang was invoking `

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

2023-12-14 Thread Jan Patrick Lehr via cfe-commits
https://github.com/jplehr created https://github.com/llvm/llvm-project/pull/75467 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 find a be

[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 Jan Patrick Lehr via cfe-commits
https://github.com/jplehr created https://github.com/llvm/llvm-project/pull/75468 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 to modify sour

[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] [OpenMP] Introduce -fopenmp-force-usm flag (PR #75468)

2023-12-14 Thread Jan Patrick Lehr via cfe-commits
https://github.com/jplehr updated https://github.com/llvm/llvm-project/pull/75468 >From 9809ba1ec31cb1a4a066f709ae8bd3e965e1 Mon Sep 17 00:00:00 2001 From: JP Lehr Date: Thu, 6 Jul 2023 16:47:21 -0400 Subject: [PATCH] [OpenMP] Introduce -fopenmp-force-usm flag The new flag implements logic

[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

[clang] 935f5ee - [clang][Interp] ComplexFloatingToBoolean casts

2023-12-14 Thread Timm Bäder via cfe-commits
Author: Timm Bäder Date: 2023-12-14T13:17:40+01:00 New Revision: 935f5ee9c9fd6ff358b07fb4ff8e21b77c1a5ce8 URL: https://github.com/llvm/llvm-project/commit/935f5ee9c9fd6ff358b07fb4ff8e21b77c1a5ce8 DIFF: https://github.com/llvm/llvm-project/commit/935f5ee9c9fd6ff358b07fb4ff8e21b77c1a5ce8.diff LO

[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] [flang][driver] Don't use -whole-archive on Darwin (PR #75393)

2023-12-14 Thread Andrzej Warzyński via cfe-commits
banach-space wrote: > > > LGTM. Worked fine on my machine. > > > > > > > > > > > > > > NOTE: tested by replacing `CommonArgs.cpp` in main, to avoid conflicts. > > > > > > Thanks for checking and apologies for the merge conflict - I thought that I > > was up to date :( I've just rebased an

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

2023-12-14 Thread Andrzej Warzyński via cfe-commits
https://github.com/banach-space updated https://github.com/llvm/llvm-project/pull/75393 From 95b4db0690d5725011a741f81237f5954bc08ff8 Mon Sep 17 00:00:00 2001 From: Andrzej Warzynski Date: Wed, 13 Dec 2023 22:05:07 + Subject: [PATCH 1/2] [flang][driver] Don't use -whole-archive on Darwin D

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

2023-12-14 Thread Leandro Lupori via cfe-commits
luporl wrote: I've run `flang/test/Driver/no-duplicate-main.f90` manually on Darwin and noticed that the third RUN line fails, because no error happens: `! RUN: not %flang -o %t.exe %t %t.c-object 2>&1` So maybe `-whole-archive` is just not needed on it? https://github.com/llvm/llvm-project/p

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

2023-12-14 Thread Leandro Lupori via cfe-commits
luporl wrote: Some sources (https://stackoverflow.com/questions/16082470/osx-how-do-i-convert-a-static-library-to-a-dynamic-one) suggest the use of `-force_load`: ``` -force_load path_to_archive Loads all members of the specified static archive library. Note: -all_load forc

  1   2   3   4   >