ritter-x2a wrote:
I think I might have found the culprit: `AMDGPUPromoteAllocaToVectorPass`
Attached is the IR before and after that pass, with interesting points marked
with `; HERE: `.
A `%arrayidx = getelementptr i8, ptr addrspace(5) %14, i64 -1` (AS 5 is the
private/scratch address space, s
@@ -138,9 +138,9 @@ void UseIntegerSignComparisonCheck::check(
return;
const Expr *SubExprLHS = nullptr;
const Expr *SubExprRHS = nullptr;
- SourceRange R1 = SourceRange(LHS->getBeginLoc());
- SourceRange R2 = SourceRange(BinaryOp->getOperatorLoc());
- SourceRange R3
https://github.com/flovent created
https://github.com/llvm/llvm-project/pull/157468
Closes [#156154](https://github.com/llvm/llvm-project/issues/156154)
>From a7306f175d55388158587ab4ee5e33e4e119b795 Mon Sep 17 00:00:00 2001
From: flovent
Date: Mon, 8 Sep 2025 22:02:25 +0800
Subject: [PATCH] [
@@ -318,17 +321,15 @@ void testPrivateContains(CustomMapPrivateContains &MyMap,
if (MyMap2.count(0)) {};
}
-struct MyString {};
-
struct WeirdNonMatchingContains {
unsigned count(char) const;
- bool contains(const MyString&) const;
+ bool contains(const std::string&) c
cor3ntin wrote:
Can you add a test? Thanks
https://github.com/llvm/llvm-project/pull/157585
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RKSimon auto_merge_enabled
https://github.com/llvm/llvm-project/pull/157643
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DKLoehr updated
https://github.com/llvm/llvm-project/pull/149886
>From 028be83a047f7dc3e5ff7d89f62ce4bd7452ff1b Mon Sep 17 00:00:00 2001
From: Devon Loehr
Date: Mon, 21 Jul 2025 19:07:23 +
Subject: [PATCH 1/4] Make special case matcher slash-agnostic
---
clang/docs/Sani
https://github.com/bursot updated
https://github.com/llvm/llvm-project/pull/157333
From b51c2c06909a402632fe75709997716cea990fc0 Mon Sep 17 00:00:00 2001
From: Burhan
Date: Sun, 7 Sep 2025 11:52:47 +0300
Subject: [PATCH 1/6] [CIR] Upstream a batch of passing tests from
CIR-Incubator
---
clan
@@ -458,3 +454,41 @@ void testOperandPermutations(std::map& Map) {
// CHECK-MESSAGES: :[[@LINE-1]]:{{[0-9]+}}: warning: use 'contains' to check
for membership [readability-container-contains]
// CHECK-FIXES: if (!Map.contains(0)) {};
}
+
+void testStringNpos(std::string St
@@ -0,0 +1,30 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -std=c++17 -fclangir
-emit-cir %s -o %t.cir
+// RUN: FileCheck --input-file=%t.cir %s
+
+using u16 = unsigned short;
+using u32 = unsigned int;
+using u64 = unsigned long long;
+
+u16 bswap_u16(u16 x) {
+ retu
Author: cmtice
Date: 2025-09-09T07:11:32-07:00
New Revision: 1f783d739611e187aff70fde43b968c82fe2ff48
URL:
https://github.com/llvm/llvm-project/commit/1f783d739611e187aff70fde43b968c82fe2ff48
DIFF:
https://github.com/llvm/llvm-project/commit/1f783d739611e187aff70fde43b968c82fe2ff48.diff
LOG: [
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Krzysztof Parzyszek (kparzysz)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/157470.diff
1 Files Affected:
- (modified) clang/docs/OpenMPSupport.rst (+3-1)
``diff
diff --git a/clang/docs/OpenMPSupport.rst
https://github.com/jaidTw closed
https://github.com/llvm/llvm-project/pull/152252
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/amitamd7 edited
https://github.com/llvm/llvm-project/pull/150580
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/donneypr updated
https://github.com/llvm/llvm-project/pull/157582
>From 0e67c0217dada580d43c30e03180b0977a6cce98 Mon Sep 17 00:00:00 2001
From: donneypr
Date: Mon, 8 Sep 2025 19:54:43 -0400
Subject: [PATCH 1/6] [clang][x86][headers] Make SSE2 add/sub intrinsics
constexpr
--
https://github.com/erichkeane auto_merge_enabled
https://github.com/llvm/llvm-project/pull/157477
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vbvictor closed
https://github.com/llvm/llvm-project/pull/144313
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shreya-jain updated
https://github.com/llvm/llvm-project/pull/156773
>From 927b2f61b8f5e0163c065ee4cbbf7ebb6956c34b Mon Sep 17 00:00:00 2001
From: shreya-jain
Date: Wed, 3 Sep 2025 00:36:02 -0700
Subject: [PATCH 1/8] Update UnsafeBufferUsage.h
---
clang/include/clang/Analys
https://github.com/yingopq updated
https://github.com/llvm/llvm-project/pull/153777
>From a1d7d8c7ce5ea46a15b95be5461f094e2cb57227 Mon Sep 17 00:00:00 2001
From: Ying Huang
Date: Fri, 15 Aug 2025 05:57:33 -0400
Subject: [PATCH] [Mips] Convert -mnan=legacy to nan2008 when architecture
support n
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: Simon Pilgrim (RKSimon)
Changes
Now that they wrap the __builtin_elementwise_fshl/fshr builtin intrinsics this
is pretty trivial.
Just one more step towards #153152 - just VBMI2 funnel shifts by
immediate
---
Patch is 57.78 KiB,
https://github.com/cmtice closed
https://github.com/llvm/llvm-project/pull/156950
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RKSimon requested changes to this pull request.
The next (tedious) step is to add test coverage - see #156369 for examples
https://github.com/llvm/llvm-project/pull/157582
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https
Author: Ryosuke Niwa
Date: 2025-09-08T11:13:55-07:00
New Revision: 49f17515227d8eb8894c13957b642c4200507806
URL:
https://github.com/llvm/llvm-project/commit/49f17515227d8eb8894c13957b642c4200507806
DIFF:
https://github.com/llvm/llvm-project/commit/49f17515227d8eb8894c13957b642c4200507806.diff
https://github.com/vbvictor approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/154746
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bogner edited
https://github.com/llvm/llvm-project/pull/156919
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/147383
>From 57e99b891d1380c0ef653371ed3fc866c7b5f3e7 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 4 Jul 2025 14:53:15 -0500
Subject: [PATCH 1/2] RFC02658:CLANG: DMF VSX Vector bfloat16 GER 2x (rank-2
update)
-
https://github.com/RKSimon closed
https://github.com/llvm/llvm-project/pull/157668
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/markbhasawut updated
https://github.com/llvm/llvm-project/pull/157464
>From 70b779e23b1b0866e9bdd5ff2b2f6cc86feebd31 Mon Sep 17 00:00:00 2001
From: Bhasawut Singhaphan
Date: Mon, 8 Sep 2025 15:51:33 +0700
Subject: [PATCH 1/4] [Headers][X86] Enable constexpr handling for
MMX/
https://github.com/EugeneZelenko approved this pull request.
https://github.com/llvm/llvm-project/pull/157285
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/efriedma-quic commented:
This is roughly what I expected. But it looks like there are some build
failures on the bot.
https://github.com/llvm/llvm-project/pull/156643
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://
https://github.com/markbhasawut updated
https://github.com/llvm/llvm-project/pull/157464
>From 70b779e23b1b0866e9bdd5ff2b2f6cc86feebd31 Mon Sep 17 00:00:00 2001
From: Bhasawut Singhaphan
Date: Mon, 8 Sep 2025 15:51:33 +0700
Subject: [PATCH 1/3] [Headers][X86] Enable constexpr handling for
MMX/
https://github.com/kimyounhoex1 updated
https://github.com/llvm/llvm-project/pull/157403
>From 38b90ecc3dc30668860cc80a6c8f075536764b5e Mon Sep 17 00:00:00 2001
From: kimyounhoex1
Date: Thu, 4 Sep 2025 00:55:24 +0900
Subject: [PATCH 1/5] todo list
---
clang/lib/AST/ExprConstant.cpp | 4
@@ -0,0 +1,347 @@
+//===- unittest/Format/NumericLiteralCaseTest.cpp
-===//
+//
+// 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/arsenm edited
https://github.com/llvm/llvm-project/pull/157633
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/joaosaffran edited
https://github.com/llvm/llvm-project/pull/156754
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
thesamesam wrote:
Ah, I see. Thanks!
https://github.com/llvm/llvm-project/pull/157364
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,75 @@
+// 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
+
+int foo(int a, int b) {
+ int x = a * b;
+ x *= b;
+ x /= b;
+ x %= b;
+ x += b;
+ x -= b;
+ x >>= b;
+ x <<= b;
https://github.com/tgs-sc updated
https://github.com/llvm/llvm-project/pull/154134
>From 8feef619e2ef72cc2c6c9a107e5a5695ca8fd042 Mon Sep 17 00:00:00 2001
From: Timur Golubovich
Date: Mon, 18 Aug 2025 18:08:27 +0300
Subject: [PATCH 1/2] [clang][AST] Added assert to prevent infinite recursion
i
@@ -2060,7 +2060,7 @@ static __inline__ void __DEFAULT_FN_ATTRS
_mm_storel_pd(double *__dp,
///A 128-bit vector of [16 x i8].
/// \returns A 128-bit vector of [16 x i8] containing the sums of both
///parameters.
-static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_add_epi
@@ -118,6 +118,47 @@ static void fixSeparateAttrArgAndNumber(StringRef ArgStr,
SourceLocation ArgLoc,
Slot = new (Ctx) IdentifierLoc(ArgLoc, PP.getIdentifierInfo(FixedArg));
}
+Parser::ParsedSemantic Parser::ParseHLSLSemantic() {
+ assert(Tok.is(tok::identifier) && "Not a
@@ -0,0 +1,127 @@
+//===--===//
+//
+// 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: Apa
https://github.com/bazuzi created
https://github.com/llvm/llvm-project/pull/157535
Reverts llvm/llvm-project#157148
Adds fixes to `TransferVisitor::VisitCXXConstructExpr` and `copyRecord` to
avoid crashing on base class initialization from sibling-derived class
instances. I believe this is th
@@ -57,9 +59,12 @@ Error SpecialCaseList::Matcher::insert(StringRef Pattern,
unsigned LineNumber,
auto Glob = std::make_unique();
Glob->Name = Pattern.str();
Glob->LineNo = LineNumber;
+ // Backslashes are valid in posix-style filenames.
+ bool IsSlashAgnostic = Triple
https://github.com/Lancern updated
https://github.com/llvm/llvm-project/pull/156253
>From af79b902dc043ee85d02015cce912375bdaf4cf3 Mon Sep 17 00:00:00 2001
From: Sirui Mu
Date: Mon, 1 Sep 2025 00:34:29 +0800
Subject: [PATCH] [CIR] Add support for atomic compare-and-swap
This patch adds support
https://github.com/andykaylor edited
https://github.com/llvm/llvm-project/pull/157333
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -666,6 +666,10 @@ class TrivialFunctionAnalysisVisitor
return IsFunctionTrivial(Callee);
}
+ bool VisitGCCAsmStmt(const GCCAsmStmt *AS) {
+return AS->getAsmString() == "brk #0xc471";
rniwa wrote:
We could consider stripping whitespace but it's p
@@ -149,6 +149,57 @@ RValue CIRGenFunction::emitBuiltinExpr(const GlobalDecl
&gd, unsigned builtinID,
emitVAEnd(emitVAListRef(e->getArg(0)).getPointer());
return {};
+ case Builtin::BIalloca:
+ case Builtin::BI_alloca:
+ case Builtin::BI__builtin_alloca_uninitializ
https://github.com/markbhasawut updated
https://github.com/llvm/llvm-project/pull/157464
>From 441f060fee2f624e1940f04ade9272cb50b0b33e Mon Sep 17 00:00:00 2001
From: Bhasawut Singhaphan
Date: Mon, 8 Sep 2025 15:51:33 +0700
Subject: [PATCH 1/8] [Headers][X86] Enable constexpr handling for
MMX/
@@ -0,0 +1,9 @@
+// TODO: fix crash in emitTaskWaitCall
andykaylor wrote:
We don't have any OpenMP support upstream, so this test is only passing because
it doesn't really do anything. This should be removed from your PR.
https://github.com/llvm/llvm-project/pu
https://github.com/s-perron updated
https://github.com/llvm/llvm-project/pull/156750
>From 3fa3bc0ae3e3f24368d7ffeed2595580d0e982a1 Mon Sep 17 00:00:00 2001
From: Steven Perron
Date: Wed, 3 Sep 2025 16:09:17 -0400
Subject: [PATCH 1/2] [HLSL] Fix OpaqueValueExpr handling in InitListExpr
The Opa
ojhunt wrote:
> > > * Fix personality pointer authentication on non-Apple targets:
> > > [[runtimes][PAC] Harden unwinding when possible #143230
> > > (comment)](https://github.com/llvm/llvm-project/pull/143230#discussion_r2318636296)
> >
> >
> > I'm not sure what's going on in this diff as i
https://github.com/andykaylor closed
https://github.com/llvm/llvm-project/pull/155668
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sarnex edited
https://github.com/llvm/llvm-project/pull/157172
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
@llvm/pr-subscribers-clang
Author: Bhasawut Singhaphan (markbhasawut)
Changes
This PR updates the avg builtins to support constant expression handling, by
extending the VectorExprEvaluator::VisitCallExpr that handles elementwise
integer bin
@@ -201,6 +201,11 @@ Changes in existing checks
namespace are treated as the tag or the data part of a user-defined
tagged union respectively.
+- Improved :doc:`bugprone-unchecked-optional-access
+ ` check by supporting
+ `NullableValue::makeValue` and `NullableValue::m
@@ -680,14 +680,11 @@ ABIArgInfo RISCVABIInfo::classifyArgumentType(QualType
Ty, bool IsFixed,
if (const auto *ED = Ty->getAsEnumDecl())
Ty = ED->getIntegerType();
-// All integral types are promoted to XLen width
-if (Size < XLen && Ty->isIntegralOrEnumerat
@@ -496,9 +496,8 @@ _mm256_andnot_si256(__m256i __a, __m256i __b)
/// \param __b
///A 256-bit integer vector.
/// \returns A 256-bit integer vector containing the result.
-static __inline__ __m256i __DEFAULT_FN_ATTRS256
-_mm256_avg_epu8(__m256i __a, __m256i __b)
-{
+static
https://github.com/DominikAdamski updated
https://github.com/llvm/llvm-project/pull/155818
>From efdd979d6189b986ea09dec7c0c0da26725ab1a1 Mon Sep 17 00:00:00 2001
From: Dominik Adamski
Date: Wed, 27 Aug 2025 10:24:51 -0500
Subject: [PATCH 1/5] [Flang][OpenMP] Enable no-loop kernels
Enable the
https://github.com/Michael137 closed
https://github.com/llvm/llvm-project/pull/155485
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/inbelic updated
https://github.com/llvm/llvm-project/pull/157690
>From 0831e99798973a6d8c47ef6b257046640298142c Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Tue, 9 Sep 2025 15:09:28 +
Subject: [PATCH 1/3] [HLSL] Add the `Frs` driver option
This pr adds the `Frs` as
https://github.com/steakhal auto_merge_enabled
https://github.com/llvm/llvm-project/pull/157670
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/erichkeane closed
https://github.com/llvm/llvm-project/pull/151400
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/comex updated
https://github.com/llvm/llvm-project/pull/154034
>From 5a0549b35cd5b3b4ecb8a25bcde1560cf85c094d Mon Sep 17 00:00:00 2001
From: comex
Date: Sun, 17 Aug 2025 12:41:44 -0700
Subject: [PATCH 1/2] [clang] Fix side effects resolving overloads of builtin
functions (#1
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 c,h --
clang/lib/Headers/avx512fintrin.h clang/lib/Head
@@ -137,7 +137,8 @@ void RootSignatureDesc::write(raw_ostream &OS) const {
llvm::endianness::little);
rewriteOffsetToCurrentByte(BOS, writePlaceholder(BOS));
for (const auto &Range : Table) {
-support::endian::write(BOS, Range.Ra
https://github.com/steakhal updated
https://github.com/llvm/llvm-project/pull/157670
>From a6e7eddd339c46b47a5964ab2880c1e66a4746d5 Mon Sep 17 00:00:00 2001
From: Balazs Benics
Date: Tue, 9 Sep 2025 16:06:47 +0200
Subject: [PATCH 1/4] [analyzer][NFC] Modernize iterator-based loop in
LiveVariab
https://github.com/Michael137 closed
https://github.com/llvm/llvm-project/pull/154134
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/149827
>From f979958249187a1b89b4b87c46e90d63b6dc4042 Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Mon, 18 Aug 2025 15:14:40 +0100
Subject: [PATCH 1/2] [clang][DebugInfo] Emit unified (Itanium) mangled name to
@@ -4943,13 +4932,35 @@ def HLSLResourceBinding: InheritableAttr {
}];
}
-def HLSLSV_Position : HLSLAnnotationAttr {
- let Spellings = [HLSLAnnotation<"sv_position">];
- let Subjects = SubjectList<[ParmVar, Field]>;
+def HLSLUnparsedSemantic : HLSLAnnotationAttr {
+ let S
https://github.com/nathanchance closed
https://github.com/llvm/llvm-project/pull/156543
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
madhur13490 wrote:
@kasuga-fj If your concerns are addressed, I'd like to merge the patch.
@nikic I haven't heard back from you on this. Do you have any comments?
https://github.com/llvm/llvm-project/pull/142686
___
cfe-commits mailing list
cfe-commit
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Simon Pilgrim (RKSimon)
Changes
Now that they wrap the __builtin_elementwise_fshl/fshr builtin intrinsics this
is pretty trivial.
Another step towards #153152 - just VBMI2 double shifts remaining
---
Patch is 31.73 KiB, truncated to 20.
https://github.com/markbhasawut updated
https://github.com/llvm/llvm-project/pull/157464
>From 441f060fee2f624e1940f04ade9272cb50b0b33e Mon Sep 17 00:00:00 2001
From: Bhasawut Singhaphan
Date: Mon, 8 Sep 2025 15:51:33 +0700
Subject: [PATCH 1/8] [Headers][X86] Enable constexpr handling for
MMX/
https://github.com/andykaylor commented:
Thanks for working on this!
https://github.com/llvm/llvm-project/pull/157333
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/alexfh approved this pull request.
Thank you for the fix!
https://github.com/llvm/llvm-project/pull/157662
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/markbhasawut updated
https://github.com/llvm/llvm-project/pull/157464
>From 441f060fee2f624e1940f04ade9272cb50b0b33e Mon Sep 17 00:00:00 2001
From: Bhasawut Singhaphan
Date: Mon, 8 Sep 2025 15:51:33 +0700
Subject: [PATCH 1/7] [Headers][X86] Enable constexpr handling for
MMX/
@@ -66,13 +65,11 @@ bool __attribute__((noinline))
__clc_runtime_has_hw_fma32(void);
#define LOG_MAGIC_NUM_SP32 (1 + NUMEXPBITS_SP32 - EXPBIAS_SP32)
_CLC_OVERLOAD _CLC_INLINE float __clc_flush_denormal_if_not_supported(float x)
{
- int ix = __clc_as_int(x);
- if (!__clc_fp
@@ -44,16 +46,37 @@ CIRGenFunction::emitAutoVarAlloca(const VarDecl &d,
if (ty->isVariablyModifiedType())
cgm.errorNYI(d.getSourceRange(), "emitAutoVarDecl: variably modified
type");
+ assert(!cir::MissingFeatures::openMP());
+
Address address = Address::invalid();
Keenuts wrote:
> I'm guessing this change broke the build for me:
>
> ```
> FAILED: [code=1] docs/AttributeReference.rst
> /var/tmp/portage/llvm-core/clang-22.0.0./work/x/y/clang-.arm64/docs/AttributeReference.rst
>
> cd /var/tmp/portage/llvm-core/clang-22.0.0./work/x/y/clang-.arm64/d
@@ -0,0 +1,44 @@
+//===-- RISCVInstrInfoZibi.td - 'Zibi' 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-Identifier: Apa
https://github.com/andykaylor closed
https://github.com/llvm/llvm-project/pull/157724
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/GuillaumeF0 updated
https://github.com/llvm/llvm-project/pull/157727
>From 4042478aac711d34ef396f54ad314a092b967778 Mon Sep 17 00:00:00 2001
From: Guillaume Frognier
Date: Tue, 9 Sep 2025 19:25:43 +0200
Subject: [PATCH 1/2] [clangd] Add code action to generate getter and sett
https://github.com/bazuzi closed
https://github.com/llvm/llvm-project/pull/157535
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -263,6 +263,10 @@ Changes in existing checks
` check to
avoid false positives on pure virtual member functions.
+- Improved :doc:`readability-container-contains
+ ` to support string
+ comparisons to ``npos``.
nicovank wrote:
Preferred a simplified s
@@ -0,0 +1,10 @@
+// RUN: %clang_dxc -T cs_6_0 /Fo %t.dxo /Frs %t.rs.dxo -### %s 2>&1 |
FileCheck %s
+
+// Test to demonstrate that extracting the root signature to the specified
inbelic wrote:
```suggestion
// Test to demonstrate extracting the root signature t
https://github.com/AmrDeveloper approved this pull request.
LGTM, Thanks
https://github.com/llvm/llvm-project/pull/157724
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/156763
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,74 @@
+;; Test RISC-V 64 bit:
+; RUN: llc -emit-call-site-info -stop-after=livedebugvalues
-mtriple=riscv64-linux-gnu -o - %s | FileCheck %s --check-prefix=CHECK64
+; RUN: llc -force-instr-ref-livedebugvalues=1 -emit-call-site-info
-stop-after=livedebugvalues -mtriple
@@ -1,4 +1,4 @@
-// REQUIRES: shell
+// UNSUPPORTED: system-windows
vbvictor wrote:
Yeah, that's unfortunate.
I also found this in test results:
```
```
>From
>[this](https://github.com/llvm/llvm-project/actions/runs/17517903882/job/49757841499?pr=157285)
> a
ilya-biryukov wrote:
Sharing this early to showcase the approach and see if folks are on board with
that.
The approach adds some boilerplate and requires discipline, but I couldn't come
up with a different one that avoids that.
I have seen some failures (~150) with `ninja check-clang`, will in
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Georgiy Samoylov (sga-sc)
Changes
This patch enables support for debug entry values. This improves quality of
debug info for RISC-V
---
Full diff: https://github.com/llvm/llvm-project/pull/157703.diff
4 Files Affected:
- (modified) cla
kovdan01 wrote:
@ojhunt Thanks! So could you please adopt the code snippet from my previous
comment to make things explicitly unsupported for Linux?
And also I kindly ask you to fix p.4 from
https://github.com/llvm/llvm-project/pull/143230#issuecomment-3249013139 (we've
already discussed that
https://github.com/NagyDonat edited
https://github.com/llvm/llvm-project/pull/153428
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -263,6 +263,10 @@ Changes in existing checks
` check to
avoid false positives on pure virtual member functions.
+- Improved :doc:`readability-container-contains
+ ` to support string
+ comparisons to ``npos``.
vbvictor wrote:
Could you also add that
markbhasawut wrote:
Thanks for your time to review this! @RKSimon
https://github.com/llvm/llvm-project/pull/157464
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vbvictor approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/156763
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,74 @@
+;; Test RISC-V 64 bit:
+; RUN: llc -emit-call-site-info -stop-after=livedebugvalues
-mtriple=riscv64-linux-gnu -o - %s | FileCheck %s --check-prefix=CHECK64
+; RUN: llc -force-instr-ref-livedebugvalues=1 -emit-call-site-info
-stop-after=livedebugvalues -mtriple
https://github.com/fpetrogalli updated
https://github.com/llvm/llvm-project/pull/154216
>From 565fddd293fd65b860ea03fca27ab8b05933fc22 Mon Sep 17 00:00:00 2001
From: Francesco Petrogalli
Date: Mon, 18 Aug 2025 10:01:25 -0700
Subject: [PATCH 1/7] [clang][driver][arm][macho] Default to
-mframe-p
s-perron wrote:
I'm seeing a problem for SPIR-V that we may need to work out. I understand why
you do it, and I don't have a solution yet.
```
// This struct has a size of 12 bytes (float + float2).
// In a cbuffer array, HLSL layout rules require each element to start on a
// 16-byte boundary.
Author: Jordan Rupprecht
Date: 2025-09-09T13:23:14-05:00
New Revision: 5c17af419ec7e9c823a1ae9287baeed0d27336ce
URL:
https://github.com/llvm/llvm-project/commit/5c17af419ec7e9c823a1ae9287baeed0d27336ce
DIFF:
https://github.com/llvm/llvm-project/commit/5c17af419ec7e9c823a1ae9287baeed0d27336ce.di
1 - 100 of 159686 matches
Mail list logo