MacDue wrote:
> This makes a lot of sense to me, just wondering why you chose
> `clang/lib/CodeGen/BuiltinTargets/` rather than
> `clang/lib/CodeGen/TargetBuiltins/`? The former shounds like it contains the
> list of all builtin targets, rather than the codegen for target-specific
> builtins.
@@ -10601,19 +10608,28 @@ static bool AnalyzeBitFieldAssignment(Sema &S,
FieldDecl *Bitfield, Expr *Init,
// on Windows where unfixed enums always use an underlying type of 'int'.
unsigned DiagID = 0;
if (SignedEnum && !SignedBitfield) {
-DiagID = dia
@@ -6,6 +6,89 @@
// RUN: %clang_cc1 -std=c++23 -pedantic-errors
-verify=expected,since-cxx11,cxx11-23,since-cxx20,since-cxx23 %s
// RUN: %clang_cc1 -std=c++2c -pedantic-errors
-verify=expected,since-cxx11,since-cxx20,since-cxx23,since-cxx26 %s
+namespace cwg2803 { // cwg2803
@@ -450,6 +453,116 @@ class StmtComparer {
};
} // namespace
+static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
+ const Attr *Attr1, const Attr *Attr2) {
+ // Two attributes are structurally equivalent if they are
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/133426
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
davemgreen wrote:
I didn't believe that the backend supports it properly yet (or was tested
at-all). I'm not sure of the details on why that was deemed OK not to support
it. @sdesmalen-arm and @paulwalker-arm might know more.
https://github.com/llvm/llvm-project/pull/132772
___
@@ -1,1145 +0,0 @@
-// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --function-signature --check-attributes --check-globals
--include-generated-funcs --global-value-regex ".*"
-// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -emit-llvm -
https://github.com/rniwa created
https://github.com/llvm/llvm-project/pull/132784
Recognize dynamic_objc_cast, checked_objc_cast, dynamic_cf_cast, and
checked_cf_cast.
>From aed6967708809b964c4969ec4e6477dade61132d Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Mon, 24 Mar 2025 10:13:16 -0
https://github.com/ayokunle321 edited
https://github.com/llvm/llvm-project/pull/130868
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jj-marr updated
https://github.com/llvm/llvm-project/pull/130458
>From 0cba377eb8693657b7688cd1feb1cc9c5734f307 Mon Sep 17 00:00:00 2001
From: JJ Marr
Date: Sat, 8 Mar 2025 22:00:45 -0500
Subject: [PATCH] Explain which assertion failed during consteval
---
.../clang/Basic/D
https://github.com/tstellar milestoned
https://github.com/llvm/llvm-project/pull/134434
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/justincady updated
https://github.com/llvm/llvm-project/pull/13
>From fa652581d03c962b61e7a350e0e9da0874e67109 Mon Sep 17 00:00:00 2001
From: Justin Cady
Date: Thu, 20 Mar 2025 10:01:42 -0400
Subject: [PATCH] Reland [Coverage] Fix region termination for GNU statement
exp
uweigand wrote:
> Moved the comment "Promoting the result to i64...so use the default
> expansion" that was present in SystemZISelLowering.cpp into this method, but
> don't quite understand it fully. Is this talking about promoting to signed
> i64?
This is about whether we can (and should) im
mgoudar wrote:
> Lets wait another day or two, since someone may have additional comments.
> Thanks @mgoudar!
sure. thank you.
https://github.com/llvm/llvm-project/pull/130587
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm
Author: Paul Kirth
Date: 2025-03-20T14:08:46-07:00
New Revision: 3923a6b09c4e104391e2dd12b984190066fed6ec
URL:
https://github.com/llvm/llvm-project/commit/3923a6b09c4e104391e2dd12b984190066fed6ec
DIFF:
https://github.com/llvm/llvm-project/commit/3923a6b09c4e104391e2dd12b984190066fed6ec.diff
LO
Author: Lei Huang
Date: 2025-04-04T15:19:36-04:00
New Revision: c22586a9d18dd0f066e5660102f7de15fd239e2c
URL:
https://github.com/llvm/llvm-project/commit/c22586a9d18dd0f066e5660102f7de15fd239e2c
DIFF:
https://github.com/llvm/llvm-project/commit/c22586a9d18dd0f066e5660102f7de15fd239e2c.diff
LOG
@@ -298,6 +298,8 @@ Improvements to Clang's diagnostics
- Improve the ``-Wundefined-func-template`` warning when a function template
is not instantiated due to being unreachable in modules.
+- Clang now emits a ``-Wignored-base-class-qualifiers`` diagnostic when a base
clas
@@ -1067,6 +1076,8 @@ template <> struct MappingTraits {
IO.mapOptional("InsertNewlineAtEOF", Style.InsertNewlineAtEOF);
IO.mapOptional("InsertTrailingCommas", Style.InsertTrailingCommas);
IO.mapOptional("IntegerLiteralSeparator", Style.IntegerLiteralSeparator);
+
@@ -1355,7 +1355,7 @@ class BlockPointerTypeLoc : public
PointerLikeTypeLochttps://github.com/llvm/llvm-project/pull/130537
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
https://github.com/zeule updated
https://github.com/llvm/llvm-project/pull/131605
>From b6d53143b5f3fd6db9f6b76df9dd49425d9038a8 Mon Sep 17 00:00:00 2001
From: Eugene Shalygin
Date: Mon, 17 Mar 2025 11:23:35 +0100
Subject: [PATCH] [clang-format] add option to bin-pack keyworded parameters
The
https://github.com/mustartt edited
https://github.com/llvm/llvm-project/pull/133617
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Ankur-0429 updated
https://github.com/llvm/llvm-project/pull/133878
>From 3a3dea21957b70dfedc4eab47be0c1717ff0a229 Mon Sep 17 00:00:00 2001
From: Ankur Ahir
Date: Tue, 1 Apr 2025 00:51:11 -0700
Subject: [PATCH] fixed clang frontend crash with friend class declaration and
ove
https://github.com/zahiraam edited
https://github.com/llvm/llvm-project/pull/134385
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Zahira Ammarguellat
Date: 2025-04-04T15:21:47-04:00
New Revision: ebb0e6cb2555186fa0417ecb54925aa659346771
URL:
https://github.com/llvm/llvm-project/commit/ebb0e6cb2555186fa0417ecb54925aa659346771
DIFF:
https://github.com/llvm/llvm-project/commit/ebb0e6cb2555186fa0417ecb54925aa659346771
https://github.com/t-rasmud approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/132833
___
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
`amdgpu-offload-rhel-9-cmake-build-only` running on `rocm-docker-rhel-9` while
building `clang` at step 4 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/205/builds/5405
Here is the releva
https://github.com/zahiraam closed
https://github.com/llvm/llvm-project/pull/134385
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zyn0217 edited
https://github.com/llvm/llvm-project/pull/132919
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/efriedma-quic approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/134396
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/frasercrmck created
https://github.com/llvm/llvm-project/pull/133735
The function was already nominally in the CLC namespace; this commit just moves
it over.
This commit also vectorizes the builtin to avoid scalarization.
>From 67b778704e01e1e783cdf635a5fd4ca359f71d22 Mon S
frederick-vs-ja wrote:
> (LMK if I've got that wrong!) Given that, how is the C11 change a breaking
> change? It seems like the C99 rule was just bogus, and we should forget it
> ever existed?
IIUC, the "breaking change" is that in C99 a pointer value to a temporary array
element never become
@@ -0,0 +1,56 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -extract-api --pretty-sgf
--emit-sgf-symbol-labels-for-testing \
+// RUN: --product-name=TypeAlias -triple arm64-apple-macosx -x c++-header %s
-o %t/type-alias.symbols.json -verify
+
+// RUN: FileCheck %s --input-file %t/
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/134434
>From 6c3ea0b212b3bdafcbec0fda9af56f00d8b1451b Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Fri, 4 Apr 2025 11:49:02 -0700
Subject: [PATCH] [fatlto] Use the ThinLTO default pipeline for FatLTO
When coroutine
https://github.com/HerrCai0907 approved this pull request.
https://github.com/llvm/llvm-project/pull/132635
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/QuietMisdreavus approved this pull request.
Thanks so much for doing this!
https://github.com/llvm/llvm-project/pull/134007
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c
shafik wrote:
Looks like this is linked to the following regression:
https://github.com/llvm/llvm-project/issues/133688
https://github.com/llvm/llvm-project/pull/75456
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/134434
>From a013418d71fc18387ec70c4ab64f611334d3a531 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Fri, 4 Apr 2025 11:49:02 -0700
Subject: [PATCH] [fatlto] Use the ThinLTO default pipeline for FatLTO
When coroutine
steakhal wrote:
> @alejandro-alvarez-sonarsource @steakhal
>
> This breaks the type info loaded correctly in previous decl instantiation:
> [...]
Thank you for reporting @Abramo-Bagnara. Could you create a dedicated GH issue
for this please?
FYI: I don't have plans to work on it though, but s
https://github.com/dmpolukhin commented:
PTAL
https://github.com/llvm/llvm-project/pull/132214
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
carlosgalvezp wrote:
> It seems to be running on my .h files itself(?)
In that case, I don't believe clang-tidy considers the header "a header", but
actually "the main file" just like when analyzing a .cpp file. In that case,
`ExcludeHeaderFilterRegex` won't work.
https://github.com/llvm/llv
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/134434
>From a4919243c4dc2cfebb1494d0f46529b858c52ea0 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Fri, 4 Apr 2025 11:49:02 -0700
Subject: [PATCH] [fatlto] Use the ThinLTO default pipeline for FatLTO
When coroutine
https://github.com/NagyDonat edited
https://github.com/llvm/llvm-project/pull/132250
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jvoung wrote:
Hi, just checking if you wanted to merge this, or if there were any other
issues. Thanks!
https://github.com/llvm/llvm-project/pull/131575
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/lis
Author: Joseph Huber
Date: 2025-03-21T08:25:52-05:00
New Revision: 561dcb26d4597b592caa417d36c1a4e09fb2be2d
URL:
https://github.com/llvm/llvm-project/commit/561dcb26d4597b592caa417d36c1a4e09fb2be2d
DIFF:
https://github.com/llvm/llvm-project/commit/561dcb26d4597b592caa417d36c1a4e09fb2be2d.diff
@@ -0,0 +1,85 @@
+// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple
dxil-pc-shadermodel6.2-library %s -fnative-half-type -emit-llvm -O1 -o - |
FileCheck %s
+
+
+// CHECK-LABEL: define noundef nofpclass(nan inf) <4 x float>
@_Z12dstWithFloatDv4_fS_(
+// CHECK-SAME: <4
@@ -1692,6 +1692,19 @@
PassBuilder::buildFatLTODefaultPipeline(OptimizationLevel Level, bool ThinLTO,
if (ThinLTO && PGOOpt && PGOOpt->Action == PGOOptions::SampleUse)
MPM.addPass(buildThinLTODefaultPipeline(Level, /*ImportSummary=*/nullptr));
else {
+// ModuleSimp
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/134434
>From 80c36153e55398bee01e0167e722c930732b48e7 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Fri, 4 Apr 2025 11:49:02 -0700
Subject: [PATCH] [fatlto] Add coroutine passes when using FatLTO with ThinLTO
When c
@@ -0,0 +1,3329 @@
+// RUN: %clang_cc1 -triple nvptx-unknown-unknown -fcuda-is-device -O3 -o - %s
-emit-llvm | FileCheck %s
+// RUN: %clang_cc1 -triple nvptx64-unknown-unknown -fcuda-is-device -O3 -o -
%s -emit-llvm | FileCheck %s
+#include "../Headers/Inputs/include/cuda.h"
---
@@ -0,0 +1,37 @@
+// RUN: %clang_cc1 -finclude-default-header -triple
dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only
-disable-llvm-passes -verify
+
+float4 test_too_many_arg(float4 p0)
+{
+dst(p0, p0, p0);
+ // expected-error@-1 {{no matching function
Author: Matheus Izvekov
Date: 2025-03-20T17:54:21-03:00
New Revision: 335a4614dee4123ff4f86e6400fc6a305766e227
URL:
https://github.com/llvm/llvm-project/commit/335a4614dee4123ff4f86e6400fc6a305766e227
DIFF:
https://github.com/llvm/llvm-project/commit/335a4614dee4123ff4f86e6400fc6a305766e227.dif
https://github.com/sarnex edited
https://github.com/llvm/llvm-project/pull/133503
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/frasercrmck closed
https://github.com/llvm/llvm-project/pull/134053
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jonathan Schleifer
Date: 2025-03-23T10:45:18-07:00
New Revision: a187060de9193ad3ff356195feb04b16f1f28ff0
URL:
https://github.com/llvm/llvm-project/commit/a187060de9193ad3ff356195feb04b16f1f28ff0
DIFF:
https://github.com/llvm/llvm-project/commit/a187060de9193ad3ff356195feb04b16f1f28ff0.
https://github.com/zyn0217 created
https://github.com/llvm/llvm-project/pull/133863
In ecc7e6ce4, we tried to inspect the `LambdaScopeInfo` on stack to recover the
instantiating lambda captures. However, there was a mismatch in how we compared
the pattern declarations of lambdas: the constrain
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ilya Biryukov (ilya-biryukov)
Changes
This changes exposes a low-level helper that is used to implement
`forEachArgumentWithParamType` but can also be used without matchers, e.g. if
performance is a concern.
Commit f5ee10538b68835112323c
https://github.com/vhscampos edited
https://github.com/llvm/llvm-project/pull/134099
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Sirraide wrote:
> As a followup perhaps, I would LOVE it if we could modify the
> DiagnosticsEmitter to make the calls here be `CompatDiag(SrcLoc, DiagBASE)`.
>
> WHERE: 1- It determines the C++ standard version itself, so it checks
> LangOpts so we don't have to actually tell it what standard
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Fix #132240
---
Full diff: https://github.com/llvm/llvm-project/pull/132519.diff
2 Files Affected:
- (modified) clang/lib/Format/TokenAnnotator.cpp (+14)
- (modified) clang/unittests/Format/FormatTest.c
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Fraser Cormack (frasercrmck)
Changes
These builtins are modeled on the clzg/ctzg builtins, which accept an optional
second argument. This second argument is returned if the first argument is 0.
---
Full diff: https://github.com/ll
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Andy Kaylor (andykaylor)
Changes
The initial upstreaming of unary operations left promoted types unhandled for
the unary plus and minus operators. This change implements support for promoted
types and performs a bit of related code clea
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (yonghong-song)
Changes
For btf_type_tag implementation, in order to have the same results with clang
(__attribute__((btf_type_tag("...", gcc intends to use c2x syntax
'[[...]]'. Clang also supports similar c2x syntax. Currently,
Author: Sirraide
Date: 2025-04-02T10:40:05+02:00
New Revision: 10c6ebc42711fa12ff790f3462cbce0e02538ab7
URL:
https://github.com/llvm/llvm-project/commit/10c6ebc42711fa12ff790f3462cbce0e02538ab7
DIFF:
https://github.com/llvm/llvm-project/commit/10c6ebc42711fa12ff790f3462cbce0e02538ab7.diff
LOG:
@@ -253,6 +253,37 @@ const inline float
length(__detail::HLSL_FIXED_VECTOR X) {
return __detail::length_vec_impl(X);
}
+//===--===//
+// lit builtins
+//===--
@@ -135,6 +135,55 @@ mlir::Location CIRGenFunction::getLoc(mlir::Location lhs,
mlir::Location rhs) {
return mlir::FusedLoc::get(locs, metadata, &getMLIRContext());
}
+bool CIRGenFunction::ContainsLabel(const Stmt *s, bool ignoreCaseStmts) {
bcardosolopes wr
@@ -135,6 +135,55 @@ mlir::Location CIRGenFunction::getLoc(mlir::Location lhs,
mlir::Location rhs) {
return mlir::FusedLoc::get(locs, metadata, &getMLIRContext());
}
+bool CIRGenFunction::ContainsLabel(const Stmt *s, bool ignoreCaseStmts) {
+ // Null statement, not a label
@@ -0,0 +1,20 @@
+set(LLVM_LINK_COMPONENTS
+ support
+ )
+
+add_clang_library(clangTidyCustomModule STATIC
+ CustomTidyModule.cpp
+ QueryCheck.cpp
+
+ LINK_LIBS
+ clangTidy
+ clangTidyUtils
+
+ DEPENDS
+ ClangDriverOptions
+ )
+
+clang_target_link_libraries(clangTidyCust
bcardosolopes wrote:
@Andres-Salamanca thanks for working on this. We usually write tests that
exercise any possible different paths codegen can take. For next rounds: it's
fine if you add less things in one go and make it more incremental with the use
of (a) errorNYI and (b) assert on missing
@@ -263,6 +264,72 @@ static void terminateBody(CIRGenBuilderTy &builder,
mlir::Region &r,
b->erase();
}
+mlir::LogicalResult CIRGenFunction::emitIfStmt(const IfStmt &s) {
+ mlir::LogicalResult res = mlir::success();
+ // The else branch of a consteval if statement is al
https://github.com/metkarpoonam edited
https://github.com/llvm/llvm-project/pull/133828
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/metkarpoonam edited
https://github.com/llvm/llvm-project/pull/133828
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/metkarpoonam edited
https://github.com/llvm/llvm-project/pull/133828
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/metkarpoonam edited
https://github.com/llvm/llvm-project/pull/133828
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/metkarpoonam edited
https://github.com/llvm/llvm-project/pull/133828
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -462,6 +462,58 @@ def ReturnOp : CIR_Op<"return", [ParentOneOf<["FuncOp",
"ScopeOp", "DoWhileOp",
let hasVerifier = 1;
}
+//===--===//
+// IfOp
+//===-
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/133701
___
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/133800
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/joaosaffran commented:
Few questions to help me understand better the changes being introduced here.
https://github.com/llvm/llvm-project/pull/133800
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-
@@ -89,37 +88,178 @@ bool RootSignatureParser::parseDescriptorTableClause() {
CurToken.TokKind == TokenKind::kw_UAV ||
CurToken.TokKind == TokenKind::kw_Sampler) &&
"Expects to only be invoked starting at given keyword");
+ TokenKind ParamKind = Cu
@@ -89,37 +88,178 @@ bool RootSignatureParser::parseDescriptorTableClause() {
CurToken.TokKind == TokenKind::kw_UAV ||
CurToken.TokKind == TokenKind::kw_Sampler) &&
"Expects to only be invoked starting at given keyword");
+ TokenKind ParamKind = Cu
YLChenZ wrote:
> But as it stands, I think this is better than repeating the same information
> 15 times.
Couldn't agree more.
https://github.com/llvm/llvm-project/pull/134089
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm
@@ -342,22 +342,32 @@ function(add_libclc_builtin_set)
set( builtins_opt_lib_tgt builtins.opt.${ARG_ARCH_SUFFIX} )
- # Add opt target
- add_custom_command( OUTPUT ${builtins_opt_lib_tgt}.bc
-COMMAND ${opt_exe} ${ARG_OPT_FLAGS} -o ${builtins_opt_lib_tgt}.bc
- ${bu
@@ -10043,12 +10043,19 @@ QualType
Sema::DeduceTemplateSpecializationFromInitializer(
// When [...] the constructor [...] is a candidate by
//- [over.match.copy] (in all cases)
if (TD) {
- SmallVector TmpInits;
- for (Expr *E : Inits)
+
+ // As
https://github.com/labrinea created
https://github.com/llvm/llvm-project/pull/132273
Removes attr-target-version.c which doesn't have a clear purpose. Introduces
AArch64/fmv-detection.c to check detection bitmasks. Adds coverage in
AArch64/fmv-resolver-emission.c
>From d5f250d42f908ecae74b474
https://github.com/rjodinchr created
https://github.com/llvm/llvm-project/pull/134094
clspv uses a better implementation that is not using a bigger side when not
available.
Add a dummy implementation for mul_hi to avoid to override the implementation
of clspv with the one in libclc.
>From 46d
Author: Mariya Podchishchaeva
Date: 2025-04-02T09:25:43+02:00
New Revision: 8a691cc6157b2c3bc91af767eb1154d7a715562a
URL:
https://github.com/llvm/llvm-project/commit/8a691cc6157b2c3bc91af767eb1154d7a715562a
DIFF:
https://github.com/llvm/llvm-project/commit/8a691cc6157b2c3bc91af767eb1154d7a71556
https://github.com/jhuber6 approved this pull request.
https://github.com/llvm/llvm-project/pull/133776
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bogner updated
https://github.com/llvm/llvm-project/pull/130231
>From bf5e5b4b1060f51d37b05c905b4327a40316f158 Mon Sep 17 00:00:00 2001
From: Justin Bogner
Date: Thu, 6 Mar 2025 17:50:12 -0800
Subject: [PATCH 1/2] [HLSL] Buffer handle globals should not be constants
If these
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ayush Pareek (ayushpareek2003)
Changes
Optimized addModuleFiles functions for both CompilerInvocation and
CowCompilerInvocation to reduce redundant function calls and improve efficiency
Introduced memory preallocation using reserve() when
https://github.com/QuietMisdreavus updated
https://github.com/llvm/llvm-project/pull/132297
>From 0a9499213cb3a59f55187cab7862fe181d05c537 Mon Sep 17 00:00:00 2001
From: Vera Mitchell
Date: Thu, 20 Mar 2025 10:22:12 -0600
Subject: [PATCH 1/2] collect template argument locs ahead of time to
nul
=?utf-8?q?Don=C3=A1t?= Nagy ,
=?utf-8?q?Don=C3=A1t?= Nagy
Message-ID:
In-Reply-To:
https://github.com/steakhal approved this pull request.
LGTM thanks,
https://github.com/llvm/llvm-project/pull/131823
___
cfe-commits mailing list
cfe-commits@lists.l
@@ -0,0 +1,115 @@
+//===--- RunOnNewStack.cpp - Crash Recovery
---===//
+//
+// 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
@@ -516,15 +518,16 @@ writeFileDefinition(const Location &L,
std::make_unique(HTMLTag::TAG_A, std::to_string(L.LineNumber));
// The links to a specific line in the source code use the github /
// googlesource notation so it won't work for all hosting pages.
- // FIXM
@@ -0,0 +1 @@
+HeaderFilterRegex: '.*'
carlosgalvezp wrote:
It appears this use case was broken by this
[patch](https://github.com/llvm/llvm-project/commit/0249554ee1ac49e6f1d93fa78a55971fc706f635),
@HerrCai0907 .
There may be more things to fix.
https:/
@@ -596,6 +605,28 @@ def __nvvm_e4m3x2_to_f16x2_rn_relu :
NVPTXBuiltinSMAndPTX<"_Vector<2, __fp16>(sh
def __nvvm_e5m2x2_to_f16x2_rn : NVPTXBuiltinSMAndPTX<"_Vector<2,
__fp16>(short)", SM_89, PTX81>;
def __nvvm_e5m2x2_to_f16x2_rn_relu : NVPTXBuiltinSMAndPTX<"_Vector<2,
__fp16>
@@ -1021,6 +1036,174 @@ __device__ void nvvm_cvt_sm89() {
__nvvm_e5m2x2_to_f16x2_rn(0x4c4c);
// CHECK_PTX81_SM89: call <2 x half> @llvm.nvvm.e5m2x2.to.f16x2.rn.relu(i16
19532)
__nvvm_e5m2x2_to_f16x2_rn_relu(0x4c4c);
+
+ // CHECK_PTX81_SM89: call i32 @llvm.nvvm.f2tf32.rn
@@ -703,6 +703,53 @@ let hasSideEffects = false in {
defm CVT_to_tf32_rz_satf : CVT_TO_TF32<"rz.satfinite", [hasPTX<86>,
hasSM<100>]>;
defm CVT_to_tf32_rn_relu_satf : CVT_TO_TF32<"rn.relu.satfinite",
[hasPTX<86>, hasSM<100>]>;
defm CVT_to_tf32_rz_relu_satf : CVT_TO_TF
@@ -580,6 +580,15 @@ def __nvvm_f2bf16_rz :
NVPTXBuiltinSMAndPTX<"__bf16(float)", SM_80, PTX70>;
def __nvvm_f2bf16_rz_relu : NVPTXBuiltinSMAndPTX<"__bf16(float)", SM_80,
PTX70>;
def __nvvm_f2tf32_rna : NVPTXBuiltinSMAndPTX<"int32_t(float)", SM_80, PTX70>;
+def __nvvm_f2tf32_
@@ -0,0 +1,37 @@
+// RUN: %clang_cc1 -finclude-default-header -triple
dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only
-disable-llvm-passes -verify
+
+float4 test_too_many_arg(float4 p0)
+{
+dst(p0, p0, p0);
+ // expected-error@-1 {{no matching function
https://github.com/ayushpareek2003 created
https://github.com/llvm/llvm-project/pull/134447
Avoided repeated DeviceDependences getter calls by using const auto & references
No functional changes; pure memory and readability optimization
>From 2689233873e3c0d998bbfb7bb240d39d1654a973 Mon Sep 17
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
501 - 600 of 847 matches
Mail list logo