[compiler-rt] [clang] [llvm] [mlir] [lld] [flang] [clang-tools-extra] [X86] Remove RAO-INT from Grandridge (PR #76420)

2023-12-26 Thread Freddy Ye via cfe-commits
https://github.com/FreddyLeaf updated https://github.com/llvm/llvm-project/pull/76420 >From ae1d12c24facb36323b9b46a73a1fbc3edff4dc8 Mon Sep 17 00:00:00 2001 From: Freddy Ye Date: Wed, 27 Dec 2023 10:33:30 +0800 Subject: [PATCH] [X86] Remove RAO-INT from Grandridge According to latest spec:

[clang-tools-extra] [clang-tidy][misleading-indentation]ignore false-positives for line started with empty macro (PR #75061)

2023-12-26 Thread Piotr Zegar via cfe-commits
https://github.com/PiotrZSL approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/75061 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] Revert "InstCombine: Fold is.fpclass(x, fcInf) to fabs+fcmp" (PR #76338)

2023-12-26 Thread Matt Arsenault via cfe-commits
arsenm wrote: I still think fabs+fcmp is a better canonical form. Between some targets offering free fabs, and other combines between fabs and sources/sinks, I think it's better to split out this way. Any codegen regression should be addressed in the backend.

[clang] [RISCV][NFC] Use RISCVISAInfo instead of string comparison (PR #76387)

2023-12-26 Thread Wang Pengcheng via cfe-commits
https://github.com/wangpc-pp updated https://github.com/llvm/llvm-project/pull/76387 >From ed8ebdb6f2133f84d1f5a8d2cd580dba4ceed922 Mon Sep 17 00:00:00 2001 From: wangpc Date: Tue, 26 Dec 2023 15:58:10 +0800 Subject: [PATCH 1/4] [RISCV][NFC] Use RISCVISAInfo instead of string comparison The

[clang] [RISCV][NFC] Use errorToBool (PR #76429)

2023-12-26 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: Wang Pengcheng (wangpc-pp) Changes To reduce calls to `consumeError`. --- Full diff: https://github.com/llvm/llvm-project/pull/76429.diff 4 Files Affected: - (modified) clang/lib/Basic/Targets/RISCV.cpp (+1-2) - (modified)

[clang] [RISCV][NFC] Use errorToBool (PR #76429)

2023-12-26 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Wang Pengcheng (wangpc-pp) Changes To reduce calls to `consumeError`. --- Full diff: https://github.com/llvm/llvm-project/pull/76429.diff 4 Files Affected: - (modified) clang/lib/Basic/Targets/RISCV.cpp (+1-2) - (modified)

[clang] [RISCV][NFC] Use errorToBool (PR #76429)

2023-12-26 Thread Wang Pengcheng via cfe-commits
https://github.com/wangpc-pp created https://github.com/llvm/llvm-project/pull/76429 To reduce calls to `consumeError`. >From 0d8426ffb1202ceca97b25c0dd47d516c1be280e Mon Sep 17 00:00:00 2001 From: wangpc Date: Wed, 27 Dec 2023 14:41:30 +0800 Subject: [PATCH] [RISCV][NFC] Use errorToBool To

[clang] [Clang] support vector subscript expressions in constant evaluator (WIP) (PR #76379)

2023-12-26 Thread Yuanfang Chen via cfe-commits
yuanfang-chen wrote: #72607 https://github.com/llvm/llvm-project/pull/76379 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang]get non-injected-class before finding instantiated decl (PR #70886)

2023-12-26 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 closed https://github.com/llvm/llvm-project/pull/70886 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][misleading-indentation]ignore false-positives for line started with empty macro (PR #75061)

2023-12-26 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 updated https://github.com/llvm/llvm-project/pull/75061 >From c3938da3a94ed9a9cc86d006d4b39dc5b73e7114 Mon Sep 17 00:00:00 2001 From: Congcong Cai Date: Mon, 11 Dec 2023 23:32:32 +0800 Subject: [PATCH] [clang-tidy][misleading-indentation]ignore false-positives

[clang] [RISCV][NFC] Use RISCVISAInfo instead of string comparison (PR #76387)

2023-12-26 Thread Wang Pengcheng via cfe-commits
https://github.com/wangpc-pp updated https://github.com/llvm/llvm-project/pull/76387 >From ed8ebdb6f2133f84d1f5a8d2cd580dba4ceed922 Mon Sep 17 00:00:00 2001 From: wangpc Date: Tue, 26 Dec 2023 15:58:10 +0800 Subject: [PATCH 1/3] [RISCV][NFC] Use RISCVISAInfo instead of string comparison The

[clang] [RISCV] Remove redundant variable Log2LMUL from vset intrinsic. NFC (PR #76422)

2023-12-26 Thread Jim Lin via cfe-commits
https://github.com/tclin914 closed https://github.com/llvm/llvm-project/pull/76422 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 039d9aa - [RISCV] Remove redundant variable Log2LMUL from vset intrinsic. NFC (#76422)

2023-12-26 Thread via cfe-commits
Author: Jim Lin Date: 2023-12-27T14:14:50+08:00 New Revision: 039d9aa56e9432e119c4b62e575f74fcf3cacb82 URL: https://github.com/llvm/llvm-project/commit/039d9aa56e9432e119c4b62e575f74fcf3cacb82 DIFF: https://github.com/llvm/llvm-project/commit/039d9aa56e9432e119c4b62e575f74fcf3cacb82.diff LOG:

[lld] [clang-tools-extra] [mlir] [clang] [flang] [libcxx] [polly] [compiler-rt] [llvm] [CostModel][X86] Fix fpext conversion cost for 16 elements (PR #76278)

2023-12-26 Thread via cfe-commits
https://github.com/HaohaiWen updated https://github.com/llvm/llvm-project/pull/76278 >From 87f3d68e82dcc752aa727f62b8b1b56b1257b343 Mon Sep 17 00:00:00 2001 From: Haohai Wen Date: Sat, 23 Dec 2023 13:16:02 +0800 Subject: [PATCH 1/2] [CostModel][X86] Track fpext conversion for 16 elements ---

[clang-tools-extra] [clang] [flang] [libcxx] [compiler-rt] [llvm] [Clang][Sema] Fix qualifier restriction of overriden methods (PR #71696)

2023-12-26 Thread Qiu Chaofan via cfe-commits
ecnelises wrote: Ping https://github.com/llvm/llvm-project/pull/71696 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Hook up Haiku PowerPC support (PR #69134)

2023-12-26 Thread Brad Smith via cfe-commits
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/69134 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-12-26 Thread Nhat Nguyen via cfe-commits
changkhothuychung wrote: Thanks everyone for the comments! I will address as soon as I can. https://github.com/llvm/llvm-project/pull/75902 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [RISCV][NFC] Use RISCVISAInfo instead of string comparison (PR #76387)

2023-12-26 Thread Craig Topper via cfe-commits
@@ -670,10 +671,18 @@ static llvm::Triple computeTargetTriple(const Driver , if (Args.hasArg(options::OPT_march_EQ) || Args.hasArg(options::OPT_mcpu_EQ)) { StringRef ArchName = tools::riscv::getRISCVArch(Args, Target); - if

[clang] [RISCV] Remove redundant variable Log2LMUL from vset intrinsic. NFC (PR #76422)

2023-12-26 Thread Yeting Kuo via cfe-commits
https://github.com/yetingk approved this pull request. LGTM. https://github.com/llvm/llvm-project/pull/76422 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Remove redundant variable Log2LMUL from vset intrinsic. NFC (PR #76422)

2023-12-26 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v @llvm/pr-subscribers-clang Author: Jim Lin (tclin914) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/76422.diff 1 Files Affected: - (modified) clang/include/clang/Basic/riscv_vector.td (+3-5) ``diff diff

[clang] [RISCV] Remove redundant variable Log2LMUL from vset intrinsic. NFC (PR #76422)

2023-12-26 Thread Jim Lin via cfe-commits
https://github.com/tclin914 created https://github.com/llvm/llvm-project/pull/76422 None >From 460d1b9ece1fb208047a8c35088bd5dcb12279b2 Mon Sep 17 00:00:00 2001 From: Jim Lin Date: Wed, 27 Dec 2023 11:19:21 +0800 Subject: [PATCH] [RISCV] Remove redundant variable Log2LMUL for vset intrinsic.

[clang] [llvm] [RISCV][MC] Add support for experimental Zcmop extension (PR #76395)

2023-12-26 Thread Wang Pengcheng via cfe-commits
https://github.com/wangpc-pp updated https://github.com/llvm/llvm-project/pull/76395 >From 20fd01b09bb196cf53807b44161482d56a43920b Mon Sep 17 00:00:00 2001 From: wangpc Date: Tue, 26 Dec 2023 20:46:13 +0800 Subject: [PATCH 1/3] [RISCV][MC] Add support for experimental Zcmop extension This

[clang] [llvm] [X86] Remove RAO-INT from Grandridge (PR #76420)

2023-12-26 Thread Shengchen Kan via cfe-commits
https://github.com/KanRobert approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/76420 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [X86] Remove RAO-INT from Grandridge (PR #76420)

2023-12-26 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 @llvm/pr-subscribers-clang Author: Freddy Ye (FreddyLeaf) Changes According to latest spec: https://cdrdv2.intel.com/v1/dl/getContent/671368 --- Full diff: https://github.com/llvm/llvm-project/pull/76420.diff 3 Files Affected: -

[clang] [llvm] [X86] Remove RAO-INT from Grandridge (PR #76420)

2023-12-26 Thread Freddy Ye via cfe-commits
https://github.com/FreddyLeaf created https://github.com/llvm/llvm-project/pull/76420 According to latest spec: https://cdrdv2.intel.com/v1/dl/getContent/671368 >From ae1d12c24facb36323b9b46a73a1fbc3edff4dc8 Mon Sep 17 00:00:00 2001 From: Freddy Ye Date: Wed, 27 Dec 2023 10:33:30 +0800

[clang] [llvm] [X86] Correct operand order of UWRMSR. (PR #76389)

2023-12-26 Thread Freddy Ye via cfe-commits
FreddyLeaf wrote: https://github.com/llvm/llvm-project/assets/64940021/9b7acece-cbbe-453e-b913-9b13a6f79b56;> CCMP is already disclosed in https://cdrdv2.intel.com/v1/dl/getContent/784266 https://github.com/llvm/llvm-project/pull/76389 ___

[clang] [RISCV][Clang] Remove -save-restore from default features. (PR #76390)

2023-12-26 Thread Yeting Kuo via cfe-commits
https://github.com/yetingk closed https://github.com/llvm/llvm-project/pull/76390 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] ce0c149 - [RISCV][Clang] Remove -save-restore from default features. (#76390)

2023-12-26 Thread via cfe-commits
Author: Yeting Kuo Date: 2023-12-27T09:12:35+08:00 New Revision: ce0c149f65d9fe708b91610fb94d3db443247262 URL: https://github.com/llvm/llvm-project/commit/ce0c149f65d9fe708b91610fb94d3db443247262 DIFF: https://github.com/llvm/llvm-project/commit/ce0c149f65d9fe708b91610fb94d3db443247262.diff

[clang] [llvm] [RISCV][MC] Add support for experimental Zcmop extension (PR #76395)

2023-12-26 Thread Kito Cheng via cfe-commits
@@ -693,6 +693,13 @@ def HasStdExtZimop : Predicate<"Subtarget->hasStdExtZimop()">, AssemblerPredicate<(all_of FeatureStdExtZimop), "'Zimop' (May-Be-Operations)">; +def FeatureStdExtZcmop :

[llvm] [clang] [X86] Correct operand order of UWRMSR. (PR #76389)

2023-12-26 Thread Freddy Ye via cfe-commits
https://github.com/FreddyLeaf closed https://github.com/llvm/llvm-project/pull/76389 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 8ddb0fc - [X86] Correct operand order of UWRMSR. (#76389)

2023-12-26 Thread via cfe-commits
Author: Freddy Ye Date: 2023-12-27T09:01:55+08:00 New Revision: 8ddb0fcff9ec73aeef20b1288b4ab5e03cd0bd56 URL: https://github.com/llvm/llvm-project/commit/8ddb0fcff9ec73aeef20b1288b4ab5e03cd0bd56 DIFF: https://github.com/llvm/llvm-project/commit/8ddb0fcff9ec73aeef20b1288b4ab5e03cd0bd56.diff

[clang] [clang-cl] document correct defaults for `-fms-compatibility-version` / `-fmsc-version` (PR #76418)

2023-12-26 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (h-vetinari) Changes The UserManual states wrongly (AFAICT) that these default are not being defined for clang-cl, whereas further up the opposite is stated:

[clang] [clang-cl] document correct defaults for `-fms-compatibility-version` / `-fmsc-version` (PR #76418)

2023-12-26 Thread via cfe-commits
https://github.com/h-vetinari created https://github.com/llvm/llvm-project/pull/76418 The UserManual states wrongly (AFAICT) that these default are not being defined for clang-cl, whereas further up the opposite is stated:

[clang] [llvm] [RISCV][MC] Add support for experimental Zcmop extension (PR #76395)

2023-12-26 Thread Craig Topper via cfe-commits
@@ -0,0 +1,30 @@ +//===-- RISCVInstrInfoZcmop.td -*- tablegen -*-===// +// +// 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] [llvm] [RISCV][MC] Add support for experimental Zcmop extension (PR #76395)

2023-12-26 Thread Craig Topper via cfe-commits
@@ -693,6 +693,13 @@ def HasStdExtZimop : Predicate<"Subtarget->hasStdExtZimop()">, AssemblerPredicate<(all_of FeatureStdExtZimop), "'Zimop' (May-Be-Operations)">; +def FeatureStdExtZcmop :

[clang] [llvm] [RISCV][MC] Add support for experimental Zcmop extension (PR #76395)

2023-12-26 Thread Craig Topper via cfe-commits
@@ -693,6 +693,13 @@ def HasStdExtZimop : Predicate<"Subtarget->hasStdExtZimop()">, AssemblerPredicate<(all_of FeatureStdExtZimop), "'Zimop' (May-Be-Operations)">; +def FeatureStdExtZcmop :

[clang] [Clang] Implement the 'counted_by' attribute (PR #76348)

2023-12-26 Thread Bill Wendling via cfe-commits
https://github.com/bwendling edited https://github.com/llvm/llvm-project/pull/76348 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV][Clang] Remove -save-restore from default features. (PR #76390)

2023-12-26 Thread Craig Topper via cfe-commits
https://github.com/topperc approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/76390 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][StaticAnalyzer] adding timingasafe* api calls interception. (PR #76414)

2023-12-26 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 @llvm/pr-subscribers-clang Author: David CARLIER (devnexen) Changes timingsafe_bcmp and timingsafe_memcmp have the same signature as their counterparts. --- Full diff: https://github.com/llvm/llvm-project/pull/76414.diff 1

[clang] [clang][StaticAnalyzer] adding timingasafe* api calls interception. (PR #76414)

2023-12-26 Thread David CARLIER via cfe-commits
https://github.com/devnexen created https://github.com/llvm/llvm-project/pull/76414 timingsafe_bcmp and timingsafe_memcmp have the same signature as their counterparts. >From eacd951c068cdc25b025a4234bc34e846a3676b1 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Tue, 26 Dec 2023 22:22:32

[lld] [mlir] [clang] [llvm] [compiler-rt] [hwasan] Make stack variables output consistent with globals (PR #76197)

2023-12-26 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka closed https://github.com/llvm/llvm-project/pull/76197 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Fix handling of C-Style variable definition of a struct (PR #76344)

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

[clang] [clang-format] Fix handling of C-Style variable definition of a struct (PR #76344)

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

[clang-tools-extra] [clangd][SymbolCollector] Treat ObjC methods as spelled (PR #76410)

2023-12-26 Thread David Goldman via cfe-commits
https://github.com/DavidGoldman updated https://github.com/llvm/llvm-project/pull/76410 >From 4caf5b3c779bf18236b4b0be5bc7147d10339f2b Mon Sep 17 00:00:00 2001 From: David Goldman Date: Tue, 26 Dec 2023 15:59:01 -0500 Subject: [PATCH 1/2] [clangd][SymbolCollector] Treat ObjC methods as spelled

[clang-tools-extra] [clangd][SymbolCollector] Treat ObjC methods as spelled (PR #76410)

2023-12-26 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 8b485070844d03cda467e75aa8c924184ba671cf 4caf5b3c779bf18236b4b0be5bc7147d10339f2b --

[clang-tools-extra] [clangd][SymbolCollector] Treat ObjC methods as spelled (PR #76410)

2023-12-26 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: David Goldman (DavidGoldman) Changes We'll treat multi-arg methods as spelled once we have full rename support for them. --- Full diff: https://github.com/llvm/llvm-project/pull/76410.diff 2 Files Affected: - (modified)

[clang-tools-extra] [clangd][SymbolCollector] Treat ObjC methods as spelled (PR #76410)

2023-12-26 Thread David Goldman via cfe-commits
https://github.com/DavidGoldman created https://github.com/llvm/llvm-project/pull/76410 We'll treat multi-arg methods as spelled once we have full rename support for them. >From 4caf5b3c779bf18236b4b0be5bc7147d10339f2b Mon Sep 17 00:00:00 2001 From: David Goldman Date: Tue, 26 Dec 2023

[llvm] [clang] [libunwind] [clang-tools-extra] [libunwind] Replace process_vm_readv with SYS_rt_sigprocmask (PR #74791)

2023-12-26 Thread Jordan R AW via cfe-commits
ajordanr-google wrote: Hmm. It looks like `[[maybe_unused]]` is still disallowed... https://github.com/llvm/llvm-project/pull/74791 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [libcxx] [clang] [mlir] [compiler-rt] [sanitizers] Optimize locking StackDepotBase for fork (PR #76280)

2023-12-26 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka closed https://github.com/llvm/llvm-project/pull/76280 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [FuncAttrs] Infer `norecurse` for funcs with calls to `nocallback` callees (PR #76372)

2023-12-26 Thread Yingwei Zheng via cfe-commits
https://github.com/dtcxzyw closed https://github.com/llvm/llvm-project/pull/76372 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 4358e6e - [FuncAttrs] Infer `norecurse` for funcs with calls to `nocallback` callees (#76372)

2023-12-26 Thread via cfe-commits
Author: Yingwei Zheng Date: 2023-12-27T03:16:43+08:00 New Revision: 4358e6e0c5b1f08de60b6b2fb015a06ab6760ee7 URL: https://github.com/llvm/llvm-project/commit/4358e6e0c5b1f08de60b6b2fb015a06ab6760ee7 DIFF: https://github.com/llvm/llvm-project/commit/4358e6e0c5b1f08de60b6b2fb015a06ab6760ee7.diff

[clang] [libcxx] [llvm] [mlir] [compiler-rt] [sanitizers] Optimize locking StackDepotBase for fork (PR #76280)

2023-12-26 Thread Kirill Stoimenov via cfe-commits
https://github.com/kstoimenov approved this pull request. https://github.com/llvm/llvm-project/pull/76280 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

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

[clang] [clang-format] Fix handling of C-Style variable definition of a struct (PR #76344)

2023-12-26 Thread via cfe-commits
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/76344 >From a55c720f344645bdad3838aaa39b136c8b8ee6dc Mon Sep 17 00:00:00 2001 From: XDeme Date: Sun, 24 Dec 2023 20:18:02 -0300 Subject: [PATCH 1/3] [clang-format] Fix handling of C-Style variable definition of a struct

[clang] [clang-format] Fix handling of C-Style variable definition of a struct (PR #76344)

2023-12-26 Thread via cfe-commits
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/76344 >From a55c720f344645bdad3838aaa39b136c8b8ee6dc Mon Sep 17 00:00:00 2001 From: XDeme Date: Sun, 24 Dec 2023 20:18:02 -0300 Subject: [PATCH 1/2] [clang-format] Fix handling of C-Style variable definition of a struct

[clang] [clang-format] Add .clang-format.ignore for ignoring files (PR #76327)

2023-12-26 Thread Owen Pan via cfe-commits
https://github.com/owenca updated https://github.com/llvm/llvm-project/pull/76327 >From 4afd12db61528b40d842a7fbee9af37c2235822c Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Sun, 24 Dec 2023 01:18:55 -0800 Subject: [PATCH 1/6] [clang-format] Add .clang-format.ignore for ignoring files

[clang] [clang-format] Add .clang-format.ignore for ignoring files (PR #76327)

2023-12-26 Thread Owen Pan via cfe-commits
@@ -570,6 +571,74 @@ static int dumpConfig(bool IsSTDIN) { return 0; } +// Check whether `FilePath` is ignored according to the nearest +// .clang-format-ignore file based on the rules below: +// - A blank line is skipped. +// - Leading and trailing spaces of a line are

[llvm] [clang] [FuncAttrs] Infer `norecurse` for funcs with calls to `nocallback` callees (PR #76372)

2023-12-26 Thread Nikita Popov via cfe-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/76372 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-12-26 Thread Piotr Zegar via cfe-commits
https://github.com/PiotrZSL closed https://github.com/llvm/llvm-project/pull/75701 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-12-26 Thread via cfe-commits
Author: Sirui Mu Date: 2023-12-26T15:49:41+01:00 New Revision: aca3727e97bced3e98f8e0719de95c93034a97d2 URL: https://github.com/llvm/llvm-project/commit/aca3727e97bced3e98f8e0719de95c93034a97d2 DIFF: https://github.com/llvm/llvm-project/commit/aca3727e97bced3e98f8e0719de95c93034a97d2.diff

[clang] [llvm] [RISCV][MC] Add support for experimental Zcmop extension (PR #76395)

2023-12-26 Thread Yeting Kuo via cfe-commits
@@ -693,6 +693,13 @@ def HasStdExtZimop : Predicate<"Subtarget->hasStdExtZimop()">, AssemblerPredicate<(all_of FeatureStdExtZimop), "'Zimop' (May-Be-Operations)">; +def FeatureStdExtZcmop :

[llvm] [clang] [RISCV][MC] Add support for experimental Zcmop extension (PR #76395)

2023-12-26 Thread Yeting Kuo via cfe-commits
https://github.com/yetingk edited https://github.com/llvm/llvm-project/pull/76395 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV][MC] Add support for experimental Zcmop extension (PR #76395)

2023-12-26 Thread Yeting Kuo via cfe-commits
https://github.com/yetingk edited https://github.com/llvm/llvm-project/pull/76395 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [FuncAttrs] Infer `norecurse` for funcs with calls to `nocallback` callees (PR #76372)

2023-12-26 Thread Yingwei Zheng via cfe-commits
dtcxzyw wrote: > There is a failing clang test. Fixed. https://github.com/llvm/llvm-project/pull/76372 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [FuncAttrs] Infer `norecurse` for funcs with calls to `nocallback` callees (PR #76372)

2023-12-26 Thread Yingwei Zheng via cfe-commits
https://github.com/dtcxzyw updated https://github.com/llvm/llvm-project/pull/76372 >From 5ceb22715cdcfc52b77b451110295ea083c09327 Mon Sep 17 00:00:00 2001 From: Yingwei Zheng Date: Tue, 26 Dec 2023 05:10:06 +0800 Subject: [PATCH] [FuncAttrs] Infer `norecurse` for funcs with calls to

[clang] [llvm] [RISCV][MC] Add support for experimental Zcmop extension (PR #76395)

2023-12-26 Thread Yeting Kuo via cfe-commits
https://github.com/yetingk edited https://github.com/llvm/llvm-project/pull/76395 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV][MC] Add support for experimental Zcmop extension (PR #76395)

2023-12-26 Thread Yeting Kuo via cfe-commits
@@ -0,0 +1,30 @@ +//===-- RISCVInstrInfoZcmop.td -*- tablegen -*-===// +// +// 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] [llvm] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-12-26 Thread Yeting Kuo via cfe-commits
@@ -0,0 +1,71 @@ +//===-- RISCVInstrInfoZicfiss.td - RISC-V Zicfiss -*- tablegen -*--===// +// +// 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:

[llvm] [clang] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-12-26 Thread Wang Pengcheng via cfe-commits
@@ -0,0 +1,71 @@ +//===-- RISCVInstrInfoZicfiss.td - RISC-V Zicfiss -*- tablegen -*--===// +// +// 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:

[llvm] [clang] [RISCV][MC] Add support for experimental Zcmop extension (PR #76395)

2023-12-26 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-support Author: Wang Pengcheng (wangpc-pp) Changes This implements experimental support for the Zcmop extension as specified here: https://github.com/riscv/riscv-isa-manual/blob/main/src/zimop.adoc. This change adds only MC support. --- Full

[llvm] [clang] [RISCV][MC] Add support for experimental Zcmop extension (PR #76395)

2023-12-26 Thread Wang Pengcheng via cfe-commits
https://github.com/wangpc-pp created https://github.com/llvm/llvm-project/pull/76395 This implements experimental support for the Zcmop extension as specified here: https://github.com/riscv/riscv-isa-manual/blob/main/src/zimop.adoc. This change adds only MC support. >From

[llvm] [clang] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-12-26 Thread Wang Pengcheng via cfe-commits
@@ -0,0 +1,71 @@ +//===-- RISCVInstrInfoZicfiss.td - RISC-V Zicfiss -*- tablegen -*--===// +// +// 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] [RISCV][Clang] Remove -save-restore from default features. (PR #76390)

2023-12-26 Thread Yeting Kuo via cfe-commits
https://github.com/yetingk updated https://github.com/llvm/llvm-project/pull/76390 >From 71c202c4f16451f7d0d9e17239f95418ea315c0a Mon Sep 17 00:00:00 2001 From: Yeting Kuo Date: Tue, 26 Dec 2023 02:11:30 -0800 Subject: [PATCH] [RISCV][Clang] Remove default feature -save-restore. It's

[clang] [RISCV][Clang] Remove -save-restore from default features. (PR #76390)

2023-12-26 Thread Yeting Kuo via cfe-commits
https://github.com/yetingk edited https://github.com/llvm/llvm-project/pull/76390 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-12-26 Thread Yeting Kuo via cfe-commits
@@ -0,0 +1,71 @@ +//===-- RISCVInstrInfoZicfiss.td - RISC-V Zicfiss -*- tablegen -*--===// +// +// 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-tools-extra] [clang-tidy] Treat fields in anonymous records as names in enclosing scope when checking name styles (PR #75701)

2023-12-26 Thread Sirui Mu via cfe-commits
https://github.com/Lancern updated https://github.com/llvm/llvm-project/pull/75701 >From 5d04ca8091fc81fad8e33355a0afcce290bf34f0 Mon Sep 17 00:00:00 2001 From: Sirui Mu Date: Sat, 16 Dec 2023 21:55:24 +0800 Subject: [PATCH 1/5] [clang-tidy] Check anonymous record field naming in enclosing

[llvm] [clang] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-12-26 Thread Wang Pengcheng via cfe-commits
@@ -0,0 +1,71 @@ +//===-- RISCVInstrInfoZicfiss.td - RISC-V Zicfiss -*- tablegen -*--===// +// +// 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-tools-extra] [clang-tidy] Treat fields in anonymous records as names in enclosing scope when checking name styles (PR #75701)

2023-12-26 Thread Piotr Zegar via cfe-commits
https://github.com/PiotrZSL approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/75701 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-12-26 Thread Piotr Zegar via cfe-commits
https://github.com/PiotrZSL edited https://github.com/llvm/llvm-project/pull/75701 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-12-26 Thread Piotr Zegar via cfe-commits
@@ -207,6 +208,31 @@ After if AggressiveDependentMemberLookup is `true`: } }; +.. option:: CheckAnonFieldInParent + +When set to `true`, fields in anonymous records (i.e. anonymous +unions and structs) will be treated as names in the enclosing scope +

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

2023-12-26 Thread Piotr Zegar via cfe-commits
@@ -207,6 +208,31 @@ After if AggressiveDependentMemberLookup is `true`: } }; +.. option:: CheckAnonFieldInParent + +When set to `true`, fields in anonymous records (i.e. anonymous +unions and structs) will be treated as names in the enclosing scope +

[clang] [Clang] support vector subscript expressions in constant evaluator (WIP) (PR #76379)

2023-12-26 Thread Vikram Hegde via cfe-commits
https://github.com/vikramRH updated https://github.com/llvm/llvm-project/pull/76379 >From 89c79eea31d1a9ec0656fbf5c4eacf75b2471034 Mon Sep 17 00:00:00 2001 From: Vikram Date: Wed, 20 Dec 2023 05:36:40 + Subject: [PATCH] [Clang] support vector subscript expressions in constant evaluator

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

2023-12-26 Thread Vladislav Dzhidzhoev via cfe-commits
dzhidzhoev wrote: @dwblaikie Could you please take a look at this when you have a chance? https://github.com/llvm/llvm-project/pull/75385 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [RISCV][Clang] Remove default feature -save-restore. (PR #76390)

2023-12-26 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver @llvm/pr-subscribers-clang @llvm/pr-subscribers-backend-risc-v Author: Yeting Kuo (yetingk) Changes It's unnecessary to defaultly pass feature `-save-restore`, since risc-v backend defaultly disables save-restore functionality. --- Full

[clang] [RISCV][Clang] Remove default feature -save-restore. (PR #76390)

2023-12-26 Thread Yeting Kuo via cfe-commits
https://github.com/yetingk created https://github.com/llvm/llvm-project/pull/76390 It's unnecessary to defaultly pass feature `-save-restore`, since risc-v backend defaultly disables save-restore functionality. >From 97fe56d808f1752ac4b7d26deecabb857e0a4208 Mon Sep 17 00:00:00 2001 From:

[clang-tools-extra] 583a258 - [clang-tidy] Don't replace typedefs in extern c scope (#69102)

2023-12-26 Thread Piotr Zegar via cfe-commits
Author: Da-Viper Date: 2023-12-26T09:36:07Z New Revision: 583a2583bb5f53b7b2cbd3d2043c0b2ac286464f URL: https://github.com/llvm/llvm-project/commit/583a2583bb5f53b7b2cbd3d2043c0b2ac286464f DIFF: https://github.com/llvm/llvm-project/commit/583a2583bb5f53b7b2cbd3d2043c0b2ac286464f.diff LOG:

[clang-tools-extra] 7a48039 - [clang-tidy] Fix compilation of modernize-use-using check

2023-12-26 Thread Piotr Zegar via cfe-commits
Author: Piotr Zegar Date: 2023-12-26T10:20:10Z New Revision: 7a48039eb79fc887f473e80618b6bc98effea077 URL: https://github.com/llvm/llvm-project/commit/7a48039eb79fc887f473e80618b6bc98effea077 DIFF: https://github.com/llvm/llvm-project/commit/7a48039eb79fc887f473e80618b6bc98effea077.diff LOG:

[llvm] [clang] [X86] Correct operand order of UWRMSR. (PR #76389)

2023-12-26 Thread Shengchen Kan via cfe-commits
https://github.com/KanRobert approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/76389 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [libcxxabi] [libcxx] [llvm] [clang] [libc++] [libc++abi] Initialize exception directly in make_exception_ptr if __cxa_init_primary_exception is available in ABI-library (PR #65534)

2023-12-26 Thread via cfe-commits
itrofimow wrote: I've addressed/answered inline comments and the build is finally green. I'm not particularly in love with declaring `__cxa_allocate_exception`, `__cxa_free_exception` and `__cxa_init_primary_exception` in `exception_ptr.h`, but i find it's better than including whole

[clang-tools-extra] [libcxxabi] [libcxx] [llvm] [clang] [libc++] [libc++abi] Initialize exception directly in make_exception_ptr if __cxa_init_primary_exception is available in ABI-library (PR #65534)

2023-12-26 Thread via cfe-commits
@@ -51,11 +71,25 @@ class _LIBCPP_EXPORTED_FROM_ABI exception_ptr { template _LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep __e) _NOEXCEPT { # ifndef _LIBCPP_HAS_NO_EXCEPTIONS +#if _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION + using _Ep2 =

[clang] [llvm] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-12-26 Thread Yeting Kuo via cfe-commits
yetingk wrote: Rebase. > It seems that the author of Zimop implementation doesn't have commit access. > @yetingk Would you mind to commit it and rebase your PR on that? It will make > this PR simpler. It's weird that `SSPUSH` and `SSPOPCHK` are not fit into `mop.r` instruction now.

[clang] [llvm] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-12-26 Thread Yeting Kuo via cfe-commits
https://github.com/yetingk updated https://github.com/llvm/llvm-project/pull/66043 >From 99d35bbe5bab93b4a39a436d1bc9626e68c401ef Mon Sep 17 00:00:00 2001 From: Yeting Kuo Date: Tue, 12 Sep 2023 12:28:00 +0800 Subject: [PATCH] [RISCV] Add MC layer support for Zicfiss. The patch adds the

[clang] [llvm] [X86] Correct operand order of UWRMSR. (PR #76389)

2023-12-26 Thread Freddy Ye via cfe-commits
https://github.com/FreddyLeaf updated https://github.com/llvm/llvm-project/pull/76389 >From 36e618e3b4eb083510de80c9ee6c0732948f3bc5 Mon Sep 17 00:00:00 2001 From: Freddy Ye Date: Tue, 26 Dec 2023 16:39:21 +0800 Subject: [PATCH 1/2] [X86] Correct operand order of UWRMSR. ---

[clang-tools-extra] 34621aa - Revert "[clang-tidy] Don't replace typedefs in extern c scope (#69102)"

2023-12-26 Thread Piotr Zegar via cfe-commits
Author: Piotr Zegar Date: 2023-12-26T09:35:18Z New Revision: 34621aa81f63812b31d1356030e9d74ce59e56fc URL: https://github.com/llvm/llvm-project/commit/34621aa81f63812b31d1356030e9d74ce59e56fc DIFF: https://github.com/llvm/llvm-project/commit/34621aa81f63812b31d1356030e9d74ce59e56fc.diff LOG:

[clang] [clang-format] Add .clang-format.ignore for ignoring files (PR #76327)

2023-12-26 Thread Owen Pan via cfe-commits
https://github.com/owenca updated https://github.com/llvm/llvm-project/pull/76327 >From 4afd12db61528b40d842a7fbee9af37c2235822c Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Sun, 24 Dec 2023 01:18:55 -0800 Subject: [PATCH 1/5] [clang-format] Add .clang-format.ignore for ignoring files

[clang] [clang-format] Add .clang-format.ignore for ignoring files (PR #76327)

2023-12-26 Thread Owen Pan via cfe-commits
https://github.com/owenca updated https://github.com/llvm/llvm-project/pull/76327 >From 4afd12db61528b40d842a7fbee9af37c2235822c Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Sun, 24 Dec 2023 01:18:55 -0800 Subject: [PATCH 1/4] [clang-format] Add .clang-format.ignore for ignoring files

[clang] [clang-format] Add .clang-format.ignore for ignoring files (PR #76327)

2023-12-26 Thread Owen Pan via cfe-commits
@@ -0,0 +1,31 @@ +// RUN: rm -rf %t.dir +// RUN: mkdir -p %t.dir/level1/level2 + +// RUN: cd %t.dir +// RUN: printf "%%s\n" "\*" "level*/*.c*" "*/*2/foo.*" > .clang-format-ignore owenca wrote: ```suggestion // RUN: echo "*" > .clang-format-ignore // RUN: echo

[clang] [clang-format] Add .clang-format.ignore for ignoring files (PR #76327)

2023-12-26 Thread Owen Pan via cfe-commits
@@ -0,0 +1,31 @@ +// RUN: rm -rf %t.dir +// RUN: mkdir -p %t.dir/level1/level2 + +// RUN: cd %t.dir +// RUN: printf "%%s\n" "\*" "level*/*.c*" "*/*2/foo.*" > .clang-format-ignore +// RUN: touch foo.cc +// RUN: clang-format -verbose .clang-format-ignore foo.cc 2> %t.stderr +//

[llvm] [clang-tools-extra] [clang] Fix #35272: Don't replace typedefs in extern c scope (PR #69102)

2023-12-26 Thread Piotr Zegar via cfe-commits
https://github.com/PiotrZSL closed https://github.com/llvm/llvm-project/pull/69102 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] 9dcc665 - [clang-tidy] Don't replace typedefs in extern c scope (#69102)

2023-12-26 Thread via cfe-commits
Author: Da-Viper Date: 2023-12-26T10:27:10+01:00 New Revision: 9dcc66578e12ad8e72c8ae7216122a1125976ac5 URL: https://github.com/llvm/llvm-project/commit/9dcc66578e12ad8e72c8ae7216122a1125976ac5 DIFF: https://github.com/llvm/llvm-project/commit/9dcc66578e12ad8e72c8ae7216122a1125976ac5.diff

  1   2   >