[clang] [clang][CodeGen] The `eh_typeid_for` intrinsic needs special care too (PR #65699)

2023-09-07 Thread Alex Voicu via cfe-commits
https://github.com/AlexVlx review_requested https://github.com/llvm/llvm-project/pull/65699 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][CodeGen] The `eh_typeid_for` intrinsic needs special care too (PR #65699)

2023-09-07 Thread Alex Voicu via cfe-commits
https://github.com/AlexVlx review_requested https://github.com/llvm/llvm-project/pull/65699 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libc++] Implement ranges::contains (PR #65148)

2023-09-07 Thread via cfe-commits
https://github.com/ZijunZhaoCCK resolved https://github.com/llvm/llvm-project/pull/65148 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libc++] Implement ranges::contains (PR #65148)

2023-09-07 Thread via cfe-commits
https://github.com/ZijunZhaoCCK resolved https://github.com/llvm/llvm-project/pull/65148 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][deps] Generate command lines lazily (PR #65691)

2023-09-07 Thread Jan Svoboda via cfe-commits
@@ -136,9 +138,15 @@ struct ModuleDeps { /// determined that the differences are benign for this compilation. std::vector ClangModuleDeps; - /// Compiler invocation that can be used to build this module. Does not - /// include argv[0]. - std::vector BuildArguments; + /

[clang] [libc++] Implement ranges::contains (PR #65148)

2023-09-07 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 1/5] [libc++] Implement ranges::contains Differential Revision:

[clang] [clang][deps] Generate command lines lazily (PR #65691)

2023-09-07 Thread Jan Svoboda via cfe-commits
https://github.com/jansvoboda11 updated https://github.com/llvm/llvm-project/pull/65691: >From 6b8c1ee1507fbc143752fac966e4aabb36699e53 Mon Sep 17 00:00:00 2001 From: Jan Svoboda Date: Fri, 1 Sep 2023 13:01:24 -0700 Subject: [PATCH] [clang][deps] Generate command-lines lazily --- .../Dependen

[clang] [clang][deps] Generate command lines lazily (PR #65691)

2023-09-07 Thread Jan Svoboda via cfe-commits
https://github.com/jansvoboda11 review_requested https://github.com/llvm/llvm-project/pull/65691 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Add error note when if clause is used on teams before 5.2. (PR #65686)

2023-09-07 Thread via cfe-commits
shraiysh wrote: Windows buildbot looks stuck. Merging this. https://github.com/llvm/llvm-project/pull/65686 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] d211ad3 - [clang] Add error note when if clause is used on teams before 5.2. (#65686)

2023-09-07 Thread via cfe-commits
Author: Shraiysh Date: 2023-09-07T18:51:38-05:00 New Revision: d211ad311e4b6449c73e1617c0bdf927857e9279 URL: https://github.com/llvm/llvm-project/commit/d211ad311e4b6449c73e1617c0bdf927857e9279 DIFF: https://github.com/llvm/llvm-project/commit/d211ad311e4b6449c73e1617c0bdf927857e9279.diff LOG:

[clang] [clang] Add error note when if clause is used on teams before 5.2. (PR #65686)

2023-09-07 Thread via cfe-commits
https://github.com/shraiysh closed https://github.com/llvm/llvm-project/pull/65686 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [libc++] Implement ranges::contains (PR #65148)

2023-09-07 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 1/6] [libc++] Implement ranges::contains Differential Revision:

[clang] [clang][deps] Generate command lines lazily (PR #65691)

2023-09-07 Thread Ben Langmuir via cfe-commits
https://github.com/benlangmuir approved this pull request. https://github.com/llvm/llvm-project/pull/65691 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Parse] Split incremental-extensions (PR #65683)

2023-09-07 Thread via cfe-commits
https://github.com/cor3ntin commented: Give a few days for other people to look at it, otherwise LGTM https://github.com/llvm/llvm-project/pull/65683 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinf

[clang-tools-extra] [libc++] Implement ranges::contains (PR #65148)

2023-09-07 Thread via cfe-commits
@@ -0,0 +1,190 @@ +//===--===// +// +// 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: Apa

[clang] 3b1a686 - [clang][deps] Generate command lines lazily (#65691)

2023-09-07 Thread via cfe-commits
Author: Jan Svoboda Date: 2023-09-07T17:45:53-07:00 New Revision: 3b1a68655e1760680b4786afb56dbb5acde272a0 URL: https://github.com/llvm/llvm-project/commit/3b1a68655e1760680b4786afb56dbb5acde272a0 DIFF: https://github.com/llvm/llvm-project/commit/3b1a68655e1760680b4786afb56dbb5acde272a0.diff L

[clang] [clang][deps] Generate command lines lazily (PR #65691)

2023-09-07 Thread Jan Svoboda via cfe-commits
https://github.com/jansvoboda11 closed https://github.com/llvm/llvm-project/pull/65691 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [MLIR] Enabling Intel GPU Integration. (PR #65539)

2023-09-07 Thread Fabian Mora via cfe-commits
@@ -0,0 +1,70 @@ +//===- SerializeToSPIRV.cpp - Convert GPU kernel to SPIRV blob -===// +// +// 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: Ap

[clang-tools-extra] [MLIR] Enabling Intel GPU Integration. (PR #65539)

2023-09-07 Thread Fabian Mora via cfe-commits
@@ -0,0 +1,70 @@ +//===- SerializeToSPIRV.cpp - Convert GPU kernel to SPIRV blob -===// +// +// 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: Ap

[clang] b1922e5 - [AIX][TLS][clang] Add -maix-small-local-exec-tls clang option.

2023-09-07 Thread Amy Kwan via cfe-commits
Author: Amy Kwan Date: 2023-09-07T20:05:29-05:00 New Revision: b1922e55ab3b35dff99238fd0b74be00df0472e7 URL: https://github.com/llvm/llvm-project/commit/b1922e55ab3b35dff99238fd0b74be00df0472e7 DIFF: https://github.com/llvm/llvm-project/commit/b1922e55ab3b35dff99238fd0b74be00df0472e7.diff LOG:

[PATCH] D155544: [AIX][TLS][clang] Add -maix-small-local-exec-tls clang option.

2023-09-07 Thread Amy Kwan via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGb1922e55ab3b: [AIX][TLS][clang] Add -maix-small-local-exec-tls clang option. (authored by amyk). Changed prior to commit: https://reviews.llvm.org

[clang] Reland "[CUDA][HIP] Fix overloading resolution in global var init" (PR #65606)

2023-09-07 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu edited https://github.com/llvm/llvm-project/pull/65606 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Reland "[CUDA][HIP] Fix overloading resolution in global var init" (PR #65606)

2023-09-07 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu edited https://github.com/llvm/llvm-project/pull/65606 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Reland "[CUDA][HIP] Fix overloading resolution in global var init" (PR #65606)

2023-09-07 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu updated https://github.com/llvm/llvm-project/pull/65606: >From a998f1291e63eff53bed12bb0a369f3b636c4ae0 Mon Sep 17 00:00:00 2001 From: "Yaxun (Sam) Liu" Date: Thu, 31 Aug 2023 18:02:56 -0400 Subject: [PATCH] Reland "[CUDA][HIP] Fix overloading resolution in global va

[clang] [MLIR] Enabling Intel GPU Integration. (PR #65539)

2023-09-07 Thread Ronan Keryell via cfe-commits
@@ -811,8 +812,13 @@ LogicalResult ConvertAllocOpToGpuRuntimeCallPattern::matchAndRewrite( // descriptor. Type elementPtrType = this->getElementPtrType(memRefType); auto stream = adaptor.getAsyncDependencies().front(); + + auto isHostShared = rewriter.create( + loc

[clang-tools-extra] [MLIR] Enabling Intel GPU Integration. (PR #65539)

2023-09-07 Thread Ronan Keryell via cfe-commits
@@ -811,8 +812,13 @@ LogicalResult ConvertAllocOpToGpuRuntimeCallPattern::matchAndRewrite( // descriptor. Type elementPtrType = this->getElementPtrType(memRefType); auto stream = adaptor.getAsyncDependencies().front(); + + auto isHostShared = rewriter.create( + loc

[clang] [Clang][LoongArch] Generate _mcount instead of mcount (PR #65657)

2023-09-07 Thread Lu Weining via cfe-commits
SixWeining wrote: > also cc @SixWeining (BTW we want to have a GitHub team set up for > notifications and assignments apparently) There is one: https://github.com/orgs/llvm/teams/pr-subscribers-loongarch I will invite you to join this team and others interested in could also request to join.

[clang] [AArch64][CodeGen] Fix wrong operand order when creating vcmla intrinsic (PR #65278)

2023-09-07 Thread via cfe-commits
https://github.com/daisy202309 updated https://github.com/llvm/llvm-project/pull/65278: >From 9b68bfc6078a400247a55d181a6bc8ff73819cd4 Mon Sep 17 00:00:00 2001 From: lizhijin Date: Tue, 5 Sep 2023 00:56:23 +0800 Subject: [PATCH] [AArch64][CodeGen] Fix wrong operand order when creating vcmla in

[clang] [AArch64][CodeGen] Fix wrong operand order when creating vcmla intrinsic (PR #65278)

2023-09-07 Thread via cfe-commits
https://github.com/github-actions[bot] labeled https://github.com/llvm/llvm-project/pull/65278 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][LoongArch] Generate _mcount instead of mcount (PR #65657)

2023-09-07 Thread Lu Weining via cfe-commits
https://github.com/SixWeining approved this pull request. I have checked that glibc/sysdeps/loongarch/machine-gmon.h defines `_mcount`. https://github.com/llvm/llvm-project/pull/65657 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://list

[PATCH] D158824: [RISCV][MC] MC layer support for xcvmem and xcvelw extensions

2023-09-07 Thread Liao Chunyu via Phabricator via cfe-commits
liaolucy updated this revision to Diff 556222. liaolucy added a comment. 1. Rebase. 2. Update RISCVISAInfoTest.cpp Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D158824/new/ https://reviews.llvm.org/D158824 Files: clang/test/Preprocessor/riscv-ta

[clang] 4d2536c - [RISCV] Enable more builtin for zvfhmin without zvfh

2023-09-07 Thread Jianjian GUAN via cfe-commits
Author: Jianjian GUAN Date: 2023-09-08T10:55:17+08:00 New Revision: 4d2536c82fc426f0e622a09c0a3e048a0c734f3d URL: https://github.com/llvm/llvm-project/commit/4d2536c82fc426f0e622a09c0a3e048a0c734f3d DIFF: https://github.com/llvm/llvm-project/commit/4d2536c82fc426f0e622a09c0a3e048a0c734f3d.diff

[PATCH] D151869: [RISCV] Enable more builtin for zvfhmin without zvfh

2023-09-07 Thread Jianjian Guan via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG4d2536c82fc4: [RISCV] Enable more builtin for zvfhmin without zvfh (authored by jacquesguan). Repository: rG LLVM Github Monorepo CHANGES SINCE L

[clang] Reland "[CUDA][HIP] Fix overloading resolution in global var init" (PR #65606)

2023-09-07 Thread Yaxun Liu via cfe-commits
https://github.com/yxsamliu closed https://github.com/llvm/llvm-project/pull/65606 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [libc++] Implement ranges::contains (PR #65148)

2023-09-07 Thread Konstantin Varlamov via cfe-commits
@@ -0,0 +1,190 @@ +//===--===// +// +// 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: Apa

[clang] [libc++] Implement ranges::contains (PR #65148)

2023-09-07 Thread Konstantin Varlamov via cfe-commits
@@ -0,0 +1,190 @@ +//===--===// +// +// 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: Apa

[clang] [libc++] Implement ranges::contains (PR #65148)

2023-09-07 Thread Konstantin Varlamov via cfe-commits
@@ -0,0 +1,190 @@ +//===--===// +// +// 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: Apa

[clang-tools-extra] [libc++] Implement ranges::contains (PR #65148)

2023-09-07 Thread Konstantin Varlamov via cfe-commits
@@ -0,0 +1,190 @@ +//===--===// +// +// 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: Apa

[clang] [clang][MSExtentions] Fix invalid overload failure about the loss of `__unaligned` qualifier (PR #65248)

2023-09-07 Thread Takuya Shimizu via cfe-commits
https://github.com/hazohelet updated https://github.com/llvm/llvm-project/pull/65248: >From eee4c3aee9350be51c9333f284810ffebd9d1663 Mon Sep 17 00:00:00 2001 From: Takuya Shimizu Date: Mon, 4 Sep 2023 16:23:00 +0900 Subject: [PATCH 1/3] [clang][MSExtentions] Fix invalid overload failure about

[clang] [libc++] Implement ranges::contains (PR #65148)

2023-09-07 Thread Konstantin Varlamov via cfe-commits
@@ -0,0 +1,190 @@ +//===--===// +// +// 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: Apa

[clang-tools-extra] [libc++] Implement ranges::contains (PR #65148)

2023-09-07 Thread Konstantin Varlamov via cfe-commits
@@ -0,0 +1,190 @@ +//===--===// +// +// 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: Apa

[clang] cf51876 - [clang][MSExtentions] Fix invalid overload failure about the loss of `__unaligned` qualifier (#65248)

2023-09-07 Thread via cfe-commits
Author: Takuya Shimizu Date: 2023-09-08T13:22:07+09:00 New Revision: cf51876dd90968787692ef77b4de05c36c730936 URL: https://github.com/llvm/llvm-project/commit/cf51876dd90968787692ef77b4de05c36c730936 DIFF: https://github.com/llvm/llvm-project/commit/cf51876dd90968787692ef77b4de05c36c730936.diff

[PATCH] D140250: Define NULL in its own header

2023-09-07 Thread Ian Anderson via Phabricator via cfe-commits
iana abandoned this revision. iana added a comment. This was succeeded by D158709 . Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140250/new/ https://reviews.llvm.org/D140250 __

[clang] [Clang] Fix the for statement disappearing in AST when an error occurs in the conditional expression of the for statement (PR #65381)

2023-09-07 Thread via cfe-commits
https://github.com/yronglin updated https://github.com/llvm/llvm-project/pull/65381: >From 2500d388aef29b3fc4cb376057b7d42b2e9807ba Mon Sep 17 00:00:00 2001 From: yronglin Date: Wed, 6 Sep 2023 00:00:18 +0800 Subject: [PATCH 1/2] [Clang] Fix the do while statement disappearing in AST when an e

[PATCH] D157526: [clang][Sema] Remove irrelevant diagnostics from constraint satisfaction failure

2023-09-07 Thread Takuya Shimizu via Phabricator via cfe-commits
hazohelet updated this revision to Diff 556227. hazohelet marked an inline comment as done. hazohelet added a comment. Added comment and FIXME CHANGES SINCE LAST ACTION https://reviews.llvm.org/D157526/new/ https://reviews.llvm.org/D157526 Files: clang/docs/ReleaseNotes.rst clang/lib/Sem

[clang] Reland "[CUDA][HIP] Fix overloading resolution in global var init" (PR #65606)

2023-09-07 Thread Fangrui Song via cfe-commits
@@ -70,3 +70,4 @@ pythonenv* /clang/utils/analyzer/projects/*/RefScanBuildResults # automodapi puts generated documentation files here. /lldb/docs/python_api/ +/Debug/ MaskRay wrote: This seems accidental? I removed it in 994bdce654b980b4347c04d7b502a6348edd57

[clang] [analyzer] Reduce constraint on modulo with small concrete range (PR #65448)

2023-09-07 Thread Ding Fei via cfe-commits
https://github.com/danix800 updated https://github.com/llvm/llvm-project/pull/65448: >From 235f39a6a5137e53239105727798d4540e5dd563 Mon Sep 17 00:00:00 2001 From: dingfei Date: Wed, 6 Sep 2023 10:03:21 +0800 Subject: [PATCH 1/2] [analyzer] Reduce constraint on modulo with small concrete range

[clang] [analyzer] Reduce constraint on modulo with small concrete range (PR #65448)

2023-09-07 Thread via cfe-commits
https://github.com/github-actions[bot] labeled https://github.com/llvm/llvm-project/pull/65448 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analyzer] Reduce constraint on modulo with small concrete range (PR #65448)

2023-09-07 Thread Ding Fei via cfe-commits
https://github.com/danix800 unlabeled https://github.com/llvm/llvm-project/pull/65448 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analyzer] Reduce constraint on modulo with small concrete range (PR #65448)

2023-09-07 Thread Ding Fei via cfe-commits
https://github.com/danix800 ready_for_review https://github.com/llvm/llvm-project/pull/65448 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analyzer] Reduce constraint on modulo with small concrete range (PR #65448)

2023-09-07 Thread Ding Fei via cfe-commits
https://github.com/danix800 review_requested https://github.com/llvm/llvm-project/pull/65448 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analyzer] Reduce constraint on modulo with small concrete range (PR #65448)

2023-09-07 Thread Ding Fei via cfe-commits
https://github.com/danix800 review_requested https://github.com/llvm/llvm-project/pull/65448 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Fix the for statement disappearing in AST when an error occurs in the conditional expression of the for statement (PR #65381)

2023-09-07 Thread via cfe-commits
https://github.com/yronglin updated https://github.com/llvm/llvm-project/pull/65381: >From 17891138b539c47556986f0bef5eba2ae2e6efea Mon Sep 17 00:00:00 2001 From: yronglin Date: Wed, 6 Sep 2023 00:00:18 +0800 Subject: [PATCH 1/2] [Clang] Fix the do while statement disappearing in AST when an e

[clang] [analyzer] Reduce constraint on modulo with small concrete range (PR #65448)

2023-09-07 Thread Ding Fei via cfe-commits
https://github.com/danix800 updated https://github.com/llvm/llvm-project/pull/65448: >From 235f39a6a5137e53239105727798d4540e5dd563 Mon Sep 17 00:00:00 2001 From: dingfei Date: Wed, 6 Sep 2023 10:03:21 +0800 Subject: [PATCH 1/2] [analyzer] Reduce constraint on modulo with small concrete range

[clang] [analyzer] Reduce constraint on modulo with small concrete range (PR #65448)

2023-09-07 Thread via cfe-commits
https://github.com/github-actions[bot] labeled https://github.com/llvm/llvm-project/pull/65448 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D159480: [Clang][AArch64] Fine-grained ldp and stp policies.

2023-09-07 Thread Dave Green via Phabricator via cfe-commits
dmgreen added a comment. Can you give more details about why this is wanted and in which cases it helps with? Is it an optimization, as opposed to working around some correctness issue? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D159480/new/ ht

[clang] [AArch64][CodeGen] Fix wrong operand order when creating vcmla intrinsic (PR #65278)

2023-09-07 Thread Eli Friedman via cfe-commits
efriedma-quic wrote: I don't think we need an end-to-end testcase; it should be sufficient to have testcases for clang->llvm IR and llvm IR->asm. So should be fine as-is. https://github.com/llvm/llvm-project/pull/65278 ___ cfe-commits mailing list cf

[clang-tools-extra] [AArch64][CodeGen] Fix wrong operand order when creating vcmla intrinsic (PR #65278)

2023-09-07 Thread Eli Friedman via cfe-commits
efriedma-quic wrote: I don't think we need an end-to-end testcase; it should be sufficient to have testcases for clang->llvm IR and llvm IR->asm. So should be fine as-is. https://github.com/llvm/llvm-project/pull/65278 ___ cfe-commits mailing list cf

[clang] [AMDGPU] Remove Code Object V2 (PR #65715)

2023-09-07 Thread Pierre van Houtryve via cfe-commits
https://github.com/Pierre-vh review_requested https://github.com/llvm/llvm-project/pull/65715 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AMDGPU] Remove Code Object V2 (PR #65715)

2023-09-07 Thread Pierre van Houtryve via cfe-commits
https://github.com/Pierre-vh review_requested https://github.com/llvm/llvm-project/pull/65715 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AMDGPU] Remove Code Object V2 (PR #65715)

2023-09-07 Thread via cfe-commits
https://github.com/github-actions[bot] labeled https://github.com/llvm/llvm-project/pull/65715 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AMDGPU] Remove Code Object V2 (PR #65715)

2023-09-07 Thread via cfe-commits
https://github.com/github-actions[bot] labeled https://github.com/llvm/llvm-project/pull/65715 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D146023: [AMDGPU] Remove Code Object V2

2023-09-07 Thread Pierre van Houtryve via Phabricator via cfe-commits
Pierre-vh abandoned this revision. Pierre-vh added a comment. https://github.com/llvm/llvm-project/pull/65715 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D146023/new/ https://reviews.llvm.org/D146023 __

[clang] [AMDGPU] Remove Code Object V2 (PR #65715)

2023-09-07 Thread via cfe-commits
https://github.com/github-actions[bot] labeled https://github.com/llvm/llvm-project/pull/65715 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AMDGPU] Remove Code Object V2 (PR #65715)

2023-09-07 Thread via cfe-commits
https://github.com/github-actions[bot] labeled https://github.com/llvm/llvm-project/pull/65715 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AMDGPU] Remove Code Object V2 (PR #65715)

2023-09-07 Thread via cfe-commits
https://github.com/github-actions[bot] labeled https://github.com/llvm/llvm-project/pull/65715 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analyzer] Reduce constraint on modulo with small concrete range (PR #65448)

2023-09-07 Thread Ding Fei via cfe-commits
https://github.com/danix800 unlabeled https://github.com/llvm/llvm-project/pull/65448 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D159483: [Modules] Add a flag to control builtin headers being in system modules

2023-09-07 Thread Ian Anderson via Phabricator via cfe-commits
iana updated this revision to Diff 556230. iana marked 3 inline comments as done. iana added a comment. Add comments to stdarg.h and stddef.h explaining their interesting header guard setup. Ignore -fbuiltin-headers-in-system-modules if -fmodules isn't passed. DriverKit doesn't need to pass -fbui

[PATCH] D159064: [Modules] Make clang modules for the C standard library headers

2023-09-07 Thread Ian Anderson via Phabricator via cfe-commits
iana updated this revision to Diff 556231. iana added a comment. Rebase Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D159064/new/ https://reviews.llvm.org/D159064 Files: clang/lib/Basic/Module.cpp clang/lib/Headers/__stddef_null.h clang/lib/

[clang-tools-extra] [AArch64][CodeGen] Fix wrong operand order when creating vcmla intrinsic (PR #65278)

2023-09-07 Thread David Green via cfe-commits
davemgreen wrote: The test case you have is testing different lanes from the vcmla instrinsics, not just commutativity. The different lanes would be expected to be different. The lane indices would need to be the same to test commutivity: ``` vst1q_lane_f64(r0, test_rot0(acc, lhs, rhs) , 0);

[PATCH] D158626: [AArch64] Add missing vrnd intrinsics

2023-09-07 Thread Dave Green via Phabricator via cfe-commits
dmgreen accepted this revision. dmgreen added a comment. This revision is now accepted and ready to land. Thanks. LGTM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D158626/new/ https://reviews.llvm.org/D158626 ___ cfe-commits mailing list cfe

[clang] [NFC] fix failed ompt tests on M1 device (PR #65696)

2023-09-07 Thread Lixi Zhou via cfe-commits
https://github.com/lixi-zhou updated https://github.com/llvm/llvm-project/pull/65696: >From eacec22651766c6c6961d14964ddb6a180fbfec0 Mon Sep 17 00:00:00 2001 From: Lixi Zhou Date: Thu, 7 Sep 2023 16:15:25 -0700 Subject: [PATCH] fix failed ompt test on M1 device --- openmp/runtime/test/ompt/ca

[clang] [Documentation] Replace recommonmark by myst-parser (PR #65664)

2023-09-07 Thread Tobias Hieta via cfe-commits
tru wrote: Seems like a nice cleanup on top of the fact that we don't have to use a deprecated module. I am guessing it didn't cause any output errors. Regarding build-bots, I am unsure where we automatically build the documentation. Pushing the docs to the main branch will rebuild and put the

[clang] b0ea279 - [ASTImport]CXXBoolLiteralExpr should be handled explicitly in statement comparation

2023-09-07 Thread via cfe-commits
Author: huqizhi Date: 2023-09-08T14:52:14+08:00 New Revision: b0ea2790c41db65b3c283f78a5f534bc26fc6f8f URL: https://github.com/llvm/llvm-project/commit/b0ea2790c41db65b3c283f78a5f534bc26fc6f8f DIFF: https://github.com/llvm/llvm-project/commit/b0ea2790c41db65b3c283f78a5f534bc26fc6f8f.diff LOG:

[PATCH] D159479: [ASTImport]CXXBoolLiteralExpr should be handled explicitly in statement comparation

2023-09-07 Thread Wang Pengcheng via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGb0ea2790c41d: [ASTImport]CXXBoolLiteralExpr should be handled explicitly in statement… (authored by jcsxky, committed by wangpc). Repository: rG L

[clang] [clang-format][NFC] Fix broken dump_format_help.py and sync the RST file (PR #65429)

2023-09-07 Thread via cfe-commits
https://github.com/owenca edited https://github.com/llvm/llvm-project/pull/65429 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format][NFC] Skip additional tests of the same case upon failure (PR #65540)

2023-09-07 Thread via cfe-commits
https://github.com/owenca edited https://github.com/llvm/llvm-project/pull/65540 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][modernize-use-using]fix function pointer typedef correctly (PR #65558)

2023-09-07 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 review_requested https://github.com/llvm/llvm-project/pull/65558 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format][NFC] Skip additional tests of the same case upon failure (PR #65540)

2023-09-07 Thread Björn Schäpers via cfe-commits
https://github.com/HazardyKnusperkeks approved this pull request. Yay https://github.com/llvm/llvm-project/pull/65540 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [MLIR] Enabling Intel GPU Integration. (PR #65539)

2023-09-07 Thread Guray Ozen via cfe-commits
@@ -811,8 +812,13 @@ LogicalResult ConvertAllocOpToGpuRuntimeCallPattern::matchAndRewrite( // descriptor. Type elementPtrType = this->getElementPtrType(memRefType); auto stream = adaptor.getAsyncDependencies().front(); + + auto isHostShared = rewriter.create( + loc

[clang-tools-extra] [MLIR] Enabling Intel GPU Integration. (PR #65539)

2023-09-07 Thread Guray Ozen via cfe-commits
https://github.com/grypp edited https://github.com/llvm/llvm-project/pull/65539 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] c22c0c4 - [clang-format][NFC] Change conjunction of isNot() with one !isOneOf()

2023-09-07 Thread Owen Pan via cfe-commits
Author: Owen Pan Date: 2023-09-07T00:20:02-07:00 New Revision: c22c0c4769da8084378675fe58fd033dfa73ad1e URL: https://github.com/llvm/llvm-project/commit/c22c0c4769da8084378675fe58fd033dfa73ad1e DIFF: https://github.com/llvm/llvm-project/commit/c22c0c4769da8084378675fe58fd033dfa73ad1e.diff LOG:

[clang] [clang-format][NFC] Fix broken dump_format_help.py and sync the RST file (PR #65429)

2023-09-07 Thread via cfe-commits
https://github.com/owenca updated https://github.com/llvm/llvm-project/pull/65429: >From 2fdcbe2e66ec60fbc9a7a6943a4dc296e8d710b7 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Tue, 5 Sep 2023 18:04:46 -0700 Subject: [PATCH] [clang-format][NFC] Fix broken dump_format_help.py and sync RST file

[clang] [clang-format][NFC] Fix broken dump_format_help.py and sync RST file (PR #65429)

2023-09-07 Thread via cfe-commits
https://github.com/owenca edited https://github.com/llvm/llvm-project/pull/65429 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] f9026cf - [clang][dataflow] Fix Record initialization with InitListExpr and inheritances

2023-09-07 Thread Martin Braenne via cfe-commits
Author: Kinuko Yasuda Date: 2023-09-07T07:37:50Z New Revision: f9026cfb7680e2c2a4c8c91dd33f710ea1d321a3 URL: https://github.com/llvm/llvm-project/commit/f9026cfb7680e2c2a4c8c91dd33f710ea1d321a3 DIFF: https://github.com/llvm/llvm-project/commit/f9026cfb7680e2c2a4c8c91dd33f710ea1d321a3.diff LOG:

[PATCH] D159284: [clang][dataflow] Fix Record initialization with InitListExpr and inheritances

2023-09-07 Thread Martin Böhme via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGf9026cfb7680: [clang][dataflow] Fix Record initialization with InitListExpr and inheritances (authored by kinu, committed by mboehme). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION ht

[clang-tools-extra] [include-cleaner] Always keep non-self-contained files (PR #65499)

2023-09-07 Thread via cfe-commits
https://github.com/VitaNuo approved this pull request. https://github.com/llvm/llvm-project/pull/65499 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 195cdfd - [APINotes] Support `SwiftImportAs` for C++ structs

2023-09-07 Thread via cfe-commits
Author: Egor Zhdan Date: 2023-09-07T08:39:35+01:00 New Revision: 195cdfd9ecb3a8ec93a3c538a2b1db14bf715bc6 URL: https://github.com/llvm/llvm-project/commit/195cdfd9ecb3a8ec93a3c538a2b1db14bf715bc6 DIFF: https://github.com/llvm/llvm-project/commit/195cdfd9ecb3a8ec93a3c538a2b1db14bf715bc6.diff LO

[clang] [APINotes] Support `SwiftImportAs` for C++ structs (PR #65323)

2023-09-07 Thread Egor Zhdan via cfe-commits
https://github.com/egorzhdan closed https://github.com/llvm/llvm-project/pull/65323 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] c47c480 - [clang-format][NFC] Fix broken dump_format_help.py and sync RST file (#65429)

2023-09-07 Thread via cfe-commits
Author: Owen Date: 2023-09-07T00:43:19-07:00 New Revision: c47c480b1845c27693f95d4ec8f3373898e99365 URL: https://github.com/llvm/llvm-project/commit/c47c480b1845c27693f95d4ec8f3373898e99365 DIFF: https://github.com/llvm/llvm-project/commit/c47c480b1845c27693f95d4ec8f3373898e99365.diff LOG: [cl

[clang] [clang-format][NFC] Fix broken dump_format_help.py and sync RST file (PR #65429)

2023-09-07 Thread via cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/65429 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D135115: [clang-format] update --files help description

2023-09-07 Thread Owen Pan via Phabricator via cfe-commits
owenpan added inline comments. Comment at: clang/docs/ClangFormat.rst:72-73 Used only with --dry-run or -n ---files= - Provide a list of files to run clang-format +--files= - A file containing a list of file

[PATCH] D129050: [clang-format] Update documentation

2023-09-07 Thread Owen Pan via Phabricator via cfe-commits
owenpan added inline comments. Comment at: clang/docs/ClangFormat.rst:20 - $ clang-format -help + $ clang-format --help OVERVIEW: A tool to format C/C++/Java/JavaScript/JSON/Objective-C/Protobuf/C# code. owenpan wrote: > This should be edited in `dump_for

[clang] 98062d8 - Revert "[Clang] Add captures to the instantiation scope of lambda call operators"

2023-09-07 Thread Corentin Jabot via cfe-commits
Author: Corentin Jabot Date: 2023-09-07T09:50:25+02:00 New Revision: 98062d8fefbd3539a63e7e6a85ff12a41543357c URL: https://github.com/llvm/llvm-project/commit/98062d8fefbd3539a63e7e6a85ff12a41543357c DIFF: https://github.com/llvm/llvm-project/commit/98062d8fefbd3539a63e7e6a85ff12a41543357c.diff

[PATCH] D159126: [Clang] Add captures to the instantiation scope of lambda call operators

2023-09-07 Thread Corentin Jabot via Phabricator via cfe-commits
cor3ntin added a comment. @abrachet Thanks, i've reverted the patch while i investigate a fix I managed to reduced it to template concept cs = requires(b bj) { bj.begin(); }; struct { template requires cs auto operator()(b &&) {} } begin; template concept cu = re

[PATCH] D158626: [AArch64] Add missing vrnd intrinsics

2023-09-07 Thread Dave Green via Phabricator via cfe-commits
dmgreen added a comment. Other than where the pattern gets defined this looks OK to me. Comment at: llvm/lib/Target/AArch64/AArch64InstrFormats.td:6309 + + def : Pat<(v1f64 (OpNode (v1f64 FPR64:$Rn))), + (!cast(NAME # Dr) FPR64:$Rn)>; miyengar wrote:

[clang-tools-extra] [clang-tidy][modernize-use-using]fix function pointer typedef correctly (PR #65558)

2023-09-07 Thread Piotr Zegar via cfe-commits
@@ -314,3 +314,10 @@ typedef struct { struct { int a; struct { struct { int b; } c; int d; } e; } f; typedef struct { struct { int a; } b; union { int c; float d; struct { int e; }; }; struct { double f; } g; } PR50990_siblings; // CHECK-MESSAGES: :[[@LINE-1]]:1: warning: use

[clang-tools-extra] [clang-tidy][modernize-use-using]fix function pointer typedef correctly (PR #65558)

2023-09-07 Thread Piotr Zegar via cfe-commits
https://github.com/PiotrZSL resolved https://github.com/llvm/llvm-project/pull/65558 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] f0cd9b2 - [NFC] [Serialization] Remove unused output parameter 'Imported' in ReadAST

2023-09-07 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-09-07T16:12:53+08:00 New Revision: f0cd9b2b8a09192489e0aedf3c9af3a540ea5966 URL: https://github.com/llvm/llvm-project/commit/f0cd9b2b8a09192489e0aedf3c9af3a540ea5966 DIFF: https://github.com/llvm/llvm-project/commit/f0cd9b2b8a09192489e0aedf3c9af3a540ea5966.diff LO

[clang-tools-extra] [clang-tidy][modernize-use-using]fix function pointer typedef correctly (PR #65558)

2023-09-07 Thread Piotr Zegar via cfe-commits
@@ -314,3 +314,10 @@ typedef struct { struct { int a; struct { struct { int b; } c; int d; } e; } f; typedef struct { struct { int a; } b; union { int c; float d; struct { int e; }; }; struct { double f; } g; } PR50990_siblings; // CHECK-MESSAGES: :[[@LINE-1]]:1: warning: use

<    1   2   3   4   5   6   >