[llvm] [clang] [RISCV][MC] MC layer support for the experimental zalasr extension (PR #69685)

2024-01-25 Thread Brendan Sweeney via cfe-commits
mehnadnerd wrote: Still needs tests for the lowering. https://github.com/llvm/llvm-project/pull/69685 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxxabi] [clang] [libc] [lld] [flang] [clang-tools-extra] [lldb] [libcxx] [compiler-rt] [llvm] [libclc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via cfe-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113 >From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Sun, 14 Jan 2024 14:13:08 + Subject: [PATCH 1/8] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation.

[clang] [libc] [lld] [flang] [clang-tools-extra] [lldb] [libcxx] [compiler-rt] [llvm] [VPlan] Implement cloning of VPlans. (PR #73158)

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

[compiler-rt] [libc] [lld] [clang-tools-extra] [libcxx] [lldb] [flang] [llvm] [clang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via cfe-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap &Old2Ne

[llvm] [flang] [libc] [clang] [libcxx] [lld] [clang-tools-extra] [lldb] [compiler-rt] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via cfe-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, ayalz wrote: Should `rema

[lld] [clang] [clang-tools-extra] [llvm] [libcxx] [lldb] [flang] [compiler-rt] [libc] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via cfe-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap &Old2Ne

[lld] [llvm] [clang] [compiler-rt] [lldb] [libc] [clang-tools-extra] [flang] [libcxx] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via cfe-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap &Old2Ne

[libc] [clang-tools-extra] [clang] [lld] [llvm] [libcxx] [compiler-rt] [lldb] [flang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via cfe-commits
@@ -614,6 +614,61 @@ void VPBasicBlock::print(raw_ostream &O, const Twine &Indent, printSuccessors(O, Indent); } #endif +static void cloneCFG(VPBlockBase *Entry, + DenseMap &Old2NewVPBlocks); + +static VPBlockBase *cloneVPB(VPBlockBase *BB) {

[lldb] [libc] [compiler-rt] [clang] [lld] [libcxx] [clang-tools-extra] [flang] [llvm] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via cfe-commits
https://github.com/ayalz commented: Few last minor comments. https://github.com/llvm/llvm-project/pull/73158 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] [compiler-rt] [lld] [libc] [flang] [lldb] [clang-tools-extra] [llvm] [clang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via cfe-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap &Old2Ne

[clang] [lld] [libclc] [libcxxabi] [libc] [libcxx] [clang-tools-extra] [flang] [llvm] [compiler-rt] [lldb] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via cfe-commits
@@ -491,17 +491,39 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[libc] [llvm] [lld] [lldb] [libcxx] [clang-tools-extra] [clang] [flang] [libcxxabi] [libclc] [compiler-rt] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via cfe-commits
https://github.com/fhahn edited https://github.com/llvm/llvm-project/pull/78113 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] [llvm] [libcxxabi] [clang] [clang-tools-extra] [flang] [libclc] [lld] [compiler-rt] [lldb] [libc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via cfe-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[compiler-rt] [libcxx] [llvm] [clang] [clang-tools-extra] [flang] [libc] [lld] [lldb] [libcxxabi] [libclc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via cfe-commits
@@ -491,17 +491,39 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[clang] [clang-tools-extra] [lld] [libcxxabi] [lldb] [llvm] [compiler-rt] [libc] [libcxx] [libclc] [flang] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via cfe-commits
https://github.com/fhahn commented: Missed comments should be addressed now, seems I missed them in the GitHub UI somehow https://github.com/llvm/llvm-project/pull/78113 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cg

[clang] [compiler-rt] [flang] [libcxx] [libc] [lldb] [lld] [libcxxabi] [llvm] [libclc] [clang-tools-extra] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via cfe-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[lld] [llvm] [clang] [flang] [libc] [libclc] [lldb] [libcxx] [libcxxabi] [clang-tools-extra] [compiler-rt] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via cfe-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[libcxxabi] [lld] [llvm] [lldb] [compiler-rt] [clang-tools-extra] [libc] [libclc] [flang] [libcxx] [clang] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via cfe-commits
@@ -491,17 +491,39 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[clang] [-Wcompletion-handler] Fix a non-termination issue (PR #78380)

2024-01-25 Thread Ziqing Luo via cfe-commits
ziqingluo-90 wrote: @SavchenkoValeriy, sorry for the late response. Your suggested fix works for my minimal example as well as my local project where this bug was originated. And I failed to come up with a new counter-example for the fix so I believe it will also prevent future non-terminatio

[compiler-rt] [lld] [lldb] [clang] [libcxx] [llvm] [libcxxabi] [flang] [clang-tools-extra] [libc] [libclc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via cfe-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113 >From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Sun, 14 Jan 2024 14:13:08 + Subject: [PATCH 1/8] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation.

[clang] [llvm] [RISCV][MC] MC layer support for the experimental zalasr extension (PR #69685)

2024-01-25 Thread Craig Topper via cfe-commits
@@ -228,6 +228,9 @@ The primary goal of experimental support is to assist in the process of ratifica ``experimental-zacas`` LLVM implements the `1.0-rc1 draft specification `_. +``experimental-zalasr`` + LLVM imp

[llvm] [clang] [RISCV][MC] MC layer support for the experimental zalasr extension (PR #69685)

2024-01-25 Thread Craig Topper via cfe-commits
@@ -0,0 +1,98 @@ +//===-- RISCVInstrInfoZalasr.td - RISC-V 'Zalasr' instructions ---*- 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-Ident

[llvm] [clang] [RISCV][MC] MC layer support for the experimental zalasr extension (PR #69685)

2024-01-25 Thread Craig Topper via cfe-commits
@@ -797,6 +797,13 @@ def FeatureStdExtSvpbmt : SubtargetFeature<"svpbmt", "HasStdExtSvpbmt", "true", "'Svpbmt' (Page-Based Memory Types)">; +def FeatureStdExtZalasr +: SubtargetFeature<"experimental-zalasr", "HasStdExtZalasr", "true", +

[llvm] [clang] [RISCV][MC] MC layer support for the experimental zalasr extension (PR #69685)

2024-01-25 Thread Craig Topper via cfe-commits
@@ -1120,6 +1121,14 @@ // RUN: -o - | FileCheck --check-prefix=CHECK-SMEPMP-EXT %s // CHECK-SMEPMP-EXT: __riscv_smepmp 100{{$}} +// RUN: %clang --target=riscv32 -menable-experimental-extensions \ +// RUN: -march=rv32i_zalasr1p0 -x c -E -dM %s \ topperc

[clang] [llvm] [RISCV][MC] MC layer support for the experimental zalasr extension (PR #69685)

2024-01-25 Thread Craig Topper via cfe-commits
@@ -105,22 +105,63 @@ defm AMOMAXU_D : AMO_rr_aq_rl<0b11100, 0b011, "amomaxu.d">, // Pseudo-instructions and codegen patterns //===--===// +// An atomic load operation that does not need either acquire or r

[llvm] [clang] [RISCV][MC] MC layer support for the experimental zalasr extension (PR #69685)

2024-01-25 Thread Craig Topper via cfe-commits
@@ -105,22 +105,63 @@ defm AMOMAXU_D : AMO_rr_aq_rl<0b11100, 0b011, "amomaxu.d">, // Pseudo-instructions and codegen patterns //===--===// +// An atomic load operation that does not need either acquire or r

[compiler-rt] [lld] [lldb] [clang] [libcxx] [llvm] [libcxxabi] [mlir] [flang] [clang-tools-extra] [libc] [libclc] [ELF] Add internal InputFile (PR #78944)

2024-01-25 Thread Andrew Ng via cfe-commits
nga888 wrote: Sorry for the delay to reply but I've been more busy of late. I can confirm that it was a downstream code path which was calling `getFile()` for a `SyntheticSection` that was causing the assertion. This downstream code was effectively ignoring a

[lld] [llvm] [clang] [flang] [libc] [libclc] [lldb] [libcxx] [libcxxabi] [clang-tools-extra] [compiler-rt] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

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

[compiler-rt] [lld] [lldb] [clang] [libcxx] [llvm] [libcxxabi] [flang] [clang-tools-extra] [libc] [libclc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread via cfe-commits
https://github.com/ayalz commented: Missing an update of ResultTy, and possibly some test(s)? https://github.com/llvm/llvm-project/pull/78113 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co

[flang] [llvm] [clang] [libclc] [libcxx] [libc] [libcxxabi] [clang-tools-extra] [compiler-rt] [lld] [lldb] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread via cfe-commits
@@ -491,17 +491,38 @@ void VPlanTransforms::removeDeadRecipes(VPlan &Plan) { static VPValue *createScalarIVSteps(VPlan &Plan, const InductionDescriptor &ID, ScalarEvolution &SE, Instruction *TruncI, -Type

[llvm] [clang] [lld] [SHT_LLVM_BB_ADDR_MAP] Allow basic-block-sections and labels be used together by decoupling the handling of the two features. (PR #74128)

2024-01-25 Thread Mircea Trofin via cfe-commits
@@ -858,62 +899,64 @@ struct BBAddrMap { bool hasIndirectBranch() const { return MD.HasIndirectBranch; } }; - BBAddrMap(uint64_t Addr, std::vector BBEntries) - : Addr(Addr), BBEntries(std::move(BBEntries)) {} + // Struct representing the BBAddrMap information for

[llvm] [lld] [clang] [SHT_LLVM_BB_ADDR_MAP] Allow basic-block-sections and labels be used together by decoupling the handling of the two features. (PR #74128)

2024-01-25 Thread Mircea Trofin via cfe-commits
@@ -858,62 +899,64 @@ struct BBAddrMap { bool hasIndirectBranch() const { return MD.HasIndirectBranch; } }; - BBAddrMap(uint64_t Addr, std::vector BBEntries) - : Addr(Addr), BBEntries(std::move(BBEntries)) {} + // Struct representing the BBAddrMap information for

[clang] [clang-tools-extra] [llvm] [DebugInfo][RemoveDIs] Add a DPValue implementation for instcombine sinking (PR #77930)

2024-01-25 Thread Jeremy Morse via cfe-commits
https://github.com/jmorse closed https://github.com/llvm/llvm-project/pull/77930 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [-Wcompletion-handler] Fix a non-termination issue (PR #78380)

2024-01-25 Thread Valeriy Savchenko via cfe-commits
https://github.com/SavchenkoValeriy approved this pull request. Awesome! Thank you for fixing the problem and for describing it so in detail. https://github.com/llvm/llvm-project/pull/78380 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https

[clang] Extend life of variables in `DiagComparison` in `ExprConstant` (PR #79522)

2024-01-25 Thread via cfe-commits
https://github.com/AdvenamTacet created https://github.com/llvm/llvm-project/pull/79522 This commit makes two variables static extending their life span. This patch is designed to address the issue of buildbots failing when AddressSanitizer's (ASan) short string annotations are enabled. It's e

[clang] Extend life of variables in `DiagComparison` in `ExprConstant` (PR #79522)

2024-01-25 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Tacet (AdvenamTacet) Changes This commit makes two variables static extending their life span. This patch is designed to address the issue of buildbots failing when AddressSanitizer's (ASan) short string annotations are enabled. It's esen

[clang] Extend life of variables in `DiagComparison` in `ExprConstant` (PR #79522)

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

[clang] Extend life of variables in `DiagComparison` in `ExprConstant` (PR #79522)

2024-01-25 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 e8a5010c0338357c08c740de121b660aa933d5f4 804b9c1bf634585537306ac092508e7eb4e7ca60 --

[libcxx] [llvm] [clang-tools-extra] [clang] [lldb] [flang] [openmp] [libc] [mlir] [BOLT] Deduplicate equal offsets in BAT (PR #76905)

2024-01-25 Thread Amir Ayupov via cfe-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/76905 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Extend life of variables in `DiagComparison` in `ExprConstant` (PR #79522)

2024-01-25 Thread via cfe-commits
https://github.com/AdvenamTacet updated https://github.com/llvm/llvm-project/pull/79522 >From dc2538405e6b0f8ea19af23783afabfb4721ce0c Mon Sep 17 00:00:00 2001 From: Advenam Tacet Date: Thu, 25 Jan 2024 23:07:48 +0100 Subject: [PATCH] Extend life of variables in `DiagComparison` in `ExprConsta

[libcxx] [llvm] [clang-tools-extra] [clang] [lldb] [flang] [openmp] [libc] [mlir] [BOLT] Deduplicate equal offsets in BAT (PR #76905)

2024-01-25 Thread Amir Ayupov via cfe-commits
https://github.com/aaupov closed https://github.com/llvm/llvm-project/pull/76905 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [SystemZ][z/OS] This change adds support for the PPA2 section in zOS (PR #68926)

2024-01-25 Thread Tom Stellard via cfe-commits
@@ -0,0 +1,31 @@ +; RUN: llc -mtriple s390x-ibm-zos -mcpu=z15 -asm-verbose=true < %s | FileCheck %s +; REQUIRES: systemz-registered-target + +; CHECK:.section".ppa2" +; CHECK: @@PPA2: +; CHECK:.byte 3 +; CHECK:.byte 231 +; CHECK:.byte 34 +; CHECK:.by

[clang] Revert "[Fix] Disable fdefine-target-os-macros for now" (PR #78353)

2024-01-25 Thread Zixu Wang via cfe-commits
zixu-w wrote: Hi @zmodem ! > Could you add a release note about this, explaining how it changes the macros > and what actions users should take? That's a good idea, I should be able to put something up. > > We've already seen that it broke zlib builds, and we're having issues with > libpng t

[clang] [clang][PP] Add extension to predefine target OS macros (PR #74676)

2024-01-25 Thread Zixu Wang via cfe-commits
zixu-w wrote: > Is the motivation for this change in behavior (on macOS) documented > somewhere? Besides zlib as already discussed above, pre-defining > `TARGET_OS_MAC` apparently at least also affects some libpng builds (and I > ultimately had to globally set `-fno-define-target-os-macros` fo

[clang] [llvm] [lld] [SHT_LLVM_BB_ADDR_MAP] Allow basic-block-sections and labels be used together by decoupling the handling of the two features. (PR #74128)

2024-01-25 Thread Rahman Lavaee via cfe-commits
@@ -858,62 +899,64 @@ struct BBAddrMap { bool hasIndirectBranch() const { return MD.HasIndirectBranch; } }; - BBAddrMap(uint64_t Addr, std::vector BBEntries) - : Addr(Addr), BBEntries(std::move(BBEntries)) {} + // Struct representing the BBAddrMap information for

[clang] [llvm] [clang][DependencyScanner] Remove unused -ivfsoverlay files (PR #73734)

2024-01-25 Thread Michael Spencer via cfe-commits
https://github.com/Bigcheese updated https://github.com/llvm/llvm-project/pull/73734 >From 0559ec44d2d3c39292bae6d6431dde9626ac755e Mon Sep 17 00:00:00 2001 From: Michael Spencer Date: Fri, 24 Feb 2023 17:18:51 -0800 Subject: [PATCH] [clang][DepScan] Remove unused -ivfsoverlay files `-ivfsover

[clang] Support C++20 Modules in clang-repl (PR #79261)

2024-01-25 Thread Nathan Chancellor via cfe-commits
nathanchance wrote: This is out of my wheelhouse to debug to be honest but it seems to me that `clang-repl` does not respect `LLVM_DEFAULT_TARGET_TRIPLE` somehow? This test does the same thing as other tests to build modules but this appears to be the only one that uses `clang-repl` to consume

[clang] [clang-tools-extra] [mlir] [llvm] [mlir][complex] Prevent underflow in complex.abs (PR #76316)

2024-01-25 Thread Kai Sasaki via cfe-commits
https://github.com/Lewuathe updated https://github.com/llvm/llvm-project/pull/76316 >From a5810363e546da073543cb2d62cceb956c46b2e6 Mon Sep 17 00:00:00 2001 From: Kai Sasaki Date: Fri, 15 Dec 2023 15:53:54 +0900 Subject: [PATCH 1/2] [mlir][complex] Prevent underflow in complex.abs --- .../Comp

[clang] [llvm] [RISCV][MC] MC layer support for the experimental zalasr extension (PR #69685)

2024-01-25 Thread Brendan Sweeney via cfe-commits
@@ -105,22 +105,63 @@ defm AMOMAXU_D : AMO_rr_aq_rl<0b11100, 0b011, "amomaxu.d">, // Pseudo-instructions and codegen patterns //===--===// +// An atomic load operation that does not need either acquire or r

[clang] [llvm] [RISCV][MC] MC layer support for the experimental zalasr extension (PR #69685)

2024-01-25 Thread Craig Topper via cfe-commits
@@ -105,22 +105,63 @@ defm AMOMAXU_D : AMO_rr_aq_rl<0b11100, 0b011, "amomaxu.d">, // Pseudo-instructions and codegen patterns //===--===// +// An atomic load operation that does not need either acquire or r

[clang] [llvm] [RISCV][MC] MC layer support for the experimental zalasr extension (PR #69685)

2024-01-25 Thread Brendan Sweeney via cfe-commits
@@ -105,22 +105,63 @@ defm AMOMAXU_D : AMO_rr_aq_rl<0b11100, 0b011, "amomaxu.d">, // Pseudo-instructions and codegen patterns //===--===// +// An atomic load operation that does not need either acquire or r

[clang] Add support for builtin_verbose_trap (PR #79230)

2024-01-25 Thread Konstantin Varlamov via cfe-commits
https://github.com/var-const edited https://github.com/llvm/llvm-project/pull/79230 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Add support for builtin_verbose_trap (PR #79230)

2024-01-25 Thread Konstantin Varlamov via cfe-commits
https://github.com/var-const commented: >From the libc++ perspective, the only substantial comment I have is that >ideally we need to make sure it's possible to pass long strings with arbitrary >characters as the string parameter (or, if it's infeasible to implement, we >need to document the l

[clang] Add support for builtin_verbose_trap (PR #79230)

2024-01-25 Thread Konstantin Varlamov via cfe-commits
@@ -346,6 +346,14 @@ class CGDebugInfo { const FieldDecl *BitFieldDecl, const llvm::DIDerivedType *BitFieldDI, llvm::ArrayRef PreviousFieldsDI, const RecordDecl *RD); + // A cache that maps artificial inlined function names used for + // __builtin_verbose_trap to

[clang] Add support for builtin_verbose_trap (PR #79230)

2024-01-25 Thread Konstantin Varlamov via cfe-commits
@@ -0,0 +1,28 @@ +// RUN: %clang_cc1 -std=c++11 -fsyntax-only -fcxx-exceptions -verify %s + +#if !__has_builtin(__builtin_verbose_trap) +#error +#endif + +constexpr char const* constMsg1 = "hello"; +char const* const constMsg2 = "hello"; +char const constMsg3[] = "hello"; + +templ

[clang-tools-extra] [lldb] [lld] [libc] [clang] [llvm] [libcxx] [flang] [compiler-rt] [mlir] [clang-format] Add ShortReturnTypeColumn option. (PR #78011)

2024-01-25 Thread via cfe-commits
https://github.com/rmarker updated https://github.com/llvm/llvm-project/pull/78011 >From c4d28f82e108f9f12ccd0375e2a3502025b8c1e8 Mon Sep 17 00:00:00 2001 From: rmarker Date: Thu, 11 Jan 2024 15:01:18 +1030 Subject: [PATCH 1/4] [clang-format] Add ShortReturnTypeLength option. --- clang/docs/C

[clang] [llvm] [SystemZ][z/OS] This change adds support for the PPA2 section in zOS (PR #68926)

2024-01-25 Thread via cfe-commits
@@ -0,0 +1,31 @@ +; RUN: llc -mtriple s390x-ibm-zos -mcpu=z15 -asm-verbose=true < %s | FileCheck %s +; REQUIRES: systemz-registered-target + +; CHECK:.section".ppa2" +; CHECK: @@PPA2: +; CHECK:.byte 3 +; CHECK:.byte 231 +; CHECK:.byte 34 +; CHECK:.by

[clang] [clang-tools-extra] [llvm] [flang] [mlir] [lldb] [mlir][complex] Prevent underflow in complex.abs (PR #76316)

2024-01-25 Thread Kai Sasaki via cfe-commits
https://github.com/Lewuathe updated https://github.com/llvm/llvm-project/pull/76316 >From a5810363e546da073543cb2d62cceb956c46b2e6 Mon Sep 17 00:00:00 2001 From: Kai Sasaki Date: Fri, 15 Dec 2023 15:53:54 +0900 Subject: [PATCH 1/2] [mlir][complex] Prevent underflow in complex.abs --- .../Comp

[clang] [UEFI] X86_64 UEFI Clang Driver (PR #76838)

2024-01-25 Thread Brad Smith via cfe-commits
brad0 wrote: Ping. https://github.com/llvm/llvm-project/pull/76838 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [llvm] [libc] [compiler-rt] [libcxx] [flang] [LoongArch] Fixing the incorrect return value of LoongArchTTIImpl::getRegisterBitWidth (PR #79441)

2024-01-25 Thread via cfe-commits
https://github.com/wangleiat updated https://github.com/llvm/llvm-project/pull/79441 >From 6231f5435a9735e6c9333c177f2e802a7ad1f901 Mon Sep 17 00:00:00 2001 From: wanglei Date: Thu, 25 Jan 2024 19:25:37 +0800 Subject: [PATCH] [LoongArch] Fixing the incorrect return value of LoongArchTTIImpl::g

[clang] Add support for builtin_verbose_trap (PR #79230)

2024-01-25 Thread Akira Hatanaka via cfe-commits
@@ -0,0 +1,28 @@ +// RUN: %clang_cc1 -std=c++11 -fsyntax-only -fcxx-exceptions -verify %s + +#if !__has_builtin(__builtin_verbose_trap) +#error +#endif + +constexpr char const* constMsg1 = "hello"; +char const* const constMsg2 = "hello"; +char const constMsg3[] = "hello"; + +templ

[clang] [clang-tools-extra] [llvm] [X86][GlobalISel] Remove G_OR/G_AND/G_XOR test duplication (NFC) (PR #79088)

2024-01-25 Thread Evgenii Kudriashov via cfe-commits
https://github.com/e-kud updated https://github.com/llvm/llvm-project/pull/79088 >From 8ba23b70c07f21be03102b2975046ca9a5afb90b Mon Sep 17 00:00:00 2001 From: Evgenii Kudriashov Date: Mon, 22 Jan 2024 18:00:19 -0800 Subject: [PATCH] [X86][GlobalISel] Remove G_OR/G_AND/G_XOR test duplication (NF

[clang-tools-extra] [clang] [llvm] Add clang-tidy check to suggest replacement of conditional statement with std::min/std::max (PR #77816)

2024-01-25 Thread Bhuminjay Soni via cfe-commits
11happy wrote: for last 2 days was stuck on these functional bugs but resolved them, and in these last 2 days got to learn a whole lot of things, understood clang,ast matchers in depth and finally resolved these two functional bugs. @felix642 , @PiotrZSL Can you please review it. Thank you. h

[clang] Extend life of variables in `DiagComparison` in `ExprConstant` (PR #79522)

2024-01-25 Thread via cfe-commits
https://github.com/AdvenamTacet updated https://github.com/llvm/llvm-project/pull/79522 >From dc2538405e6b0f8ea19af23783afabfb4721ce0c Mon Sep 17 00:00:00 2001 From: Advenam Tacet Date: Thu, 25 Jan 2024 23:07:48 +0100 Subject: [PATCH 1/2] Extend life of variables in `DiagComparison` in `ExprCo

[clang] [PowerPC] Diagnose invalid combination with Altivec, VSX and soft-float (PR #79109)

2024-01-25 Thread Chen Zheng via cfe-commits
chenzheng1030 wrote: > I don't have any further comments, so I think LGTM. Thanks Amy. https://github.com/llvm/llvm-project/pull/79109 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 4792f91 - [PowerPC] Diagnose invalid combination with Altivec, VSX and soft-float (#79109)

2024-01-25 Thread via cfe-commits
Author: Chen Zheng Date: 2024-01-26T09:28:31+08:00 New Revision: 4792f912b232141ecba4cbae538873be3c28556c URL: https://github.com/llvm/llvm-project/commit/4792f912b232141ecba4cbae538873be3c28556c DIFF: https://github.com/llvm/llvm-project/commit/4792f912b232141ecba4cbae538873be3c28556c.diff LO

[clang] [PowerPC] Diagnose invalid combination with Altivec, VSX and soft-float (PR #79109)

2024-01-25 Thread Chen Zheng via cfe-commits
https://github.com/chenzheng1030 closed https://github.com/llvm/llvm-project/pull/79109 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Add AllowStringArrays option to modernize-avoid-c-arrays (PR #71701)

2024-01-25 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 commented: I may not work for ```c++ void f(const char name[]); f("111"); ``` https://github.com/llvm/llvm-project/pull/71701 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailma

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

2024-01-25 Thread Brandon Wu via cfe-commits
@@ -464,7 +466,8 @@ void RISCVIntrinsicManagerImpl::CreateRVVIntrinsicDecl(LookupResult &LR, bool RISCVIntrinsicManagerImpl::CreateIntrinsicIfFound(LookupResult &LR, IdentifierInfo *II,

[flang] [clang-tools-extra] [libcxx] [libc] [llvm] [lld] [lldb] [clang] [compiler-rt] Make clang report invalid target versions for all environment types. (PR #78655)

2024-01-25 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/78655 >From f440f44e7e270d4636ad39f4e4223c904e496d3a Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Fri, 19 Jan 2024 00:47:05 + Subject: [PATCH 1/4] Make clang report invalid target versions for all environme

[flang] [clang-tools-extra] [libcxx] [libc] [llvm] [lld] [lldb] [clang] [compiler-rt] Make clang report invalid target versions for all environment types. (PR #78655)

2024-01-25 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/78655 >From f440f44e7e270d4636ad39f4e4223c904e496d3a Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Fri, 19 Jan 2024 00:47:05 + Subject: [PATCH 1/5] Make clang report invalid target versions for all environme

[clang] e6bafbe - [TableGen] Use StringRef::consume_{front, back} (NFC)

2024-01-25 Thread Kazu Hirata via cfe-commits
Author: Kazu Hirata Date: 2024-01-25T18:17:24-08:00 New Revision: e6bafbe72623b3f6fd974bd7f59f38c59f1e9df3 URL: https://github.com/llvm/llvm-project/commit/e6bafbe72623b3f6fd974bd7f59f38c59f1e9df3 DIFF: https://github.com/llvm/llvm-project/commit/e6bafbe72623b3f6fd974bd7f59f38c59f1e9df3.diff L

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

2024-01-25 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat updated https://github.com/llvm/llvm-project/pull/77487 >From 84ea759c43d8e9cb450d95d00fd802be622153a2 Mon Sep 17 00:00:00 2001 From: Brandon Wu Date: Sun, 7 Jan 2024 18:10:59 -0800 Subject: [PATCH 1/3] [RISCV][clang] Optimize memory usage of intrinsic lookup table

[libc] [llvm] [clang-tools-extra] [flang] [compiler-rt] [clang] [libcxx] [LoongArch] Fixing the incorrect return value of LoongArchTTIImpl::getRegisterBitWidth (PR #79441)

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

[clang] [llvm] [RISCV] Add missing dependency check for Zvkb (PR #79467)

2024-01-25 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat updated https://github.com/llvm/llvm-project/pull/79467 >From d451e89a2bf650d3af638a2d22582135ad53cc27 Mon Sep 17 00:00:00 2001 From: Brandon Wu Date: Thu, 25 Jan 2024 08:13:31 -0800 Subject: [PATCH] [RISCV] Add missing dependency check for Zvkb --- clang/test/Drive

[llvm] [clang] New calling convention preserve_none (PR #76868)

2024-01-25 Thread via cfe-commits
@@ -1056,6 +1056,23 @@ def CC_Intel_OCL_BI : CallingConv<[ CCDelegateTo ]>; +def CC_X86_64_Preserve_None : CallingConv<[ + // We don't preserve general registers, so all of them can be used to pass + // arguments except + // - RBPframe pointer + // - R10

[llvm] [clang] [CMake] Add a linker test for -Bsymbolic-functions to AddLLVM (PR #79539)

2024-01-25 Thread Brad Smith via cfe-commits
https://github.com/brad0 created https://github.com/llvm/llvm-project/pull/79539 Add a linker test for -Bsymbolic-functions to AddLLVM and remove the illumos hardcoded bits for its handling. OpenBSD also has a local patch for linking with the old BFD linker on mips64 and sparc64. >From 73eee521f

[llvm] [clang] [CMake] Add a linker test for -Bsymbolic-functions to AddLLVM (PR #79539)

2024-01-25 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Brad Smith (brad0) Changes Add a linker test for -Bsymbolic-functions to AddLLVM and remove the illumos hardcoded bits for its handling. OpenBSD also has a local patch for linking with the old BFD linker on mips64 and sparc64. --- Full dif

[clang] [llvm] [AMDGPU] Emit a waitcnt instruction after each memory instruction (PR #79236)

2024-01-25 Thread Tony Tye via cfe-commits
https://github.com/t-tye requested changes to this pull request. https://github.com/llvm/llvm-project/pull/79236 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [AMDGPU] Emit a waitcnt instruction after each memory instruction (PR #79236)

2024-01-25 Thread Tony Tye via cfe-commits
https://github.com/t-tye edited https://github.com/llvm/llvm-project/pull/79236 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AMDGPU] Emit a waitcnt instruction after each memory instruction (PR #79236)

2024-01-25 Thread Tony Tye via cfe-commits
@@ -641,6 +644,9 @@ class SIMemoryLegalizer final : public MachineFunctionPass { bool expandAtomicCmpxchgOrRmw(const SIMemOpInfo &MOI, MachineBasicBlock::iterator &MI); + bool GFX9InsertWaitcntForPreciseMem(MachineFunction &MF); -

[lldb] [lld] [clang-tools-extra] [mlir] [compiler-rt] [clang] [flang] [libclc] [libunwind] [llvm] [libcxx] [libc] [mlir][python] Fix generation of python bindings for async dialect (PR #75960)

2024-01-25 Thread Abhishek Kulkarni via cfe-commits
https://github.com/adk9 updated https://github.com/llvm/llvm-project/pull/75960 >From a43ef7289cd7f5353fc4b365566011b93879e8f6 Mon Sep 17 00:00:00 2001 From: Abhishek Kulkarni Date: Tue, 19 Dec 2023 10:50:26 -0800 Subject: [PATCH] Fix generation of python bindings for async dialect --- .../mli

[lldb] [lld] [clang-tools-extra] [mlir] [compiler-rt] [clang] [flang] [libclc] [libunwind] [llvm] [libcxx] [libc] [mlir][python] Fix generation of python bindings for `async` dialect (PR #75960)

2024-01-25 Thread Abhishek Kulkarni via cfe-commits
https://github.com/adk9 edited https://github.com/llvm/llvm-project/pull/75960 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] [clang] [clang-tools-extra] [lld] [libunwind] [lldb] [llvm] [compiler-rt] [mlir] [libc] [libclc] [flang] [mlir][python] Fix generation of Python bindings for `async` dialect (PR #75960)

2024-01-25 Thread Abhishek Kulkarni via cfe-commits
https://github.com/adk9 edited https://github.com/llvm/llvm-project/pull/75960 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] [libcxxabi] [clang-tools-extra] [clang] [lld] [lldb] [libunwind] [llvm] [compiler-rt] [mlir] [libc] [openmp] [flang] [clang] static operators should evaluate object argument (PR #68485)

2024-01-25 Thread Tianlan Zhou via cfe-commits
https://github.com/SuperSodaSea updated https://github.com/llvm/llvm-project/pull/68485 >From 03276260c48d9cafb2a0d80825156e77cdf02eba Mon Sep 17 00:00:00 2001 From: SuperSodaSea Date: Sat, 7 Oct 2023 21:05:17 +0800 Subject: [PATCH 01/15] [clang] static operators should evaluate object argumen

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

2024-01-25 Thread Craig Topper via cfe-commits
https://github.com/topperc approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/77487 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [RISCV] Relax march string order constraint (PR #78120)

2024-01-25 Thread Craig Topper via cfe-commits
https://github.com/topperc approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/78120 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Support __riscv_v_fixed_vlen for vbool types. (PR #76551)

2024-01-25 Thread Tianlan Zhou via cfe-commits
@@ -975,6 +975,8 @@ RISC-V Support - Default ABI with F but without D was changed to ilp32f for RV32 and to lp64f for RV64. +- ``__attribute__((rvv_vector_bits(N))) is now supported for RVV vbool*_t types. SuperSodaSea wrote: This line breaks the documenta

[llvm] [clang] [RISCV] Add missing dependency check for Zvkb (PR #79467)

2024-01-25 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat updated https://github.com/llvm/llvm-project/pull/79467 >From 6f16a5b2807e1cab5edae90f92cf0145474f4f23 Mon Sep 17 00:00:00 2001 From: Brandon Wu Date: Thu, 25 Jan 2024 08:13:31 -0800 Subject: [PATCH] [RISCV] Add missing dependency check for Zvkb --- clang/test/Drive

[clang] 8e01042 - [RISCV] Add missing dependency check for Zvkb (#79467)

2024-01-25 Thread via cfe-commits
Author: Brandon Wu Date: 2024-01-26T11:14:43+08:00 New Revision: 8e01042da9d385d5ecd41e3ff3b60763995f253f URL: https://github.com/llvm/llvm-project/commit/8e01042da9d385d5ecd41e3ff3b60763995f253f DIFF: https://github.com/llvm/llvm-project/commit/8e01042da9d385d5ecd41e3ff3b60763995f253f.diff LO

[llvm] [clang] [RISCV] Add missing dependency check for Zvkb (PR #79467)

2024-01-25 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat closed https://github.com/llvm/llvm-project/pull/79467 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [RISCV][SiFive] Reduce intrinsics of SiFive VCIX extension (PR #79407)

2024-01-25 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat closed https://github.com/llvm/llvm-project/pull/79407 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2024-01-25 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat updated https://github.com/llvm/llvm-project/pull/77487 >From d52f1e4652f7791413c61cfb075755a46fca8cfa Mon Sep 17 00:00:00 2001 From: Brandon Wu Date: Sun, 7 Jan 2024 18:10:59 -0800 Subject: [PATCH 1/3] [RISCV][clang] Optimize memory usage of intrinsic lookup table

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

2024-01-25 Thread via cfe-commits
Author: Brandon Wu Date: 2024-01-26T11:16:28+08:00 New Revision: e0092eae431956a2fd17f7ea88e7ba26d5e44f7e URL: https://github.com/llvm/llvm-project/commit/e0092eae431956a2fd17f7ea88e7ba26d5e44f7e DIFF: https://github.com/llvm/llvm-project/commit/e0092eae431956a2fd17f7ea88e7ba26d5e44f7e.diff LO

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

2024-01-25 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat closed https://github.com/llvm/llvm-project/pull/77487 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] eeddfec - [Docs] Fix documentation build.

2024-01-25 Thread Craig Topper via cfe-commits
Author: Craig Topper Date: 2024-01-25T19:20:49-08:00 New Revision: eeddfec8c9dc91e3d723a3d8ec3fb108972e031d URL: https://github.com/llvm/llvm-project/commit/eeddfec8c9dc91e3d723a3d8ec3fb108972e031d DIFF: https://github.com/llvm/llvm-project/commit/eeddfec8c9dc91e3d723a3d8ec3fb108972e031d.diff

[libcxx] [libcxxabi] [lld] [clang-tools-extra] [lldb] [clang] [llvm] [compiler-rt] [mlir] [libc] [flang] [clang-format] Add ShortReturnTypeColumn option. (PR #78011)

2024-01-25 Thread via cfe-commits
https://github.com/rmarker updated https://github.com/llvm/llvm-project/pull/78011 >From c4d28f82e108f9f12ccd0375e2a3502025b8c1e8 Mon Sep 17 00:00:00 2001 From: rmarker Date: Thu, 11 Jan 2024 15:01:18 +1030 Subject: [PATCH 1/4] [clang-format] Add ShortReturnTypeLength option. --- clang/docs/C

[llvm] [clang] [clang-tools-extra] Add clang-tidy check to suggest replacement of conditional statement with std::min/std::max (PR #77816)

2024-01-25 Thread Félix-Antoine Constantin via cfe-commits
https://github.com/felix642 requested changes to this pull request. Added a few more comments regarding some nits but we're almost there https://github.com/llvm/llvm-project/pull/77816 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lis

[clang] [clang-format] Fix a bug in AnnotatingParser::rParenEndsCast() (PR #79549)

2024-01-25 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/79549 Fixes #78965. >From 550ab825a339307ecf2f02fe12ba987ab1351bf9 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Thu, 25 Jan 2024 20:16:37 -0800 Subject: [PATCH] [clang-format] Fix a bug in AnnotatingParser::rParenEnd

[clang] [clang-format] Fix a bug in AnnotatingParser::rParenEndsCast() (PR #79549)

2024-01-25 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Fixes #78965. --- Full diff: https://github.com/llvm/llvm-project/pull/79549.diff 2 Files Affected: - (modified) clang/lib/Format/TokenAnnotator.cpp (+2) - (modified) clang/unittests/Format/TokenAnnotat

<    1   2   3   4   5   6   >