https://github.com/RKSimon closed
https://github.com/llvm/llvm-project/pull/161182
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RKSimon edited
https://github.com/llvm/llvm-project/pull/156822
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -62,12 +62,12 @@ Options
.. option:: StrFormatLikeFunctions
- A semicolon-separated list of (fully qualified) function names to
- replace, with the requirement that the first parameter contains the
- printf-style format string and the arguments to be formatted follow
https://github.com/balazs-benics-sonarsource approved this pull request.
https://github.com/llvm/llvm-project/pull/160511
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
steakhal wrote:
For the record, I got bitten by this today and wasted about 5 minutes of my
time.
I had a pretty good instinct that `Call.getReturnValue()` must refer to the
`State` bundled with `Call`, and not the one I just prepared with `bindExpr`
binding the return value. (I was inside an
@@ -0,0 +1,94 @@
+//===--===//
+//
+// 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: Apac
@@ -0,0 +1,112 @@
+//===- ModulesDriver.h - Driver managed module builds *- C++ -*-===//
+//
+// 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
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Simon Pilgrim (RKSimon)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/161169.diff
1 Files Affected:
- (modified) clang/test/CodeGen/X86/tbm-builtins.c (+40-38)
``diff
diff --git a/clang/test/CodeGen/X86/tb
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/161096
>From cb5b1831921092d5dcf96f452f6dee367bfb18a1 Mon Sep 17 00:00:00 2001
From: Oleksandr Tarasiuk
Date: Sun, 28 Sep 2025 23:45:51 +0300
Subject: [PATCH 1/3] [Clang] Avoid null deref in lambda attribute compat
https://github.com/Amichaxx updated
https://github.com/llvm/llvm-project/pull/160330
>From a8043a7fd01823f05246b857f29b0957484b5222 Mon Sep 17 00:00:00 2001
From: Amichaxx
Date: Mon, 22 Sep 2025 15:55:57 +
Subject: [PATCH 1/2] [Clang] Add support for fp when using min_fetch/max_fetch
atomi
https://github.com/RKSimon created
https://github.com/llvm/llvm-project/pull/161169
None
>From a54e18c033981ad342236611f638273b98828a29 Mon Sep 17 00:00:00 2001
From: Simon Pilgrim
Date: Mon, 29 Sep 2025 11:50:18 +0100
Subject: [PATCH] [clang][x86] tbm-builtins.c - add i386 test coverage
---
https://github.com/statham-arm approved this pull request.
https://github.com/llvm/llvm-project/pull/161106
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RKSimon created
https://github.com/llvm/llvm-project/pull/161174
Part of #155814
>From 69e5bc501c6bb0a315994533f0cc23f58255574d Mon Sep 17 00:00:00 2001
From: Simon Pilgrim
Date: Mon, 29 Sep 2025 12:21:26 +0100
Subject: [PATCH] [clang][X86] tbm-builtins.c - add
-fexperiment
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Simon Pilgrim (RKSimon)
Changes
Part of #155814
---
Full diff: https://github.com/llvm/llvm-project/pull/161174.diff
1 Files Affected:
- (modified) clang/test/CodeGen/X86/tbm-builtins.c (+5)
``diff
diff --git a/clang/test/Cod
https://github.com/RKSimon auto_merge_enabled
https://github.com/llvm/llvm-project/pull/160362
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -254,13 +358,26 @@ static void storeAnyExprIntoOneUnit(CIRGenFunction &cgf,
const Expr *init,
llvm_unreachable("bad evaluation kind");
}
+void CIRGenFunction::emitNewArrayInitializer(
+const CXXNewExpr *e, QualType elementType, mlir::Type elementTy,
+Address begi
@@ -418,14 +535,22 @@ mlir::Value CIRGenFunction::emitCXXNewExpr(const
CXXNewExpr *e) {
// If there's an operator delete, enter a cleanup to call it if an
// exception is thrown.
- if (e->getOperatorDelete() &&
- !e->getOperatorDelete()->isReservedGlobalPlacementOpe
jjmarr-amd wrote:
Attempted to use AI to add the auto fix-it functionality. I couldn't get it to
work on my own without a bunch of annoying string manipulation. I feel like
there is a better non-string manipulation way of generating the proposed
fix-its.
I also have no idea why a "VLA capture
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/161231
>From 4c0152234c53fe7b97fcca65a61d4c29b611fb19 Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Mon, 29 Sep 2025 18:55:22 +0200
Subject: [PATCH 1/6] [Clang] Instantiate variables referenced in `decltype`
wi
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/161231
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/161231
>From 4c0152234c53fe7b97fcca65a61d4c29b611fb19 Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Mon, 29 Sep 2025 18:55:22 +0200
Subject: [PATCH 1/5] [Clang] Instantiate variables referenced in `decltype`
wi
zahiraam wrote:
@Ritanya-B-Bharadwaj Can this be pushed along so that it can be merged in?
@kparzysz Would you mind taking a look the `Flang` changes please?
https://github.com/llvm/llvm-project/pull/135807
___
cfe-commits mailing list
cfe-commits@lis
@@ -33,3 +34,13 @@ config.substitutions.append(('%{install-prefix}',
'@LIBUNWIND_TESTING_INSTALL_PR
config.substitutions.append(('%{include}',
'@LIBUNWIND_TESTING_INSTALL_PREFIX@/include'))
config.substitutions.append(('%{lib}',
'@LIBUNWIND_TESTING_INSTALL_PREFIX@/@LIBUNWIND_
llvmbot wrote:
@llvm/pr-subscribers-clangir
@llvm/pr-subscribers-clang
Author: Amr Hesham (AmrDeveloper)
Changes
Fix enumeration value 'OMPFuseDirectiveClass' not handled in switch warning
---
Full diff: https://github.com/llvm/llvm-project/pull/161246.diff
1 Files Affected:
- (modifie
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Helena Kotas (hekota)
Changes
Add new `ResourceBindingAttrs` struct that holds resource binding attributes
`HLSLResourceBindingAttr` and `HLSLVkBindingAttr` and provides helper methods
to simplify dealing with resource bindings. This code
https://github.com/andykaylor commented:
The size and scope of this PR looks good. It looks like all the branches that
don't hit NYI diagnostics are covered by the tests, and the amount of code is
small enough for effective review.
https://github.com/llvm/llvm-project/pull/161095
_
https://github.com/hekota updated
https://github.com/llvm/llvm-project/pull/161254
>From 6785ed1b738b6e54f9488205da6fb2f923a38413 Mon Sep 17 00:00:00 2001
From: Helena Kotas
Date: Mon, 29 Sep 2025 11:15:35 -0700
Subject: [PATCH 1/3] [HLSL][NFC] Add ResourceBindingAttrs to simplity dealing
with
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/161231
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
JustinStitt wrote:
> Either always returning false (wrapping to uint8_t), or trapping in the
> overflow (?) check due to early narrowing, or returning false incorrectly but
> only if obt is enabled, and if obt is not enabled the only overflow exists on
> the promoted, but that can be prevented
https://github.com/andykaylor edited
https://github.com/llvm/llvm-project/pull/161003
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hekota updated
https://github.com/llvm/llvm-project/pull/161254
>From 6785ed1b738b6e54f9488205da6fb2f923a38413 Mon Sep 17 00:00:00 2001
From: Helena Kotas
Date: Mon, 29 Sep 2025 11:15:35 -0700
Subject: [PATCH 1/2] [HLSL][NFC] Add ResourceBindingAttrs to simplity dealing
with
@@ -0,0 +1,47 @@
+.. title:: clang-tidy - performance-lost-std-move
+
+performance-lost-std-move
+=
+
+Warns if copy constructor is used instead of ``std::move()`` and suggests a
fix.
+It honours cycles, lambdas, and unspecified call order in compound expr
https://github.com/AmrDeveloper edited
https://github.com/llvm/llvm-project/pull/160998
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AmrDeveloper closed
https://github.com/llvm/llvm-project/pull/160997
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jansvoboda11 created
https://github.com/llvm/llvm-project/pull/161260
This PR starts using the correct VFS in `GCOVProfilerPass` instead of using the
real FS directly. This matches compiler's behavior for other input files.
>From 065f670a1566855b743dede521fffd61a72cfcbd Mon
https://github.com/jiang1997 updated
https://github.com/llvm/llvm-project/pull/161095
>From c8e3813d44a7569ea6f96982d5dad736d33d22f8 Mon Sep 17 00:00:00 2001
From: jiang1997
Date: Sun, 28 Sep 2025 22:20:53 +0800
Subject: [PATCH 1/2] [CIR] Add limited support for array new
---
clang/lib/CIR/Co
@@ -39,8 +39,8 @@ Options
.. option:: ExcludeClasses
-Semicolon-delimited list of class names for overwriting the default
-exclusion list. The default is:
+Semicolon-delimited list of regular expressions matching class names that
+overwriting the default exclu
@@ -20108,8 +20108,9 @@ static void DoMarkVarDeclReferenced(
bool NeededForConstantEvaluation =
isPotentiallyConstantEvaluatedContext(SemaRef) && UsableInConstantExpr;
- bool NeedDefinition =
- OdrUse == OdrUseContext::Used || NeededForConstantEvaluation;
+ bool
https://github.com/Bigcheese reopened
https://github.com/llvm/llvm-project/pull/161109
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Bigcheese wrote:
This PR does do something, it change a copy to a move of a large data
structure, which has (minor) perf/memory impact. This seems fine to me as a
standalone PR, and doesn't really fit as a side change in any other existing PR.
https://github.com/llvm/llvm-project/pull/161109
_
jiang1997 wrote:
@andykaylor
It looks like #139293 modified StmtNodes.td to add a new enum value, which in
turn makes `clang/lib/CIR/CodeGen/CIRGenStmt.cpp` fail to compile (see the
failure in build
[log](https://github.com/llvm/llvm-project/actions/runs/18107802106/job/51526611593?pr=161095)
Author: Fraser Cormack
Date: 2025-09-29T08:40:19+01:00
New Revision: 483d73a5e0f63f110776a5abb2e5644f6de51cb3
URL:
https://github.com/llvm/llvm-project/commit/483d73a5e0f63f110776a5abb2e5644f6de51cb3
DIFF:
https://github.com/llvm/llvm-project/commit/483d73a5e0f63f110776a5abb2e5644f6de51cb3.diff
frasercrmck wrote:
I now realise I may have done this in the wrong order as I've already moved
myself to the list of inactive maintainers but I don't think that's a problem.
https://github.com/llvm/llvm-project/pull/161141
___
cfe-commits mailing list
https://github.com/SunilKuravinakop ready_for_review
https://github.com/llvm/llvm-project/pull/160846
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RKSimon approved this pull request.
LGTM - cheers
https://github.com/llvm/llvm-project/pull/159222
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3423,6 +3423,18 @@ bool InterpretBuiltin(InterpState &S, CodePtr OpPC,
const CallExpr *Call,
return LHS.isSigned() ? LHS.ssub_sat(RHS) : LHS.usub_sat(RHS);
});
+ case clang::X86::BI__builtin_ia32_pmulhrsw128:
+ case clang::X86::BI__builtin_ia32_pmulhrs
@@ -1587,6 +1587,8 @@ __m512i test_mm512_mulhrs_epi16(__m512i __A, __m512i __B)
{
// CHECK: @llvm.x86.avx512.pmul.hr.sw.512
return _mm512_mulhrs_epi16(__A,__B);
}
+TEST_CONSTEXPR(match_v32hi(_mm512_mulhrs_epi16((__m512i)(__v32hi){+1, -2, +3,
-4, +5, -6, +7, -8, +9, -10,
https://github.com/hokein approved this pull request.
good catch, thank you for the fix.
https://github.com/llvm/llvm-project/pull/160029
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit
@@ -0,0 +1,1579 @@
+//===--- Driver.cpp - Clang GCC Compatible Driver
-===//
+//
+// 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: A
Author: Jan Svoboda
Date: 2025-09-29T09:38:49-07:00
New Revision: 2dd743187655261815a95477d3956051e7cf5b04
URL:
https://github.com/llvm/llvm-project/commit/2dd743187655261815a95477d3956051e7cf5b04
DIFF:
https://github.com/llvm/llvm-project/commit/2dd743187655261815a95477d3956051e7cf5b04.diff
L
alexey-bataev wrote:
> Changes to support for array elements in reduction clause e.g. "reduction
> (+:a[1])"
Which version supports it?
https://github.com/llvm/llvm-project/pull/160846
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://l
@@ -731,33 +731,36 @@ void
CheckerManager::runCheckersForEvalCall(ExplodedNodeSet &Dst,
ExplodedNodeSet checkDst;
NodeBuilder B(Pred, checkDst, Eng.getBuilderContext());
+ProgramStateRef State = Pred->getState();
+CallEventRef<> UpdatedCall = Call.cloneWithSta
https://github.com/RKSimon updated
https://github.com/llvm/llvm-project/pull/160362
>From fef2d68868a8796dd6ec14f2491cab421fa29897 Mon Sep 17 00:00:00 2001
From: jiang1997
Date: Mon, 29 Sep 2025 23:30:38 +0800
Subject: [PATCH] [clang][x86][bytecode] Refactor BMI intrinsic wrappers to use
eleme
https://github.com/yingcong-wu updated
https://github.com/llvm/llvm-project/pull/161112
>From a56a073ea90f7226b5ce036d4f0d1df342a5a4c1 Mon Sep 17 00:00:00 2001
From: "Wu, Yingcong"
Date: Sun, 28 Sep 2025 19:00:34 -0700
Subject: [PATCH 1/3] add tool check and feature
---
libunwind/test/configs
@@ -3564,6 +3564,28 @@ bool InterpretBuiltin(InterpState &S, CodePtr OpPC,
const CallExpr *Call,
return F;
});
+ case X86::BI__builtin_ia32_vpmadd52luq128:
+ case X86::BI__builtin_ia32_vpmadd52luq256:
+ case X86::BI__builtin_ia32_vpmadd52luq512:
+retu
@@ -2862,6 +2862,218 @@ static bool interp__builtin_blend(InterpState &S,
CodePtr OpPC,
return true;
}
+static bool interp__builtin_ia32_pshuflw_common(InterpState &S, CodePtr OpPC,
+const CallExpr *Call) {
+ const unsigned N
@@ -2862,6 +2862,218 @@ static bool interp__builtin_blend(InterpState &S,
CodePtr OpPC,
return true;
}
+static bool interp__builtin_ia32_pshuflw_common(InterpState &S, CodePtr OpPC,
+const CallExpr *Call) {
RK
https://github.com/RKSimon edited
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Rana Pratap Reddy
Date: 2025-09-29T20:24:59+05:30
New Revision: 27fa1d0cf96469c268c46684ced2fbb7663c7713
URL:
https://github.com/llvm/llvm-project/commit/27fa1d0cf96469c268c46684ced2fbb7663c7713
DIFF:
https://github.com/llvm/llvm-project/commit/27fa1d0cf96469c268c46684ced2fbb7663c7713.d
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/161211
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RKSimon edited
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RKSimon edited
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -39,14 +39,19 @@ typedef short __v8hi __attribute__((__vector_size__(16)));
typedef char __v16qi __attribute__((__vector_size__(16)));
/* Define the default attributes for the functions in this file. */
+#define __DEFAULT_FN_ATTRS_MMX \
+ __attribute__((__always_inline__,
@@ -145,6 +145,10 @@ let Features = "mmx", Header = "mmintrin.h", Attributes =
[NoThrow, Const] in {
def _m_prefetch : X86LibBuiltin<"void(void *)">;
}
+let Features = "mmx", Attributes = [NoThrow, Const, Constexpr] in {
+ def pshufw : X86Builtin<"_Vector<4, short>(_Vector
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/161211
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kovdan01 requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/143230
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -47,10 +47,10 @@ struct _LIBCXXABI_HIDDEN __cxa_exception {
// In Wasm, a destructor returns its argument
void *(_LIBCXXABI_DTOR_FUNC *exceptionDestructor)(void *);
#else
-void (_LIBCXXABI_DTOR_FUNC *exceptionDestructor)(void *);
+void(_LIBCXXABI_DTOR_FUNC *_
NagrajMG wrote:
@RKSimon Got it, I will correct the procedure.
Thanks you!
https://github.com/llvm/llvm-project/pull/161210
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/farzonl updated
https://github.com/llvm/llvm-project/pull/160960
>From 526c1cd28ff455148c96ab1a39ef68cbf4dcfa7b Mon Sep 17 00:00:00 2001
From: Farzon Lotfi
Date: Fri, 26 Sep 2025 14:48:22 -0400
Subject: [PATCH 1/2] Support HLSL matrix initializers
fixes #159434
In HLSL matr
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 origin/main HEAD --extensions h,c --
clang/lib/Headers/avxintrin.h clang/test/CodeGen
https://github.com/flovent created
https://github.com/llvm/llvm-project/pull/161142
Some checks use regular expressions to match option values in their
implementation but this is not documented, it might makes user confused.
See https://github.com/llvm/llvm-project/issues/160991#issuecomment
vvuksanovic wrote:
Thanks, can you merge?
https://github.com/llvm/llvm-project/pull/160262
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1887,7 +1887,19 @@ class CodeCompleteFlow {
for (auto &Cand : C.first) {
if (Cand.SemaResult &&
Cand.SemaResult->Kind == CodeCompletionResult::RK_Declaration) {
-auto ID = clangd::getSymbolID(Cand.SemaResult->getDeclaration());
+
@@ -384,9 +444,23 @@ typedef __UINTPTR_TYPE__ ptrauth_generic_signature_t;
#define ptrauth_cxx_vtable_pointer(key, address_discrimination,
\
extra_discrimination...)
+#define __ptrauth_function_pointer(__typekey)
-
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
CarolineConcatto wrote:
@Amichaxx I think you need to update your tests. It is failing:
TEST 'Clang :: Sema/atomic-ops.c' FAILED *
You should re-generate the CHECK lines.
https://github.com/llvm/llvm-project/pull/160330
___
cfe-commits mailing list
cfe
Amichaxx wrote:
@CarolineConcatto Sorry, I've been working on it just forgot to revert.
https://github.com/llvm/llvm-project/pull/160330
___
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
This is apparently not necessary anymore. Not sure when exactly it changed
though.
---
Full diff: https://github.com/llvm/llvm-project/pull/161211.diff
3 Files Affected:
- (modified) clang/lib/Sema/Analys
@@ -0,0 +1,112 @@
+//===- ModulesDriver.h - Driver managed module builds *- C++ -*-===//
+//
+// 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
=?utf-8?q?“Amr?=
Message-ID:
In-Reply-To:
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/161080
>From 48b11b37327d9f46f1630738a186e971c236acdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9CAmr?=
Date: Sun, 28 Sep 2025 14:47:13 +0200
Subject: [PATCH 1/2]
@@ -507,20 +507,35 @@ static llvm::Value *EmitPostAtomicMinMax(CGBuilderTy
&Builder,
bool IsSigned,
llvm::Value *OldVal,
llvm::Value *RHS) {
+ llvm::Type
https://github.com/jhuber6 closed
https://github.com/llvm/llvm-project/pull/161305
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HazardyKnusperkeks updated
https://github.com/llvm/llvm-project/pull/161021
From 4c5525b88a4f191270fa363a2c62699fd5c1fa27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Sch=C3=A4pers?=
Date: Sat, 27 Sep 2025 22:32:12 +0200
Subject: [PATCH 1/3] [clang-format][NFC] Intro
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Since the second argument must be a constant integer, we can as well convert it
to a `ConstantExpr` in Sema.
Fixes https://github.com/llvm/llvm-project/issues/161272
---
Full diff: https://github.com/llvm/
@@ -3564,6 +3564,28 @@ bool InterpretBuiltin(InterpState &S, CodePtr OpPC,
const CallExpr *Call,
return F;
});
+ case X86::BI__builtin_ia32_vpmadd52luq128:
+ case X86::BI__builtin_ia32_vpmadd52luq256:
+ case X86::BI__builtin_ia32_vpmadd52luq512:
+retu
https://github.com/ndrewh updated
https://github.com/llvm/llvm-project/pull/161304
>From e35fdcd4e95916cc8046365f4a84811434654c5f Mon Sep 17 00:00:00 2001
From: Andrew Haberlandt
Date: Mon, 29 Sep 2025 18:12:24 -0700
Subject: [PATCH] [Darwin][Driver] Avoid duplicate -lc++ with -fsanitize=fuzzer
@@ -167,6 +167,12 @@ New checks
Detects default initialization (to 0) of variables with ``enum`` type where
the enum has no enumerator with value of 0.
+- New :doc:`bugprone-loop-variable-copied-then-modified
+ ` check.
+
+ Detects when a loop variable is copied and then
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/161314
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/161103
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: guillem-bartrina-sonarsource
Date: 2025-09-29T13:37:47Z
New Revision: 668f56d003901345e14a0efad39aede0cc90
URL:
https://github.com/llvm/llvm-project/commit/668f56d003901345e14a0efad39aede0cc90
DIFF:
https://github.com/llvm/llvm-project/commit/668f56d003901345e14a0efad39aede0
Author: Alex Voicu
Date: 2025-09-29T22:50:15+01:00
New Revision: d481e5f9b7f4bde74fc4909a8a67bbd758991b33
URL:
https://github.com/llvm/llvm-project/commit/d481e5f9b7f4bde74fc4909a8a67bbd758991b33
DIFF:
https://github.com/llvm/llvm-project/commit/d481e5f9b7f4bde74fc4909a8a67bbd758991b33.diff
LO
https://github.com/AlexVlx closed
https://github.com/llvm/llvm-project/pull/154867
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -565,13 +580,31 @@ mlir::Value CIRGenFunction::emitLoadOfScalar(Address
addr, bool isVolatile,
return nullptr;
}
-const auto vecTy = cast(eltTy);
+// Handles vectors of sizes that are likely to be expanded to a larger size
+// to optimize performance.
@@ -0,0 +1,38 @@
+// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-emit-cir %s -o %t.cir
+// RUN: FileCheck --input-file=%t.cir %s --check-prefix=CIR
+// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir
-emit-llvm %s -o %t-cir.ll
+//
@@ -60,6 +60,15 @@ clang::CIRGen::createX8664TargetCIRGenInfo(CIRGenTypes &cgt)
{
ABIInfo::~ABIInfo() noexcept = default;
+cir::VectorType
+ABIInfo::getOptimalVectorMemoryType(cir::VectorType ty,
+const LangOptions &opt) const {
+ if (ty.
https://github.com/andykaylor edited
https://github.com/llvm/llvm-project/pull/161232
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/andykaylor commented:
This really feels like an optimization that has no business happening in
codegen.
@bcardosolopes , @erichkeane What do you think?
https://github.com/llvm/llvm-project/pull/161232
___
cfe-commits mailing list
rnk wrote:
Please avoid derailing into off-topic conversations about hardware/software
freedom and control. All these things are important to me (even as a Google
employee), but having to read through them to find principled objections to the
patch as-is is an obstacle to approving it!
It see
@@ -122,25 +122,26 @@ Options
.. option:: PrintfLikeFunctions
- A semicolon-separated list of (fully qualified) function names to
- replace, with the requirement that the first parameter contains the
- printf-style format string and the arguments to be formatted follow
https://github.com/HighCommander4 edited
https://github.com/llvm/llvm-project/pull/160030
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
100 matches
Mail list logo