https://github.com/hokein commented:
The change looks good to me (please wait for @erichkeane review before
landing). I’d suggest adding a brief rationale in the commit message instead of
just including links, to make it more self-contained.
https://github.com/llvm/llvm-project/pull/118165
__
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building
`clang` at step 7 "Add check check-offload".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/73/builds/9413
Here is the re
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/117428
>From 3e25d7ef2e223942298078dace8979905956d05c Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Fri, 22 Nov 2024 17:53:24 +0100
Subject: [PATCH 1/4] Add an off-by-default warning to complain about MSVC
bitfield
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/117428
>From 3e25d7ef2e223942298078dace8979905956d05c Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Fri, 22 Nov 2024 17:53:24 +0100
Subject: [PATCH 1/3] Add an off-by-default warning to complain about MSVC
bitfield
Author: Timm Baeder
Date: 2024-12-02T08:20:41+01:00
New Revision: dd0d9561b8945d4128814bd7eda1bc470a1552f7
URL:
https://github.com/llvm/llvm-project/commit/dd0d9561b8945d4128814bd7eda1bc470a1552f7
DIFF:
https://github.com/llvm/llvm-project/commit/dd0d9561b8945d4128814bd7eda1bc470a1552f7.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/118230
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
spavloff wrote:
### Merge activity
* **Dec 2, 1:35 AM EST**: The merge label 'FP Bundles' was detected. This PR
will be added to the [Graphite merge
queue](https://app.graphite.dev/merges?org=llvm&repo=llvm-project) once it
meets the requirements.
https://github.com/llvm/llvm-project/pull/1
https://github.com/SixWeining approved this pull request.
LGTM for the LoongArch bits.
https://github.com/llvm/llvm-project/pull/118244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Congcong Cai (HerrCai0907)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/118258.diff
1 Files Affected:
- (modified) clang/lib/ASTMatchers/Dynamic/Registry.cpp (+1)
``diff
diff --git a/clang/lib/ASTMatchers
graphite-app[bot] wrote:
## Your org has enabled the Graphite merge queue for merging into main
Add the label “FP Bundles” to the PR and Graphite will automatically add it to
the merge queue when it’s ready to merge.
You must have a Graphite account and log in to Graphite in order to use the
https://github.com/HerrCai0907 created
https://github.com/llvm/llvm-project/pull/118258
None
>From f9fbb478194a429f1879c176504b8596312b9baf Mon Sep 17 00:00:00 2001
From: Congcong Cai
Date: Mon, 2 Dec 2024 14:08:47 +0800
Subject: [PATCH] [ast matcher] add `ExportDecl` in dynamically matchers
@@ -240,7 +240,8 @@ def m_riscv_Features_Group : OptionGroup<"">,
def m_ve_Features_Group : OptionGroup<"">,
Group, DocName<"VE">;
def m_loongarch_Features_Group : OptionGroup<"">,
- Group, DocName<"LoongArch">;
+
spavloff wrote:
PR https://github.com/llvm/llvm-project/pull/118253 demonstrates changes
required to upgrade an intrinsic (`trunc` in this case) to using FP operand
bundles.
https://github.com/llvm/llvm-project/pull/109798
___
cfe-commits mailing li
@@ -5347,13 +5347,16 @@ static TypeSourceInfo
*GetFullTypeForDeclarator(TypeProcessingState &state,
case NestedNameSpecifier::TypeSpec:
case NestedNameSpecifier::TypeSpecWithTemplate:
- ClsType = QualType(NNS->getAsType(), 0);
+ const Type *N
https://github.com/HerrCai0907 closed
https://github.com/llvm/llvm-project/pull/117901
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Congcong Cai
Date: 2024-12-02T13:59:55+08:00
New Revision: 010317e1731d76b91c00ed1241583e518380d65f
URL:
https://github.com/llvm/llvm-project/commit/010317e1731d76b91c00ed1241583e518380d65f
DIFF:
https://github.com/llvm/llvm-project/commit/010317e1731d76b91c00ed1241583e518380d65f.diff
https://github.com/graphite-app[bot] edited
https://github.com/llvm/llvm-project/pull/118253
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
spavloff wrote:
### Merge activity
* **Dec 2, 12:55 AM EST**: The merge label 'FP Bundles' was detected. This PR
will be added to the [Graphite merge
queue](https://app.graphite.dev/merges?org=llvm&repo=llvm-project) once it
meets the requirements.
https://github.com/llvm/llvm-project/pull/
https://github.com/lalaniket8 edited
https://github.com/llvm/llvm-project/pull/115821
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1780,6 +1786,15 @@ void CXXNameMangler::mangleDeviceStubName(const
IdentifierInfo *II) {
<< II->getName();
}
+void CXXNameMangler::mangleOCLDeviceStubName(const IdentifierInfo *II) {
+ // ::= __clang_ocl_kern_imp_
+ // ::= [n]
+ // ::=
+ StringRef OCLDevi
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: Malavika Samak (malavikasamak)
Changes
Do not warn about unsafe buffer access, when 2-D constant arrays are accessed
and the indices are within the bounds of the buffer. Warning in such cases is a
false postive. Such a suppressio
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Malavika Samak (malavikasamak)
Changes
Do not warn about unsafe buffer access, when 2-D constant arrays are accessed
and the indices are within the bounds of the buffer. Warning in such cases is a
false postive. Such a suppression aleady
graphite-app[bot] wrote:
## Your org has enabled the Graphite merge queue for merging into main
Add the label “FP Bundles” to the PR and Graphite will automatically add it to
the merge queue when it’s ready to merge.
You must have a Graphite account and log in to Graphite in order to use the
https://github.com/malavikasamak created
https://github.com/llvm/llvm-project/pull/118249
Do not warn about unsafe buffer access, when 2-D constant arrays are accessed
and the indices are within the bounds of the buffer. Warning in such cases is a
false postive. Such a suppression aleady exist
@@ -49,7 +49,7 @@ to format C/C++/Java/JavaScript/JSON/Objective-C/Protobuf/C#
code.
supported:
CSharp: .cs
Java: .java
- Ja
https://github.com/owenca edited
https://github.com/llvm/llvm-project/pull/118188
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -94,7 +94,7 @@ def main():
# Other languages that clang-format supports
'proto', 'protodevel', # Protocol Buffers
'java', # Java
- 'mjs', 'js', # JavaScript
+ 'cjs', 'mjs', 'js', # JavaScript
owenca wrote:
```suggestion
@@ -87,7 +87,7 @@ static cl::opt AssumeFileName(
"supported:\n"
" CSharp: .cs\n"
" Java: .java\n"
- " JavaScript: .mjs .js .ts\n"
+ " JavaScript: .cjs .mjs .js .ts\n"
owenca wrote:
```suggestio
Author: Richard Trieu
Date: 2024-12-01T19:21:42-08:00
New Revision: c4a1e0efe6b0767dfb5861a7e8814d7db0c0de8a
URL:
https://github.com/llvm/llvm-project/commit/c4a1e0efe6b0767dfb5861a7e8814d7db0c0de8a
DIFF:
https://github.com/llvm/llvm-project/commit/c4a1e0efe6b0767dfb5861a7e8814d7db0c0de8a.diff
@@ -5347,13 +5347,16 @@ static TypeSourceInfo
*GetFullTypeForDeclarator(TypeProcessingState &state,
case NestedNameSpecifier::TypeSpec:
case NestedNameSpecifier::TypeSpecWithTemplate:
- ClsType = QualType(NNS->getAsType(), 0);
+ const Type *N
@@ -240,7 +240,8 @@ def m_riscv_Features_Group : OptionGroup<"">,
def m_ve_Features_Group : OptionGroup<"">,
Group, DocName<"VE">;
def m_loongarch_Features_Group : OptionGroup<"">,
- Group, DocName<"LoongArch">;
+
@@ -5347,13 +5347,16 @@ static TypeSourceInfo
*GetFullTypeForDeclarator(TypeProcessingState &state,
case NestedNameSpecifier::TypeSpec:
case NestedNameSpecifier::TypeSpecWithTemplate:
- ClsType = QualType(NNS->getAsType(), 0);
+ const Type *N
@@ -240,7 +240,8 @@ def m_riscv_Features_Group : OptionGroup<"">,
def m_ve_Features_Group : OptionGroup<"">,
Group, DocName<"VE">;
def m_loongarch_Features_Group : OptionGroup<"">,
- Group, DocName<"LoongArch">;
+
@@ -5347,13 +5347,16 @@ static TypeSourceInfo
*GetFullTypeForDeclarator(TypeProcessingState &state,
case NestedNameSpecifier::TypeSpec:
case NestedNameSpecifier::TypeSpecWithTemplate:
- ClsType = QualType(NNS->getAsType(), 0);
+ const Type *N
@@ -5347,15 +5347,18 @@ static TypeSourceInfo
*GetFullTypeForDeclarator(TypeProcessingState &state,
case NestedNameSpecifier::TypeSpec:
case NestedNameSpecifier::TypeSpecWithTemplate:
- ClsType = QualType(NNS->getAsType(), 0);
- // Note: if t
@@ -5347,15 +5347,18 @@ static TypeSourceInfo
*GetFullTypeForDeclarator(TypeProcessingState &state,
case NestedNameSpecifier::TypeSpec:
case NestedNameSpecifier::TypeSpecWithTemplate:
- ClsType = QualType(NNS->getAsType(), 0);
- // Note: if t
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/118236
>From 37eb30a2b99daa1f30da3bd53e2a92588cbde0f9 Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Sun, 1 Dec 2024 19:58:03 -0500
Subject: [PATCH] [clang] [Sema] Preserve nested name specifier prefix in
Me
https://github.com/tangaac updated
https://github.com/llvm/llvm-project/pull/116771
>From ee422d26ad2695d34b0bf471f6d4fa2c3bef8ca8 Mon Sep 17 00:00:00 2001
From: tangaac
Date: Tue, 19 Nov 2024 17:43:31 +0800
Subject: [PATCH 1/3] [LoongArch] Support sc.q instruction for 128bit cmpxchg
operation
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-driver
Author: Zhaoxin Yang (ylzsx)
Changes
Mainly including the following LoongArch specific options: -m[no-]lsx,
-m[no-]lasx, -msimd=, -m[no-]frecipe, -m[no-]lam-bh, -m[no-]lamcas,
-m[no-]ld-seq-sa, -m[no-]div32,
-m[n
https://github.com/ylzsx created
https://github.com/llvm/llvm-project/pull/118244
Mainly including the following LoongArch specific options: -m[no-]lsx,
-m[no-]lasx, -msimd=, -m[no-]frecipe, -m[no-]lam-bh, -m[no-]lamcas,
-m[no-]ld-seq-sa, -m[no-]div32,
-m[no-]annotate-tablejump
>From ee9aa4d2
@@ -5347,15 +5347,18 @@ static TypeSourceInfo
*GetFullTypeForDeclarator(TypeProcessingState &state,
case NestedNameSpecifier::TypeSpec:
case NestedNameSpecifier::TypeSpecWithTemplate:
- ClsType = QualType(NNS->getAsType(), 0);
- // Note: if t
HighCommander4 wrote:
(Marked as Draft since there are test failures I need to investigate.)
https://github.com/llvm/llvm-project/pull/118236
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co
https://github.com/HighCommander4 created
https://github.com/llvm/llvm-project/pull/118236
Fixes https://github.com/llvm/llvm-project/issues/118198
>From 675aec86732ff4c46250fa0b17cd571387ca4ade Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Sun, 1 Dec 2024 19:58:03 -0500
Subject: [PATCH] [
https://github.com/zyn0217 ready_for_review
https://github.com/llvm/llvm-project/pull/118176
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Younan Zhang (zyn0217)
Changes
The NTTP argument appearing inside a trailing return type of a generic lambda
would have to check for potential lambda captures, where the function needs
GLTemplateParameterList of the current LSI to tell wh
https://github.com/HighCommander4 converted_to_draft
https://github.com/llvm/llvm-project/pull/118236
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
@llvm/pr-subscribers-clang
Author: Nathan Ridge (HighCommander4)
Changes
Fixes https://github.com/llvm/llvm-project/issues/118198
---
Full diff: https://github.com/llvm/llvm-project/pull/118236.diff
2 Files Affected:
- (modified) cl
https://github.com/5chmidti edited
https://github.com/llvm/llvm-project/pull/113837
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/5chmidti commented:
I noticed some more issues that this is fixing, so I've added their examples as
test-cases
https://github.com/llvm/llvm-project/pull/113837
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.ll
@@ -119,14 +122,55 @@ void UseUsingCheck::check(const MatchFinder::MatchResult
&Result) {
return;
}
- PrintingPolicy PrintPolicy(getLangOpts());
- PrintPolicy.SuppressScope = true;
- PrintPolicy.ConstantArraySizeAsWritten = true;
- PrintPolicy.UseVoidForZeroParams =
https://github.com/5chmidti updated
https://github.com/llvm/llvm-project/pull/113837
>From 8170641109c09e55b1530081e103a1e919eb8bfc Mon Sep 17 00:00:00 2001
From: Julian Schmidt
Date: Sun, 27 Oct 2024 21:49:34 +0100
Subject: [PATCH 1/6] [clang-tidy] do not expand macros in modernize-use-using
https://github.com/5chmidti edited
https://github.com/llvm/llvm-project/pull/113837
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/5chmidti edited
https://github.com/llvm/llvm-project/pull/113837
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
pedroclobo wrote:
cc @nunoplopes
https://github.com/llvm/llvm-project/pull/117064
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/d3x0r updated
https://github.com/llvm/llvm-project/pull/118188
>From 8ce527dc2cc7ac285f782648838664491abffc30 Mon Sep 17 00:00:00 2001
From: d3x0r
Date: Sat, 30 Nov 2024 02:32:40 -0800
Subject: [PATCH 1/2] Add *.cjs handling for JavaScript Language.
---
clang/lib/Format/For
@@ -0,0 +1,49 @@
+// RUN: %clang_cc1 -std=c++2c -fsyntax-only -verify %s
+
+void a(...);
+
+void b(auto...);
+void c(auto, ...);
+
+void d(auto..); // expected-warning {{declaration of a variadic function
without a comma before '...' is deprecated}} \
+//
https://github.com/antangelo updated
https://github.com/llvm/llvm-project/pull/117524
>From ffcae3a593f1324b5f5495b42bb0ec61a61c2055 Mon Sep 17 00:00:00 2001
From: antangelo
Date: Mon, 25 Nov 2024 01:54:26 -0500
Subject: [PATCH 1/5] [clang] Implement P3176R1: The Oxford variadic comma
Emit a w
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/115487
>From 5e24d212f797b5fa1b6da1526c807046373d3c21 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Fri, 8 Nov 2024 16:13:17 +0200
Subject: [PATCH 1/6] [Clang] skip default argument instantiation for
non-definin
https://github.com/5chmidti edited
https://github.com/llvm/llvm-project/pull/113144
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,36 @@
+.. title:: clang-tidy - modernize-use-integer-sign-comparison
+
+modernize-use-integer-sign-comparison
+=
+
+Replace comparisons between signed and unsigned integers with their safe
+C++20 ``std::cmp_*`` alternative, if availab
https://github.com/5chmidti commented:
Just some small things to address
https://github.com/llvm/llvm-project/pull/113144
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,36 @@
+.. title:: clang-tidy - modernize-use-integer-sign-comparison
+
+modernize-use-integer-sign-comparison
+=
+
+Replace comparisons between signed and unsigned integers with their safe
+C++20 ``std::cmp_*`` alternative, if availab
@@ -0,0 +1,165 @@
+//===--- UseIntegerSignComparisonCheck.cpp - clang-tidy
---===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
https://github.com/5chmidti edited
https://github.com/llvm/llvm-project/pull/113144
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/118230.diff
3 Files Affected:
- (modified) clang/lib/AST/ByteCode/Compiler.cpp (+3-3)
- (added) clang/test/AST/ByteCode/altivec.c (+19)
- (modifi
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/118230
None
>From 3bdcf86f356fb6579bebf35ed636b0eae9bf24fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 1 Dec 2024 20:24:05 +0100
Subject: [PATCH] [clang][bytecode] Support vector-to-vector
carlosgalvezp wrote:
LGTM, had a small comment. Not sure it's worth mentioning this in the releases
notes, it's just a crash fix. But it doesn't hurt I guess.
https://github.com/llvm/llvm-project/pull/66810
___
cfe-commits mailing list
cfe-commits@lis
@@ -0,0 +1,8 @@
+// RUN: %check_clang_tidy -std=c++17 -expect-clang-tidy-error %s
performance-noexcept-move-constructor %t
carlosgalvezp wrote:
Does this need to be a separate file? Can't we just have it in an existing
test, inside `namespace PRX`?
https
carlosgalvezp wrote:
We probably should have proper guidelines for aliases. IMO, there should only
be a "base -> coding guideline" kind of alias relationship, not the other way
around. Coding guidelines should "cherry-pick" (and possibly
configure/harden/make more strict) base checks. So in th
veera-sivarajan wrote:
Rebased and updated the tests.
Please merge it for me. I don't have write access yet.
https://github.com/llvm/llvm-project/pull/116888
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailma
@@ -1898,6 +1882,60 @@ static Instruction *foldSelectICmpEq(SelectInst &SI,
ICmpInst *ICI,
return nullptr;
}
+/// Fold `X Pred C1 ? X BOp C2 : C1 BOp C2` to `min/max(X, C1) BOp C2`.
+/// This allows for better canonicalization.
+static Value *foldSelectWithConstOpToBinOp(IC
https://github.com/veera-sivarajan updated
https://github.com/llvm/llvm-project/pull/116888
>From a0f38f1b37d7a5d9283e65cb9af07881c6fc5c14 Mon Sep 17 00:00:00 2001
From: Veera
Date: Thu, 28 Nov 2024 18:07:30 +
Subject: [PATCH 1/2] Add Test
---
.../InstCombine/canonicalize-const-to-bop.ll
SherAndrei wrote:
@ymand, could you please take a look?
https://github.com/llvm/llvm-project/pull/117658
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/SherAndrei edited
https://github.com/llvm/llvm-project/pull/117658
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/SherAndrei updated
https://github.com/llvm/llvm-project/pull/117658
>From 5eea9669c455e2b0dacbb4dca34be7dc100711cf Mon Sep 17 00:00:00 2001
From: SherAndrei
Date: Tue, 26 Nov 2024 03:30:46 +0300
Subject: [PATCH] [clang][transformer] Allow usage of applyFirst with
rewriteDesc
https://github.com/PiotrZSL edited
https://github.com/llvm/llvm-project/pull/118209
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -27,6 +27,29 @@ This check will flag:
- All applications of binary operators with a narrowing conversions.
For example: ``int i; i+= 0.1;``.
+Note that arithmetic with integer types may perform implicit conversions if
the used integer types are smaller than ``int``.
+T
https://github.com/PiotrZSL requested changes to this pull request.
- Formatting
- Please think about simplifying this.
https://github.com/llvm/llvm-project/pull/118209
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-
@@ -27,6 +27,29 @@ This check will flag:
- All applications of binary operators with a narrowing conversions.
For example: ``int i; i+= 0.1;``.
+Note that arithmetic with integer types may perform implicit conversions if
the used integer types are smaller than ``int``.
+T
@@ -27,6 +27,29 @@ This check will flag:
- All applications of binary operators with a narrowing conversions.
For example: ``int i; i+= 0.1;``.
+Note that arithmetic with integer types may perform implicit conversions if
the used integer types are smaller than ``int``.
--
@@ -27,6 +27,29 @@ This check will flag:
- All applications of binary operators with a narrowing conversions.
For example: ``int i; i+= 0.1;``.
+Note that arithmetic with integer types may perform implicit conversions if
the used integer types are smaller than ``int``.
--
arichardson wrote:
> Hi @arichardson.
>
> Thanks for this change. Acc to the doc which I have `The char type is
> unsigned by default for Xtensa processors.` Our GCC Xtensa toolchain also
> interprets char type as unsigned by default.
Thanks, do you believe we need a backwards compatibility f
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/117672
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2024-12-01T17:39:11+01:00
New Revision: 31bde711c4098b3136edd1cb92dd4e0cc1d4d179
URL:
https://github.com/llvm/llvm-project/commit/31bde711c4098b3136edd1cb92dd4e0cc1d4d179
DIFF:
https://github.com/llvm/llvm-project/commit/31bde711c4098b3136edd1cb92dd4e0cc1d4d179.diff
L
Author: Timm Baeder
Date: 2024-12-01T17:36:19+01:00
New Revision: 82ed9c0319c9f0373bcb633a03ce6d35ebac3661
URL:
https://github.com/llvm/llvm-project/commit/82ed9c0319c9f0373bcb633a03ce6d35ebac3661
DIFF:
https://github.com/llvm/llvm-project/commit/82ed9c0319c9f0373bcb633a03ce6d35ebac3661.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/118199
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
pawosm-arm wrote:
> > I took a look and I think it may be too awkward to do, as we'd want to run
> > e.g. readelf afterwards. But an example is
> > `lld/test/ELF/as-needed-not-in-regular.s`. The idea being: if
> > `-Wl,--as-needed` is in the config file, do we correctly prune an
> > unnecessa
https://github.com/pawosm-arm updated
https://github.com/llvm/llvm-project/pull/117573
>From b9dd5f9356d457ef1ad050083d650a1da21c4377 Mon Sep 17 00:00:00 2001
From: Pawel Osmialowski
Date: Mon, 25 Nov 2024 14:46:55 +
Subject: [PATCH] [clang][driver] Special care for -l and -Wl, flags in con
nikic wrote:
Please also rebase, I expect https://github.com/llvm/llvm-project/pull/118195
will results in some test changes.
https://github.com/llvm/llvm-project/pull/116888
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.o
https://github.com/EugeneZelenko unassigned
https://github.com/llvm/llvm-project/pull/118209
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
thesamesam wrote:
I thought I recognised your name from somewhere ;)
Apparently I completely forgot about
https://github.com/llvm/llvm-project/issues/67209 too.
https://github.com/llvm/llvm-project/pull/117573
___
cfe-commits mailing list
cfe-commits
pawosm-arm wrote:
> @pawosm-arm See also
> https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed#Importance_of_linking_order.
> It is common for distributions to enable `-Wl,--as-needed` via patches to
> the compiler or configuration files.
Indeed, the distributions couldn't avoid
JonasToth wrote:
@PiotrZSL I did assign you as reviewer because I noticed you do many reviews.
Please remove yourself if that was not appropriate.
I did not contribute to clang-tidy for a longer period and not sure who to
assign (if any!) for the PR. It was not meant offensively or so :)
https
https://github.com/HerrCai0907 updated
https://github.com/llvm/llvm-project/pull/117901
>From d1d0722e833a9b66206c008a4cd3f6c5b4548b5c Mon Sep 17 00:00:00 2001
From: Congcong Cai
Date: Wed, 27 Nov 2024 23:08:55 +0800
Subject: [PATCH 1/6] [ast-matcher] add `exportDecl` matcher
---
clang/docs/R
https://github.com/HerrCai0907 updated
https://github.com/llvm/llvm-project/pull/117901
>From d1d0722e833a9b66206c008a4cd3f6c5b4548b5c Mon Sep 17 00:00:00 2001
From: Congcong Cai
Date: Wed, 27 Nov 2024 23:08:55 +0800
Subject: [PATCH 1/5] [ast-matcher] add `exportDecl` matcher
---
clang/docs/R
Author: Haohai Wen
Date: 2024-12-01T20:54:38+08:00
New Revision: 22417ec6cca0ed8ccecb0c2b77011e591378fd2a
URL:
https://github.com/llvm/llvm-project/commit/22417ec6cca0ed8ccecb0c2b77011e591378fd2a
DIFF:
https://github.com/llvm/llvm-project/commit/22417ec6cca0ed8ccecb0c2b77011e591378fd2a.diff
LO
https://github.com/HaohaiWen closed
https://github.com/llvm/llvm-project/pull/117954
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lld-x86_64-win` running on
`as-worker-93` while building `clang,llvm` at step 7
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/146/builds/1731
Here is the releva
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/116888
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1898,6 +1882,60 @@ static Instruction *foldSelectICmpEq(SelectInst &SI,
ICmpInst *ICI,
return nullptr;
}
+/// Fold `X Pred C1 ? X BOp C2 : C1 BOp C2` to `min/max(X, C1) BOp C2`.
+/// This allows for better canonicalization.
+static Value *foldSelectWithConstOpToBinOp(IC
1 - 100 of 123 matches
Mail list logo