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

2023-12-13 Thread via cfe-commits
https://github.com/knightXun updated https://github.com/llvm/llvm-project/pull/75350 >From b4fcae6b7f80a9888d361ba24ce8fb5ecf1e2df3 Mon Sep 17 00:00:00 2001 From: knightXun Date: Wed, 13 Dec 2023 23:45:47 +0800 Subject: [PATCH 1/2] [clang][sema] forbid vector_size attr when specify `-mgeneral-

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

2023-12-13 Thread via cfe-commits
knightXun wrote: cc @phoebewang https://github.com/llvm/llvm-project/pull/75350 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] d871919 - [clang][Driver] Support -fms-volatile as equivalent to /volatile:ms (#74790)

2023-12-13 Thread via cfe-commits
Author: Eli Friedman Date: 2023-12-13T08:36:42-08:00 New Revision: d87191942dc4701fafd7e87f02305711a4fd22f2 URL: https://github.com/llvm/llvm-project/commit/d87191942dc4701fafd7e87f02305711a4fd22f2 DIFF: https://github.com/llvm/llvm-project/commit/d87191942dc4701fafd7e87f02305711a4fd22f2.diff

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

2023-12-13 Thread via cfe-commits
https://github.com/CarolineConcatto approved this pull request. 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

[llvm] [clang] [LLVM][IR] Replace ConstantInt's specialisation of getType() with getIntegerType(). (PR #75217)

2023-12-13 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 142e567cf00815f7d1b3d72aaf298212a3f83ab2 07faef47ee26a68c291bd4b8dbe3f63775702876 --

[clang] Add SPIRV support to HIPAMD toolchain (PR #75357)

2023-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Yaxun (Sam) Liu (yxsamliu) Changes Make changes to clang driver and HIPAMD to allow compile HIP programs to SPIRV with HIPAMD toolchain. --- Full diff: https://github.com/llvm/llvm-project/pull/75357.diff 8 Files Affected: - (modified)

[clang] [flang] [clang-tools-extra] [llvm] [flang] GETLOG runtime and extension implementation: get login username (PR #74628)

2023-12-13 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 a604c4b562e99470e397f050f1e8707f923ebed7 acaca0e51b3c9dd243d122368383244b7acd9ea4 --

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

2023-12-13 Thread via cfe-commits
https://github.com/bd1976bris created https://github.com/llvm/llvm-project/pull/75364 By default the implicitly declared replaceable global new and delete operators are given a `default` visibility attribute. Previous work, see: https://reviews.llvm.org/D53787, added `-fvisibility-global-new-d

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

2023-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver @llvm/pr-subscribers-clang Author: bd1976bris (bd1976bris) Changes By default the implicitly declared replaceable global new and delete operators are given a `default` visibility attribute. Previous work, see: https://reviews.llvm.org/D537

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

2023-12-13 Thread via cfe-commits
bd1976bris wrote: See #74629 for more on visibility support in PlayStation. https://github.com/llvm/llvm-project/pull/75364 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-12-13 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 83dabd0569965cf9923ad552d030b9e87ee694c9 97efed8c73aed4fdca5510013c844e84953ec256 --

[clang] ec41462 - [SystemZ][z/OS] Add missing strnlen function for z/OS to fix build failures (#75339)

2023-12-13 Thread via cfe-commits
Author: Abhina Sree Date: 2023-12-13T13:13:53-05:00 New Revision: ec41462d7a7d2fcd74dcf1c60218f134fcfd55b2 URL: https://github.com/llvm/llvm-project/commit/ec41462d7a7d2fcd74dcf1c60218f134fcfd55b2 DIFF: https://github.com/llvm/llvm-project/commit/ec41462d7a7d2fcd74dcf1c60218f134fcfd55b2.diff L

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

2023-12-13 Thread via cfe-commits
XChy wrote: > Here is another thing that I noticed after this patch: > https://godbolt.org/z/1P7bnKGjh > > So early instcombine is eliminating an `and` operation (in the foo example), > resulting in simplifycfg not being able to collapse the control flow any > longer. I don't think it's a pr

[clang] 6d18951 - Remove the builtin_headers_in_system_modules feature (#75262)

2023-12-13 Thread via cfe-commits
Author: Ian Anderson Date: 2023-12-13T10:36:03-08:00 New Revision: 6d18951b833b2a2dabe268b3be0163e03a9e1142 URL: https://github.com/llvm/llvm-project/commit/6d18951b833b2a2dabe268b3be0163e03a9e1142 DIFF: https://github.com/llvm/llvm-project/commit/6d18951b833b2a2dabe268b3be0163e03a9e1142.diff

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

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

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

2023-12-13 Thread via cfe-commits
Author: Louis Dionne Date: 2023-12-13T13:57:48-05:00 New Revision: a4336f2ec1747ea234a07d683930683f67fbd655 URL: https://github.com/llvm/llvm-project/commit/a4336f2ec1747ea234a07d683930683f67fbd655 DIFF: https://github.com/llvm/llvm-project/commit/a4336f2ec1747ea234a07d683930683f67fbd655.diff

[lld] [openmp] [libcxx] [lldb] [libc] [llvm] [compiler-rt] [mlir] [clang-tools-extra] [clang] [flang] [libcxxabi] [libc++] Fix `take_view::__sentinel`'s `operator==` (PR #74655)

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

[clang] [WIP][libc++] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)

2023-12-13 Thread via cfe-commits
https://github.com/huixie90 created https://github.com/llvm/llvm-project/pull/75371 None >From b7b97148c54dda550fcfb024236c32a6bdca16fd Mon Sep 17 00:00:00 2001 From: zoecarver Date: Sat, 2 Dec 2023 20:00:30 + Subject: [PATCH 1/2] [Builtin] Add __builtin_zero_non_value_bits. Adds `__built

[clang] [WIP][libc++] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)

2023-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Hui (huixie90) Changes --- Patch is 23.59 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/75371.diff 6 Files Affected: - (modified) clang/include/clang/Basic/Builtins.def (+1) - (modified)

[clang] [WIP][libc++] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)

2023-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Hui (huixie90) Changes --- Patch is 23.59 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/75371.diff 6 Files Affected: - (modified) clang/include/clang/Basic/Builtins.def (+1) - (mo

[clang] [WIP][libc++] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)

2023-12-13 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 b3e80d8ed251bfdad4a49fee19b8354eba407d1d ff8a6cad88519dec919451c37bba03aa6ef21324 --

[clang] [WIP][libc++] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)

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

