[clang] [libcxx] [lld] [llvm] [compiler-rt] [flang] [libcxxabi] [openmp] [polly] [clang-tools-extra] [lldb] [libunwind] [mlir] [libc] Make clang report invalid target versions. (PR #75373)

2024-01-08 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 01/14] Make clang report garbage target versions. Clang always s

[mlir] [polly] [clang-tools-extra] [llvm] [libcxx] [flang] [libunwind] [openmp] [lldb] [compiler-rt] [libcxxabi] [lld] [libc] [clang] Make clang report invalid target versions. (PR #75373)

2024-01-08 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 01/15] Make clang report garbage target versions. Clang always s

[clang-tools-extra] a0ae525 - [clang-tidy]unused using decls only check cpp files (#77335)

2024-01-08 Thread via cfe-commits
Author: Congcong Cai Date: 2024-01-09T08:01:57+08:00 New Revision: a0ae5258065a856d5f8d9f8dcb12e9d8394f789f URL: https://github.com/llvm/llvm-project/commit/a0ae5258065a856d5f8d9f8dcb12e9d8394f789f DIFF: https://github.com/llvm/llvm-project/commit/a0ae5258065a856d5f8d9f8dcb12e9d8394f789f.diff

[llvm] [clang-tools-extra] [PGO] Sampled instrumentation in PGO to speed up instrumentation binary (PR #69535)

2024-01-08 Thread via cfe-commits
https://github.com/xur-llvm updated https://github.com/llvm/llvm-project/pull/69535 >From 62728756fd56e3427376268c4178765950a27636 Mon Sep 17 00:00:00 2001 From: Rong Xu Date: Wed, 18 Oct 2023 15:13:15 -0700 Subject: [PATCH] [PGO] Sampled instrumentation in PGO to speed up instrumentation bina

[llvm] [clang] [SPARC] Consume `tune-cpu` directive in the backend (PR #77195)

2024-01-08 Thread via cfe-commits
@@ -5119,7 +5119,7 @@ def module_file_info : Flag<["-"], "module-file-info">, Flags<[]>, HelpText<"Provide information about a particular module file">; def mthumb : Flag<["-"], "mthumb">, Group; def mtune_EQ : Joined<["-"], "mtune=">, Group, - HelpText<"Only supported on A

[flang] [libunwind] [libcxxabi] [openmp] [compiler-rt] [clang-tools-extra] [libcxx] [polly] [llvm] [lldb] [libc] [lld] [mlir] [clang] Make clang report invalid target versions. (PR #75373)

2024-01-08 Thread via cfe-commits
https://github.com/pirama-arumuga-nainar approved this pull request. Please also wait for @MaskRay's LGTM before merging. https://github.com/llvm/llvm-project/pull/75373 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi

[llvm] [clang] [SPARC] Consume `tune-cpu` directive in the backend (PR #77195)

2024-01-08 Thread via cfe-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/77195 >From 119bf3db5799f3db2c7fd151f336c6d688a0eb96 Mon Sep 17 00:00:00 2001 From: Koakuma Date: Sat, 6 Jan 2024 19:46:56 +0700 Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?UTF-8?q?i

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

2024-01-08 Thread via cfe-commits
hstk30-hw wrote: > There are some typos in the commit message and in the PR title. @vhscampos Check again. Fixed the typos. https://github.com/llvm/llvm-project/pull/75440 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/

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

2024-01-08 Thread via cfe-commits
https://github.com/HaohaiWen closed https://github.com/llvm/llvm-project/pull/76278 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 7dd2063 - Improve modeling of 'getcwd' in the StdLibraryFunctionsChecker (#77040)

2024-01-08 Thread via cfe-commits
Author: Ben Shi Date: 2024-01-09T09:27:57+08:00 New Revision: 7dd20637c801b429f2dd1040941d00141459d64e URL: https://github.com/llvm/llvm-project/commit/7dd20637c801b429f2dd1040941d00141459d64e DIFF: https://github.com/llvm/llvm-project/commit/7dd20637c801b429f2dd1040941d00141459d64e.diff LOG:

[polly] [libunwind] [flang] [compiler-rt] [clang] [libc] [mlir] [libcxx] [libcxxabi] [openmp] [lld] [llvm] [lldb] [clang-tools-extra] Make clang report invalid target versions. (PR #75373)

2024-01-08 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 01/15] Make clang report garbage target versions. Clang always s

[flang] [libcxxabi] [llvm] [clang-tools-extra] [clang] [lld] [libcxx] [polly] [lldb] [compiler-rt] [libunwind] [mlir] [libc] [openmp] Make clang report invalid target versions. (PR #75373)

2024-01-08 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 01/16] Make clang report garbage target versions. Clang always s

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

2024-01-08 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 1/8] [libc++] Implement ranges::contains_subrange --- libcxx/i

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

2024-01-08 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 1/9] [libc++] Implement ranges::contains_subrange --- libcxx/i

[compiler-rt] [openmp] [clang-tools-extra] [llvm] [clang] [flang] [OpenMP][libomptarget] Enable automatic unified shared memory executi… (PR #75999)

2024-01-08 Thread via cfe-commits
carlobertolli wrote: As noted by a question during the review process, the test for zero-copy does not apply to dGPUs, including the gfx906 that runs the bbot. I will add an environment variable that allows users to turn on automatic zero-copy on any GPU, but that is not necessary if the syste

[clang-tools-extra] [libc] [libcxxabi] [mlir] [lldb] [libcxx] [llvm] [flang] [lld] [compiler-rt] [clang] [Mips] Fix unable to handle inline assembly ends with compat-branch o… (PR #77291)

2024-01-08 Thread via cfe-commits
https://github.com/yingopq updated https://github.com/llvm/llvm-project/pull/77291 >From 7689da7ccdfc9ce255339d8ee1e2ab3d41c9f3ee Mon Sep 17 00:00:00 2001 From: Ying Huang Date: Mon, 8 Jan 2024 17:50:15 +0800 Subject: [PATCH] [Mips] Fix unable to handle inline assembly ends with compat-branch

[clang] 49c35f6 - [CMake] Add support for building on illumos (#74930)

2024-01-08 Thread via cfe-commits
Author: Brad Smith Date: 2024-01-08T23:28:04-05:00 New Revision: 49c35f69ac6884a07f07e7c09ca7b79282707f49 URL: https://github.com/llvm/llvm-project/commit/49c35f69ac6884a07f07e7c09ca7b79282707f49 DIFF: https://github.com/llvm/llvm-project/commit/49c35f69ac6884a07f07e7c09ca7b79282707f49.diff LO

[clang] [clang-format] Fix crash involving array designators and dangling comma (PR #77045)

2024-01-08 Thread via cfe-commits
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/77045 >From d9cbbe48b96d27bff3fc926b60d039ed05f00489 Mon Sep 17 00:00:00 2001 From: XDeme Date: Fri, 5 Jan 2024 01:23:16 -0300 Subject: [PATCH 1/5] [clang-format] Fix crash involving array designators and dangling comma

[clang] [clang-format] Fix crash involving array designators and dangling comma (PR #77045)

2024-01-08 Thread via cfe-commits
@@ -1444,16 +1444,26 @@ WhitespaceManager::CellDescriptions WhitespaceManager::getCells(unsigned Start, } else if (C.Tok->is(tok::comma)) { if (!Cells.empty()) Cells.back().EndIndex = i; -if (C.Tok->getNextNonComment()->isNot(tok::r_brace)) // d

[clang] f6dbd4c - Make clang report invalid target versions. (#75373)

2024-01-08 Thread via cfe-commits
Author: ZijunZhaoCCK Date: 2024-01-08T20:46:05-08:00 New Revision: f6dbd4cc5f52b6d40f98cf09af22b276b8e1f289 URL: https://github.com/llvm/llvm-project/commit/f6dbd4cc5f52b6d40f98cf09af22b276b8e1f289 DIFF: https://github.com/llvm/llvm-project/commit/f6dbd4cc5f52b6d40f98cf09af22b276b8e1f289.diff

[lld] [lldb] [llvm] [polly] [libcxxabi] [openmp] [libcxx] [libc] [mlir] [flang] [compiler-rt] [libunwind] [clang] [clang-tools-extra] Make clang report invalid target versions. (PR #75373)

2024-01-08 Thread via cfe-commits
https://github.com/ZijunZhaoCCK closed 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] [clang-format] Fix crash involving array designators and dangling comma (PR #77045)

2024-01-08 Thread via cfe-commits
https://github.com/XDeme edited https://github.com/llvm/llvm-project/pull/77045 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 782c525 - [OpenMP] Patch for Support to loop bind clause : Checking Parent Region (#76938)

2024-01-08 Thread via cfe-commits
Author: SunilKuravinakop Date: 2024-01-09T11:14:56+05:30 New Revision: 782c5250077cf472941f0ab7555f87ff22d6e724 URL: https://github.com/llvm/llvm-project/commit/782c5250077cf472941f0ab7555f87ff22d6e724 DIFF: https://github.com/llvm/llvm-project/commit/782c5250077cf472941f0ab7555f87ff22d6e724.di

[lld] [clang] [llvm] Support .note.gnu.property for enable Zicfiss and Zicfilp extension (PR #77414)

2024-01-08 Thread via cfe-commits
https://github.com/SuHo-llrr created https://github.com/llvm/llvm-project/pull/77414 Emit Zicfiss/Zicfilp to .note.gnu.property sections 1. for spec v0.4.0 Zicifss/Zicfilp is AND feature means that all objects need to have this feature. 2. Emit note section when Zicifss/Zicfilp extension is en

[lld] [clang] [llvm] Support .note.gnu.property for enable Zicfiss and Zicfilp extension (PR #77414)

2024-01-08 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

[lld] [clang] [llvm] Support .note.gnu.property for enable Zicfiss and Zicfilp extension (PR #77414)

2024-01-08 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 2bc93584f5193d78177273c45c82ea69675f44e7 478e5c7c91e7d28448f1e64affcfcc3c28db9106 --

[libunwind] [libunwind] Add length info for dynamic .eh_frame registration (PR #77185)

2024-01-08 Thread via cfe-commits
https://github.com/SihangZhu updated https://github.com/llvm/llvm-project/pull/77185 >From 8d718a7deee63482091f96c5b10bc085d66b2f1a Mon Sep 17 00:00:00 2001 From: SihangZhu Date: Sat, 6 Jan 2024 15:43:41 +0800 Subject: [PATCH] [libunwind] Add length info for .eh_frame registration --- libunwi

[libunwind] [libunwind] Add length info for dynamic .eh_frame registration (PR #77185)

2024-01-08 Thread via cfe-commits
https://github.com/SihangZhu updated https://github.com/llvm/llvm-project/pull/77185 >From 98c824926af0b42d267b76f1c2416173b55138c4 Mon Sep 17 00:00:00 2001 From: SihangZhu Date: Sat, 6 Jan 2024 15:43:41 +0800 Subject: [PATCH] [libunwind] fix dynamic .eh_frame registration --- libunwind/src/l

[libunwind] [libunwind] fix dynamic .eh_frame registration (PR #77185)

2024-01-08 Thread via cfe-commits
https://github.com/SihangZhu edited https://github.com/llvm/llvm-project/pull/77185 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang]use correct this scope to evaluate noexcept expr (PR #77416)

2024-01-08 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Congcong Cai (HerrCai0907) Changes Fixes: #77411 When substituting deduced type, noexcept expr in method should be instantiated and evaluated. ThisScrope should be switched to method context instead of origin sema context --- Full diff: h

[clang] [clang]use correct this scope to evaluate noexcept expr (PR #77416)

2024-01-08 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 0930f62cf600d9e2e9a45fef1b3a422d50be89d5 0637a482c881f5ce31fd1debbc8dcc40a05c66ba --

[llvm] [compiler-rt] [clang-tools-extra] [clang] fix wrong links in documentation (PR #76502)

2024-01-08 Thread via cfe-commits
https://github.com/cor3ntin closed https://github.com/llvm/llvm-project/pull/76502 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang]use correct this scope to evaluate noexcept expr (PR #77416)

2024-01-08 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/77416 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Update cxx_dr_status.html (PR #77372)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. Can you modify the commit message to reference the issue list version (113) and maybe link to it ? Otherwise LGTM https://github.com/llvm/llvm-project/pull/77372 ___ cfe-commits mailing list cfe-

[clang] c6bb89f - [clang] Fix assertion failure when initializing union with FAM (#77298)

2024-01-09 Thread via cfe-commits
Author: Nikita Popov Date: 2024-01-09T09:18:07+01:00 New Revision: c6bb89f308c6715edf3f35fb7c6257713ecfc614 URL: https://github.com/llvm/llvm-project/commit/c6bb89f308c6715edf3f35fb7c6257713ecfc614 DIFF: https://github.com/llvm/llvm-project/commit/c6bb89f308c6715edf3f35fb7c6257713ecfc614.diff

[clang] db78c30 - [RISCV] Deduplicate RISCVISAInfo::toFeatures/toFeatureVector. NFC (#76942)

2024-01-09 Thread via cfe-commits
Author: Luke Lau Date: 2024-01-09T15:33:51+07:00 New Revision: db78c30ba772af1466bb0d0c1d376c8e642ee4a9 URL: https://github.com/llvm/llvm-project/commit/db78c30ba772af1466bb0d0c1d376c8e642ee4a9 DIFF: https://github.com/llvm/llvm-project/commit/db78c30ba772af1466bb0d0c1d376c8e642ee4a9.diff LOG:

[clang] [llvm] [RISCV] Add experimental support of Zaamo and Zalrsc (PR #77424)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-mc Author: Wang Pengcheng (wangpc-pp) Changes `A` extension has been split into two parts: Zaamo (Atomic Memory Operations) and Zalrsc (Load-Reserved/Store-Conditional). See also https://github.com/riscv/riscv-zaamo-zalrsc. Th

[clang] [RISCV] Overwrite cpu target features for full arch string in target attribute (PR #77426)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Luke Lau (lukel97) Changes This patch reworks RISCVTargetInfo::initFeatureMap to fix the issue described in https://github.com/llvm/llvm-project/pull/74889#pullrequestreview-1773445559 (and is an alternative to #75804) When a full arch str

[clang] [lldb] [clang-tools-extra] [Clang] [c++20] P1907R1: Support for generalized non-type template ar… (PR #77428)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin created https://github.com/llvm/llvm-project/pull/77428 …guments of scalar type Initially https://reviews.llvm.org/D140996 Author: @bolshakov-a I do not plan to work on this, but I'm trying to salvage what I can from phabricator. This review, is completely gone. I

[clang-tools-extra] [lldb] [clang] [Clang] [c++20] P1907R1: Support for generalized non-type template ar… (PR #77428)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-lldb @llvm/pr-subscribers-clang Author: cor3ntin (cor3ntin) Changes …guments of scalar type Initially https://reviews.llvm.org/D140996 Author: @bolshakov-a I do not plan to work on this, but I'm trying to salvage what I can from phabricator. This rev

[clang] b81ba52 - Set dllstorage on ObjectiveC ivar offsets (#77385)

2024-01-09 Thread via cfe-commits
Author: Frederik Carlier Date: 2024-01-09T09:15:01Z New Revision: b81ba52e15d95c3353489d4ce2f61c3771714c28 URL: https://github.com/llvm/llvm-project/commit/b81ba52e15d95c3353489d4ce2f61c3771714c28 DIFF: https://github.com/llvm/llvm-project/commit/b81ba52e15d95c3353489d4ce2f61c3771714c28.diff L

[clang] 414ea3a - [AST] Teach TextNodeDumper to print the "implicit" bit for coroutine AST nodes (#77311)

2024-01-09 Thread via cfe-commits
Author: Haojian Wu Date: 2024-01-09T10:32:06+01:00 New Revision: 414ea3a77181ef01d2cc2ad34950fc1c03ce0d41 URL: https://github.com/llvm/llvm-project/commit/414ea3a77181ef01d2cc2ad34950fc1c03ce0d41 DIFF: https://github.com/llvm/llvm-project/commit/414ea3a77181ef01d2cc2ad34950fc1c03ce0d41.diff LO

[clang] [clang][Parser] Pop scope prior VarDecl invalidating by invalid init (PR #77434)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Ding Fei (danix800) Changes Invalid (direct) initializer would invalid `VarDecl` so `InitializerScopeRAII` cannot restore scope stack balance. As with other kind of initializer, `InitializerScopeRAII::pop()` is moved up before `Sema::Act

[clang] [clang][analyzer] Implement modeling of 'fputc' in the StdLibraryFunctionsChecker (PR #77435)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Ben Shi (benshi001) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/77435.diff 3 Files Affected: - (modified) clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp (+14) - (modified) clang/test/Analysis/In

[mlir] [clang] [llvm] [flang] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF (PR #77328)

2024-01-09 Thread via cfe-commits
https://github.com/muneebkhan85 updated https://github.com/llvm/llvm-project/pull/77328 >From 91418f78aad0c994a49e9305516bd6bbb3d69d65 Mon Sep 17 00:00:00 2001 From: Muneeb Khan Date: Tue, 7 Nov 2023 23:52:17 +0800 Subject: [PATCH 01/13] [MLIR][LLVM] Add Continuous Loop Peeling transform to SC

[clang] c7d404e - [clang] Update cxx_dr_status.html (#77372)

2024-01-09 Thread via cfe-commits
Author: Vlad Serebrennikov Date: 2024-01-09T14:52:05+04:00 New Revision: c7d404ea728f1f74d6bacd3dec3ebfa28ac6a0a5 URL: https://github.com/llvm/llvm-project/commit/c7d404ea728f1f74d6bacd3dec3ebfa28ac6a0a5 DIFF: https://github.com/llvm/llvm-project/commit/c7d404ea728f1f74d6bacd3dec3ebfa28ac6a0a5.

[clang] 4f68ee3 - [ARM] arm_acle.h add Coprocessor Instrinsics (#75440)

2024-01-09 Thread via cfe-commits
Author: hstk30-hw Date: 2024-01-09T19:04:29+08:00 New Revision: 4f68ee36fc80212fe5d31085ac2d8503630d99cc URL: https://github.com/llvm/llvm-project/commit/4f68ee36fc80212fe5d31085ac2d8503630d99cc DIFF: https://github.com/llvm/llvm-project/commit/4f68ee36fc80212fe5d31085ac2d8503630d99cc.diff LOG

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

2024-01-09 Thread via cfe-commits
https://github.com/hstk30-hw closed https://github.com/llvm/llvm-project/pull/75440 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libunwind] [libunwind] fix dynamic .eh_frame registration (PR #77185)

2024-01-09 Thread via cfe-commits
SihangZhu wrote: > As @arichardson noted this would break the ABI. > > The best solution is to fix the implementation of > `__unw_add_dynamic_eh_frame_section` (and > `__unw_remove_dynamic_eh_frame_section`) as described in [#76957 > (comment)](https://github.com/llvm/llvm-project/issues/7695

[clang] [clang] Add tests for DRs about complete-class context (PR #77444)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Vlad Serebrennikov (Endilll) Changes [P1787](https://wg21.link/p1787): The intent for CWG2335 (contra those of the older CWG1890, CWG1626, CWG1255, and CWG287) is supported by retaining the unrestricted forward lookup in complete-class co

[clang] [clang][ASTImporter] Fix import of variable template redeclarations. (PR #72841)

2024-01-09 Thread via cfe-commits
=?utf-8?q?Balázs_Kéri?= , =?utf-8?q?Balázs_Kéri?= Message-ID: In-Reply-To: @@ -6245,17 +6245,21 @@ ExpectedDecl ASTNodeImporter::VisitVarTemplateDecl(VarTemplateDecl *D) { D->getTemplatedDecl())) continue; if (IsSt

[clang] 19870ed - [X86] Emit Warnings for frontend options to enable knl/knm specific ISAs. (#75580)

2024-01-09 Thread via cfe-commits
Author: Freddy Ye Date: 2024-01-09T19:43:14+08:00 New Revision: 19870ed9c3238f348bf82dcc2b2e0a2894536874 URL: https://github.com/llvm/llvm-project/commit/19870ed9c3238f348bf82dcc2b2e0a2894536874 DIFF: https://github.com/llvm/llvm-project/commit/19870ed9c3238f348bf82dcc2b2e0a2894536874.diff LOG

[clang] [clang][ExtractAPI] Add support C unions in non C++ parsing mode (PR #77451)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Daniel Grumberg (daniel-grumberg) Changes Ensure that we generate correct symbol kinds and declaration fragments for unions in C and Objective-C parsing modes. rdar://120544091 --- Patch is 26.16 KiB, truncated to 20.00 KiB below, full

[clang] [clang][ASTImporter] Improve import of friend class templates. (PR #74627)

2024-01-09 Thread via cfe-commits
=?utf-8?q?Balázs_Kéri?= , =?utf-8?q?Balázs_Kéri?= Message-ID: In-Reply-To: @@ -5919,15 +5919,26 @@ ExpectedDecl ASTNodeImporter::VisitClassTemplateDecl(ClassTemplateDecl *D) { if (ToD) return ToD; - bool IsFriendTemplate = D->getFriendObjectKind() != Decl::FOK_None;

[clang] [clang][ASTImporter] Improve import of friend class templates. (PR #74627)

2024-01-09 Thread via cfe-commits
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= , =?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= Message-ID: In-Reply-To: https://github.com/NagyDonat commented: Generally LGTM, except for one suspicious statement. https://github.com/llvm/llvm-project/pull/74627 ___ cfe-commi

[clang] [clang][ASTImporter] Improve import of friend class templates. (PR #74627)

2024-01-09 Thread via cfe-commits
=?utf-8?q?Balázs_Kéri?= , =?utf-8?q?Balázs_Kéri?= Message-ID: In-Reply-To: https://github.com/NagyDonat edited https://github.com/llvm/llvm-project/pull/74627 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mail

[clang] [clang][dataflow] Add an early-out to `flowConditionImplies()` / `flowConditionAllows()`. (PR #77453)

2024-01-09 Thread via cfe-commits
https://github.com/martinboehme created https://github.com/llvm/llvm-project/pull/77453 This saves having to assemble the set of constraints and run the SAT solver in the trivial case where `F` is true. This is a performance win on the benchmarks for the Crubit nullability checker: ``` name

[clang] [clang][dataflow] Add an early-out to `flowConditionImplies()` / `flowConditionAllows()`. (PR #77453)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-analysis Author: None (martinboehme) Changes This saves having to assemble the set of constraints and run the SAT solver in the trivial case where `F` is true. This is a performance win on the benchmarks for the Crubit nullability checker: ``` na

[clang] [clang][dataflow] Add an early-out to `flowConditionImplies()` / `flowConditionAllows()`. (PR #77453)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (martinboehme) Changes This saves having to assemble the set of constraints and run the SAT solver in the trivial case where `F` is true. This is a performance win on the benchmarks for the Crubit nullability checker: ``` name

[clang] fix: no update cursor pos in sort includes if no replacement (PR #77456)

2024-01-09 Thread via cfe-commits
https://github.com/NorthBlue333 created https://github.com/llvm/llvm-project/pull/77456 Hello, This PR should fix https://github.com/llvm/llvm-project/issues/77450. I have not added tests though. Also, a similar fix might be required on `sortJavaImports`. >From 85c70c24aaf02008a4d4f949ae6b7fab

[clang] [coroutine] Suppress unreachable-code warning on coroutine statements. (PR #77454)

2024-01-09 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 a529b6eaf05d24518bbe0f0a5539c378252d2671 3d7d3e5e5bc613637cb019e5e370654e0c58b5cd --

[clang] fix: no update cursor pos in sort includes if no replacement (PR #77456)

2024-01-09 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] fix: no update cursor pos in sort includes if no replacement (PR #77456)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: None (NorthBlue333) Changes Hello, This PR should fix https://github.com/llvm/llvm-project/issues/77450. I have not added tests though. Also, a similar fix might be required on `sortJavaImports`. --- Full diff: https://github.com/l

[clang] fix: no update cursor pos in sort includes if no replacement (PR #77456)

2024-01-09 Thread via cfe-commits
https://github.com/NorthBlue333 updated https://github.com/llvm/llvm-project/pull/77456 >From 0f3a904018d761f52adb3430d551c06e7529f187 Mon Sep 17 00:00:00 2001 From: NorthBlue333 <43409865+northblue...@users.noreply.github.com> Date: Tue, 9 Jan 2024 13:25:55 +0100 Subject: [PATCH] [clang-format]

[llvm] [mlir] [clang] fix: no update cursor pos in sort includes if no replacement (PR #77456)

2024-01-09 Thread via cfe-commits
https://github.com/NorthBlue333 updated https://github.com/llvm/llvm-project/pull/77456 >From 0f3a904018d761f52adb3430d551c06e7529f187 Mon Sep 17 00:00:00 2001 From: NorthBlue333 <43409865+northblue...@users.noreply.github.com> Date: Tue, 9 Jan 2024 13:25:55 +0100 Subject: [PATCH] [clang-format]

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

2024-01-09 Thread via cfe-commits
dyung wrote: Hi @david-arm, the test you added, byte-compare-index.ll seems to be failing on several bots, can you take a look? For example on https://lab.llvm.org/buildbot/#/builders/139/builds/56740: ``` TEST 'LLVM :: Transforms/LoopIdiom/AArch64/byte-compare-index.ll' F

[clang] [coroutine] Suppress unreachable-code warning on coroutine statements. (PR #77454)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Haojian Wu (hokein) Changes This fixes #69219. Consider an example: ``` CoTask my_coroutine() { std::abort(); co_return 1; // unreachable code warning. } ``` Clang emits a CFG-based unreachable warning on the `co_return` statemen

[clang] d9710d7 - [Flang][Driver] Enable gpulibc/nogpulibc options for Flang, which allows linking of GPU LIBC for the fortran and OpenMP runtime (#77135)

2024-01-09 Thread via cfe-commits
Author: agozillon Date: 2024-01-09T13:54:44+01:00 New Revision: d9710d7624171ff3d476925da0f4670c2c9a34cd URL: https://github.com/llvm/llvm-project/commit/d9710d7624171ff3d476925da0f4670c2c9a34cd DIFF: https://github.com/llvm/llvm-project/commit/d9710d7624171ff3d476925da0f4670c2c9a34cd.diff LOG

[flang] [clang] [Flang][Driver] Enable gpulibc/nogpulibc options for Flang, which allows linking of GPU LIBC for the fortran and OpenMP runtime (PR #77135)

2024-01-09 Thread via cfe-commits
https://github.com/agozillon closed https://github.com/llvm/llvm-project/pull/77135 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] fix: no update cursor pos in sort includes if no replacement (PR #77456)

2024-01-09 Thread via cfe-commits
https://github.com/NorthBlue333 updated https://github.com/llvm/llvm-project/pull/77456 >From 48907435d55bf30ad6fb730784f4f6cdaf1be6a9 Mon Sep 17 00:00:00 2001 From: NorthBlue333 Date: Tue, 9 Jan 2024 14:01:14 +0100 Subject: [PATCH] [clang-format] Do not update cursor pos if no includes replac

[clang] [clang-format] Do not update cursor pos if no includes replacement (PR #77456)

2024-01-09 Thread via cfe-commits
https://github.com/NorthBlue333 edited https://github.com/llvm/llvm-project/pull/77456 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AST] Mark the fallthrough coreturn statement implicit. (PR #77465)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-coroutines Author: Haojian Wu (hokein) Changes --- Patch is 157.19 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/77465.diff 2 Files Affected: - (modified) clang/lib/Sema/SemaCoroutine.cpp (+1-1) - (mod

[clang] [clang-format] Do not update cursor pos if no includes replacement (PR #77456)

2024-01-09 Thread via cfe-commits
https://github.com/NorthBlue333 updated https://github.com/llvm/llvm-project/pull/77456 >From 897c90c09f24b6fd8b0c84b57a284cabb77c9e80 Mon Sep 17 00:00:00 2001 From: NorthBlue333 Date: Tue, 9 Jan 2024 14:01:14 +0100 Subject: [PATCH] [clang-format] Do not update cursor pos if no includes replac

[clang] [clang-format] Do not update cursor pos if no includes replacement (PR #77456)

2024-01-09 Thread via cfe-commits
https://github.com/NorthBlue333 edited https://github.com/llvm/llvm-project/pull/77456 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Do not update cursor pos if no includes replacement (PR #77456)

2024-01-09 Thread via cfe-commits
https://github.com/NorthBlue333 updated https://github.com/llvm/llvm-project/pull/77456 >From 263996dbd680d529f54ec576c29f210cd6904926 Mon Sep 17 00:00:00 2001 From: NorthBlue333 Date: Tue, 9 Jan 2024 14:01:14 +0100 Subject: [PATCH] [clang-format] Do not update cursor pos if no includes replac

[clang] [ClangFormat] Fix formatting bugs. (PR #76245)

2024-01-09 Thread via cfe-commits
https://github.com/r4nt updated https://github.com/llvm/llvm-project/pull/76245 >From 52cb11f0279dbd9f65f15e81f44869cfac00d544 Mon Sep 17 00:00:00 2001 From: Manuel Klimek Date: Thu, 2 Mar 2023 14:00:35 + Subject: [PATCH 1/2] [ClangFormat] Fix formatting bugs. 1. There are multiple calls to

[clang] [clang-format] Do not update cursor pos if no includes replacement (PR #77456)

2024-01-09 Thread via cfe-commits
https://github.com/NorthBlue333 edited https://github.com/llvm/llvm-project/pull/77456 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ClangFormat] Fix formatting bugs. (PR #76245)

2024-01-09 Thread via cfe-commits
https://github.com/r4nt commented: Addressed review comments. https://github.com/llvm/llvm-project/pull/76245 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][analyzer] Add function 'ungetc' to StreamChecker. (PR #77331)

2024-01-09 Thread via cfe-commits
=?utf-8?q?Balázs_Kéri?= , =?utf-8?q?Balázs_Kéri?= Message-ID: In-Reply-To: NagyDonat wrote: Thanks for the update, I think it's reasonable to merge this after waiting a bit for potential other reviews. https://github.com/llvm/llvm-project/pull/77331 __

[clang] [clang][analyzer] Add function 'ungetc' to StreamChecker. (PR #77331)

2024-01-09 Thread via cfe-commits
=?utf-8?q?Balázs_Kéri?= , =?utf-8?q?Balázs_Kéri?= Message-ID: In-Reply-To: NagyDonat wrote: Thanks for the update, I think it's reasonable to merge this after waiting a bit for potential other reviews. https://github.com/llvm/llvm-project/pull/77331 __

[flang] [clang-tools-extra] [libc] [llvm] [clang] [libcxx] [compiler-rt] [libc++] Implement LWG3940: std::expected::value() also needs E to be copy constructible (PR #71819)

2024-01-09 Thread via cfe-commits
https://github.com/PragmaTwice updated https://github.com/llvm/llvm-project/pull/71819 >From 3e4b73d2aeac411a83dda5cd63eb0572499db467 Mon Sep 17 00:00:00 2001 From: PragmaTwice Date: Fri, 10 Nov 2023 00:50:24 +0900 Subject: [PATCH 1/9] [libc++] Implement LWG3940 (std::expected::value() also nee

[flang] [clang-tools-extra] [libc] [llvm] [clang] [libcxx] [compiler-rt] [libc++] Implement LWG3940: std::expected::value() also needs E to be copy constructible (PR #71819)

2024-01-09 Thread via cfe-commits
@@ -0,0 +1,51 @@ +//===--===// +// 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: Apache-2

[flang] [compiler-rt] [libc] [libcxx] [clang-tools-extra] [llvm] [clang] [libc++] Implement LWG3940: std::expected::value() also needs E to be copy constructible (PR #71819)

2024-01-09 Thread via cfe-commits
@@ -1150,12 +1150,15 @@ class expected<_Tp, _Err> { } _LIBCPP_HIDE_FROM_ABI constexpr void value() const& { +static_assert(is_copy_constructible_v<_Err>); if (!__has_val_) { std::__throw_bad_expected_access<_Err>(__union_.__unex_); } } _LIBCPP_

[flang] [compiler-rt] [libc] [libcxx] [clang-tools-extra] [llvm] [clang] [libc++] Implement LWG3940: std::expected::value() also needs E to be copy constructible (PR #71819)

2024-01-09 Thread via cfe-commits
PragmaTwice wrote: > > The CI finally passed now : ) > > Great. A few minor comment and then it LGTM. I'll leave the final approval to > @huixie90 Thank you! Comments has been addressed now. https://github.com/llvm/llvm-project/pull/71819 ___ cfe-co

[clang] [clang-format] TableGen keywords support. (PR #77477)

2024-01-09 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-format] TableGen keywords support. (PR #77477)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Hirofumi Nakamura (hnakamura5) Changes Add TableGen keywords to the additional keyword list of the formatter. This pull request is the splited part from https://github.com/llvm/llvm-project/pull/76059 . --- Full diff: https://gith

[clang] [clang][dataflow] Make cap on block visits configurable by caller. (PR #77481)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-analysis Author: Yitzhak Mandelbaum (ymand) Changes Previously, we hard-coded the cap on block visits inside the framework. This patch enables the caller to specify the cap in the APIs for running an analysis. --- Full

[clang] [clang][modules] Objective-C test lacks support on AIX/zOS (PR #77485)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-modules Author: Jake Egan (jakeegan) Changes To fix error: `fatal error: error in backend: Objective-C support is unimplemented for object file format` Same rationale as 22f01cd. --- Full diff: https://github.com/llvm/

[clang] [RISCV][clang] Optimize memory usage of intrinsic lookup table (PR #77487)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: Brandon Wu (4vtomat) Changes This patch optimize: 1. Reduce string size of RVVIntrinsicDef. 2. Reduce the type size of the index of intrinsics. I use valgrind --tool=massif to analyze a simple program: ``` #include

[clang] [RISCV][clang] Optimize memory usage of intrinsic lookup table (PR #77487)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Brandon Wu (4vtomat) Changes This patch optimize: 1. Reduce string size of RVVIntrinsicDef. 2. Reduce the type size of the index of intrinsics. I use valgrind --tool=massif to analyze a simple program: ``` #include vin

[clang] [Clang] Wide delimiters ('{{{') for expect strings (PR #77326)

2024-01-09 Thread via cfe-commits
https://github.com/sethp edited https://github.com/llvm/llvm-project/pull/77326 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Wide delimiters ('{{{') for expect strings (PR #77326)

2024-01-09 Thread via cfe-commits
https://github.com/sethp edited https://github.com/llvm/llvm-project/pull/77326 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 07c9189 - [PGO] Exposing PGO's Counter Reset and File Dumping APIs (#76471)

2024-01-09 Thread via cfe-commits
Author: Qiongsi Wu Date: 2024-01-09T10:38:17-05:00 New Revision: 07c9189fcc063bdf6219d2733843c89cde3991e1 URL: https://github.com/llvm/llvm-project/commit/07c9189fcc063bdf6219d2733843c89cde3991e1 DIFF: https://github.com/llvm/llvm-project/commit/07c9189fcc063bdf6219d2733843c89cde3991e1.diff LO

[clang-tools-extra] 07c9189 - [PGO] Exposing PGO's Counter Reset and File Dumping APIs (#76471)

2024-01-09 Thread via cfe-commits
Author: Qiongsi Wu Date: 2024-01-09T10:38:17-05:00 New Revision: 07c9189fcc063bdf6219d2733843c89cde3991e1 URL: https://github.com/llvm/llvm-project/commit/07c9189fcc063bdf6219d2733843c89cde3991e1 DIFF: https://github.com/llvm/llvm-project/commit/07c9189fcc063bdf6219d2733843c89cde3991e1.diff LO

[libunwind] ca06c33 - [libc++] Allow running the test suite with optimizations (#68753)

2024-01-09 Thread via cfe-commits
Author: Louis Dionne Date: 2024-01-09T10:39:14-05:00 New Revision: ca06c330fd07f05e65a638892c32ca1474d47b5e URL: https://github.com/llvm/llvm-project/commit/ca06c330fd07f05e65a638892c32ca1474d47b5e DIFF: https://github.com/llvm/llvm-project/commit/ca06c330fd07f05e65a638892c32ca1474d47b5e.diff

[clang] [clang-format] Fix crash involving array designators and dangling comma (PR #77045)

2024-01-09 Thread via cfe-commits
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/77045 >From d9cbbe48b96d27bff3fc926b60d039ed05f00489 Mon Sep 17 00:00:00 2001 From: XDeme Date: Fri, 5 Jan 2024 01:23:16 -0300 Subject: [PATCH 1/6] [clang-format] Fix crash involving array designators and dangling comma

[clang] [Clang] Wide delimiters ('{{{') for expect strings (PR #77326)

2024-01-09 Thread via cfe-commits
https://github.com/sethp updated https://github.com/llvm/llvm-project/pull/77326 >From cd0b9aed2d9e53f9b38aaa0f73336acae06bfbee Mon Sep 17 00:00:00 2001 From: Seth Pellegrino Date: Sat, 6 Jan 2024 07:54:31 -0800 Subject: [PATCH 1/4] [Clang] Wide delimiters ('{{{') for expect strings Prior to th

[clang] [clang-format] Fix crash involving array designators (PR #77045)

2024-01-09 Thread via cfe-commits
https://github.com/XDeme edited https://github.com/llvm/llvm-project/pull/77045 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Wide delimiters ('{{{') for expect strings (PR #77326)

2024-01-09 Thread via cfe-commits
@@ -3458,8 +3461,34 @@ A range can also be specified by ``-``. For example: In this example, the diagnostic may appear only once, if at all. +.. _DiagnosticMatching: + +Matching Modes +~~ + +The default matching mode is simple string, which looks for the expected

[clang] 4b7e861 - [clang]use correct this scope to evaluate noexcept expr (#77416)

2024-01-09 Thread via cfe-commits
Author: Congcong Cai Date: 2024-01-09T23:48:02+08:00 New Revision: 4b7e861d136d941d86b234fbcef520fd798b26fa URL: https://github.com/llvm/llvm-project/commit/4b7e861d136d941d86b234fbcef520fd798b26fa DIFF: https://github.com/llvm/llvm-project/commit/4b7e861d136d941d86b234fbcef520fd798b26fa.diff

<    48   49   50   51   52   53   54   55   56   57   >