[clang] [WIP][libc++] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)

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

[clang] [WIP][libc++] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)

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

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

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

[clang] 9512d6d - [clang-format] Fix parsing of `operator<() {}` (#75144)

2023-12-13 Thread via cfe-commits
Author: XDeme Date: 2023-12-13T11:57:56-08:00 New Revision: 9512d6d2133a15a3e6272cbadd7fbb479011ccdb URL: https://github.com/llvm/llvm-project/commit/9512d6d2133a15a3e6272cbadd7fbb479011ccdb DIFF: https://github.com/llvm/llvm-project/commit/9512d6d2133a15a3e6272cbadd7fbb479011ccdb.diff LOG: [c

[clang] [llvm] [LLVM] Add file magic detection for SPIR-V files. (PR #75363)

2023-12-13 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 142e567cf00815f7d1b3d72aaf298212a3f83ab2 758de880dbd853c37a1e9abb72a1cb0624c4247d --

[clang] [WIP][libc++] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)

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

[clang] [WIP][libc++] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)

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

[clang] [WIP][libc++] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)

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

[clang] [WIP][libc++] Add builtin to clear padding bytes (prework for P0528R3) (PR #75371)

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

[clang] [llvm] [CloneFunction][DebugInfo] Avoid cloning DILocalVariables of inlined functions (PR #75385)

2023-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-ir @llvm/pr-subscribers-clang Author: Vladislav Dzhidzhoev (dzhidzhoev) Changes - [DebugMetadata][DwarfDebug] Support function-local types in lexical block scopes (4/7) - [CloneFunction][DebugInfo] Avoid cloning DILocalVariables of inlined function

[clang] [llvm] [CloneFunction][DebugInfo] Avoid cloning DILocalVariables of inlined functions (PR #75385)

2023-12-13 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 930b5b52ffe699dbcf05eea32d12a2861dd2bdf6 e7c3389385ddbc9cedeb2869305fa672d3b9c427 --

[clang] c3fa4b7 - [clang-format] Fix a bug in git-clang-format.bat (#75268)

2023-12-13 Thread via cfe-commits
Author: Owen Pan Date: 2023-12-13T14:00:06-08:00 New Revision: c3fa4b788f4427c483a08eeb8ccec2cb1ed83d32 URL: https://github.com/llvm/llvm-project/commit/c3fa4b788f4427c483a08eeb8ccec2cb1ed83d32 DIFF: https://github.com/llvm/llvm-project/commit/c3fa4b788f4427c483a08eeb8ccec2cb1ed83d32.diff LOG:

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

2023-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver @llvm/pr-subscribers-clang Author: Andrzej Warzyński (banach-space) Changes Direct follow-up of #7312 - the linker on Darwin does not support `-whole-archive`, so that needs to be removed from the linker invocation. For context: * https:/

[clang] [Cygwin] Value.h consider Cygwin (PR #75395)

2023-12-13 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] [Cygwin] Value.h consider Cygwin (PR #75395)

2023-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: 徐持恒 Xu Chiheng (xu-chiheng) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/75395.diff 1 Files Affected: - (modified) clang/include/clang/Interpreter/Value.h (+1-1) ``diff diff --git a/clang/include/clang/In

[clang] [HLSL][Docs] Add documentation for HLSL functions (PR #75397)

2023-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Chris B (llvm-beanz) Changes This adds a new document that covers the HLSL approach to function calls and parameter semantics. At time of writing this document is a proposal for the implementation. --- Full diff: https://github.com/llvm/

[clang] [clang][modules] Strip LLVM options (PR #75405)

2023-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Juergen Ributzka (ributzka) Changes Currently, the dep scanner does not remove LLVM options from the argument list. Since LLVM options shouldn't affect the AST, it is safe to remove them all. --- Full diff: https://github.com/llvm/llvm-pr

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

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

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

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

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

2023-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (ZijunZhaoCCK) Changes Clang always silently ignores garbage target versions and this makes debug harder. So clang will report when target versions are invalid. --- Full diff: https://github.com/llvm/llvm-project/pull/75373.diff 3

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

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

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

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

[llvm] [openmp] [clang] [libcxx] [lldb] [libcxxabi] [clang-tools-extra] [flang] [mlir] [compiler-rt] [MachineCopyPropagation] When the source of PreviousCopy is undef, we cannot replace sub register (

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

[clang] 9d02770 - [clang] Parse attribute [[gnu::no_stack_protector]] (#75289)

2023-12-13 Thread via cfe-commits
Author: Sirui Mu Date: 2023-12-14T11:31:17+08:00 New Revision: 9d02770832ea6b32235865e9ac03fb177d8daba1 URL: https://github.com/llvm/llvm-project/commit/9d02770832ea6b32235865e9ac03fb177d8daba1 DIFF: https://github.com/llvm/llvm-project/commit/9d02770832ea6b32235865e9ac03fb177d8daba1.diff LOG:

[mlir] [clang-tools-extra] [llvm] [clang] Generalize depthwise conv (PR #75017)

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

[compiler-rt] [llvm] [clang] [InstrProf] Single byte counters in coverage (PR #75425)

2023-12-13 Thread via cfe-commits
https://github.com/gulfemsavrun created https://github.com/llvm/llvm-project/pull/75425 This patch inserts 1-byte counters instead of an 8-byte counters into llvm profiles for source-based code coverage. The origial idea was proposed as block-cov for PGO, and this patch repurposes that idea fo

[compiler-rt] [llvm] [clang] [InstrProf] Single byte counters in coverage (PR #75425)

2023-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: None (gulfemsavrun) Changes This patch inserts 1-byte counters instead of an 8-byte counters into llvm profiles for source-based code coverage. The origial idea was proposed as block-cov for PGO, and this patch repurposes that ide

[compiler-rt] [llvm] [clang] [InstrProf] Single byte counters in coverage (PR #75425)

2023-12-13 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 9d02770832ea6b32235865e9ac03fb177d8daba1 ae8413b299b1606ce9b806f3617bfa5cf8aec1a7 --

[llvm] [clang] [compiler-rt] [InstrProf] Single byte counters in coverage (PR #75425)

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

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

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

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

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

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

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

[clang] [Clang][CodeGen] Fix crash when using bool vector in compound assignment (PR #75435)

2023-12-13 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][CodeGen] Fix crash when using bool vector in compound assignment (PR #75435)

2023-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-codegen Author: Chenyang Gao (cygao90) Changes Fixes: #72468. The left side bool vector did not perform a specific conversion(`CodeGenFunction::emitBoolVecConversion`) in compound assignment --- Full diff: https://githu

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

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

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

2023-12-13 Thread via cfe-commits
https://github.com/ZijunZhaoCCK converted_to_draft 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] [ARM] arm_acle.h add Corprocessor Instrinsics (PR #75440)

2023-12-13 Thread via cfe-commits
https://github.com/hstk30-hw created https://github.com/llvm/llvm-project/pull/75440 https://github.com/llvm/llvm-project/issues/75424 Add Corprocessor Instrinsics >From 12fc8ec01b426fe826d049576825ec187bef0bd0 Mon Sep 17 00:00:00 2001 From: hstk30-hw Date: Thu, 14 Dec 2023 15:40:03 +0800 Su

[clang] [ARM] arm_acle.h add Corprocessor Instrinsics (PR #75440)

2023-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (hstk30-hw) Changes https://github.com/llvm/llvm-project/issues/75424 Add Corprocessor Instrinsics --- Full diff: https://github.com/llvm/llvm-project/pull/75440.diff 1 Files Affected: - (modified) clang/lib/Headers/arm_acle.h (+

[clang] [ARM] arm_acle.h add Corprocessor Instrinsics (PR #75440)

2023-12-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: None (hstk30-hw) Changes https://github.com/llvm/llvm-project/issues/75424 Add Corprocessor Instrinsics --- Full diff: https://github.com/llvm/llvm-project/pull/75440.diff 1 Files Affected: - (modified) clang/lib/Headers/arm_acl

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

2023-12-13 Thread via cfe-commits
https://github.com/hstk30-hw updated https://github.com/llvm/llvm-project/pull/74812 >From b6595d617c6ac0f3e402aeb782eeeb78f90c5fb1 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-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] [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] [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 --

[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

[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] [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 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] 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 --

[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] [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 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 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

[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] [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-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

[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] [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

[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

[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

[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

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