RKSimon wrote:
ping?
https://github.com/llvm/llvm-project/pull/152705
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,29 @@
+// NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
UTC_ARGS: --version 5
+// REQUIRES: powerpc-registered-target
+// RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -O2 -target-cpu pwr9 \
+// RUN: -emit-llvm %s -o - | FileCheck
@@ -580,6 +580,8 @@ TARGET_BUILTIN(__builtin_ppc_bcdsub_p, "iiV16UcV16Uc", "",
"isa-v207-instructions")
// P9 Binary-coded decimal (BCD) builtins.
+TARGET_BUILTIN(__builtin_ppc_bcdcopysign, "V16UcV16UcV16Uc", "",
https://github.com/AditiRM updated
https://github.com/llvm/llvm-project/pull/144874
>From 8e287c19723361b0141c7bf9d1de34b145b9782c Mon Sep 17 00:00:00 2001
From: Aditi-Medhane
Date: Thu, 19 Jun 2025 11:04:12 +
Subject: [PATCH 1/6] [PowerPC] Add BCDCOPYSIGN and BCDSETSIGN Instruction
Suppor
davemgreen wrote:
> Will it be enough to add strict fp tests similar to those made for AArch64?
Yeah I think so for the most part. There is the added complication of soft-fp
but it should mostly be a case of testing all the strict-fp operations under a
couple of configs to make sure everything
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina
Message-ID:
In-Reply-To:
owenca
JDPailleux wrote:
Thanks for the review !
https://github.com/llvm/llvm-project/pull/151675
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/JDPailleux updated
https://github.com/llvm/llvm-project/pull/151675
>From 9ade3f40ca81edf6620e3edd72cd928d84a06d5d Mon Sep 17 00:00:00 2001
From: Jean-Didier Pailleux
Date: Tue, 12 Aug 2025 19:28:38 +0200
Subject: [PATCH] [flang] Adding support of -fcoarray flang and init PRI
https://github.com/JDPailleux updated
https://github.com/llvm/llvm-project/pull/151675
>From 9ade3f40ca81edf6620e3edd72cd928d84a06d5d Mon Sep 17 00:00:00 2001
From: Jean-Didier Pailleux
Date: Tue, 12 Aug 2025 19:28:38 +0200
Subject: [PATCH] [flang] Adding support of -fcoarray flang and init PRI
anutosh491 wrote:
Would also probably make sense to add a very simple "Fix me" comment isn't it ?
(skipping them as such conveys that those particular tests probably shouldn't
work for emscripten)
https://github.com/llvm/llvm-project/pull/150977
___
https://github.com/vvuksanovic updated
https://github.com/llvm/llvm-project/pull/150025
>From 118f0c1aff19b7e9db01da349e3089846afd015d Mon Sep 17 00:00:00 2001
From: Vladimir Vuksanovic
Date: Fri, 11 Jul 2025 04:14:43 -0700
Subject: [PATCH 1/4] [Sema] Fix false positive warnings for misaligned
https://github.com/erichkeane auto_merge_disabled
https://github.com/llvm/llvm-project/pull/150025
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
owenca wrote:
Please run `git clang-format` or build `clang-format-check-format` before `git
push`.
https://github.com/llvm/llvm-project/pull/151590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
@@ -38,8 +38,10 @@ class InterpreterTestBase : public ::testing::Test {
}
void SetUp() override {
+#ifndef __EMSCRIPTEN__
if (!HostSupportsJIT())
GTEST_SKIP();
+#endif
anutosh491 wrote:
So trying to understand this better, HostSupportsJIT() wo
@@ -0,0 +1,354 @@
+//===- 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: Apache-2
@@ -47,14 +47,21 @@ TEST_F(NumericLiteralInfoTest, IntegerLiteral) {
// Hexadecimal.
EXPECT_TRUE(verifyInfo(NumericLiteralInfo("0xF"), 1));
EXPECT_TRUE(verifyInfo(NumericLiteralInfo("0XfZ"), 1, npos, npos, 3));
+
+ // C++ suffixes.
+ EXPECT_TRUE(verifyInfo(NumericLitera
@@ -0,0 +1,354 @@
+//===- 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: Apache-2
Author: Chuanqi Xu
Date: 2025-08-14T14:23:14+08:00
New Revision: ab5a5a90c03d25392fcc486a8c587d0dd9b7a0c6
URL:
https://github.com/llvm/llvm-project/commit/ab5a5a90c03d25392fcc486a8c587d0dd9b7a0c6
DIFF:
https://github.com/llvm/llvm-project/commit/ab5a5a90c03d25392fcc486a8c587d0dd9b7a0c6.diff
LO
https://github.com/vgvassilev approved this pull request.
This looks like a reasonable incremental improvement to me. Thank you @mcbarton!
https://github.com/llvm/llvm-project/pull/150977
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://
@@ -0,0 +1,354 @@
+//===- 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: Apache-2
@@ -331,6 +331,104 @@ An overview of all the command-line options:
some-check.SomeOption: 'some value'
...
+Clang-Tidy Automation
+=
+
+:program:`clang-tidy` can analyze multiple source files by specifying them on
the
+command line. For large
@@ -331,6 +331,104 @@ An overview of all the command-line options:
some-check.SomeOption: 'some value'
...
+Clang-Tidy Automation
+=
+
+:program:`clang-tidy` can analyze multiple source files by specifying them on
the
+command line. For large
@@ -331,6 +331,104 @@ An overview of all the command-line options:
some-check.SomeOption: 'some value'
...
+Clang-Tidy Automation
+=
+
+:program:`clang-tidy` can analyze multiple source files by specifying them on
the
+command line. For large
@@ -331,6 +331,104 @@ An overview of all the command-line options:
some-check.SomeOption: 'some value'
...
+Clang-Tidy Automation
+=
+
+:program:`clang-tidy` can analyze multiple source files by specifying them on
the
+command line. For large
https://github.com/carlosgalvezp closed
https://github.com/llvm/llvm-project/pull/153372
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Carlos Galvez
Date: 2025-08-14T07:55:20+02:00
New Revision: 3b6d8798ba0752b78d6c3d1ae13e08fb40a5e4dc
URL:
https://github.com/llvm/llvm-project/commit/3b6d8798ba0752b78d6c3d1ae13e08fb40a5e4dc
DIFF:
https://github.com/llvm/llvm-project/commit/3b6d8798ba0752b78d6c3d1ae13e08fb40a5e4dc.diff
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 HEAD~1 HEAD --extensions cpp,c --
clang/lib/Basic/Targets/ARM.cpp clang/test/Parser/p
ojhunt wrote:
I think closing this is the correct approach and taking some variation of
https://github.com/llvm/llvm-project/pull/153506 - essentially working to
resolve the ODR/ABI impact of -pedantic-errors
https://github.com/llvm/llvm-project/pull/153503
https://github.com/ojhunt closed
https://github.com/llvm/llvm-project/pull/153503
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ojhunt wrote:
I think closing this is the correct approach and taking some variation of
https://github.com/llvm/llvm-project/pull/153506 - essentially working to
resolve the ODR/ABI impact of -pedantic-errors
https://github.com/llvm/llvm-project/pull/153291
https://github.com/ojhunt closed
https://github.com/llvm/llvm-project/pull/153291
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HARSHIL2836R updated
https://github.com/llvm/llvm-project/pull/153166
>From 6c7a972b2e1d01fccf9cc0d1ef562c11525f7d77 Mon Sep 17 00:00:00 2001
From: HARSHIL2836R
Date: Tue, 12 Aug 2025 16:22:48 +0530
Subject: [PATCH 1/9] [clang-tidy] Add documentation for running Clang-Tidy on
https://github.com/HARSHIL2836R updated
https://github.com/llvm/llvm-project/pull/153166
>From 6c7a972b2e1d01fccf9cc0d1ef562c11525f7d77 Mon Sep 17 00:00:00 2001
From: HARSHIL2836R
Date: Tue, 12 Aug 2025 16:22:48 +0530
Subject: [PATCH 1/8] [clang-tidy] Add documentation for running Clang-Tidy on
https://github.com/HARSHIL2836R updated
https://github.com/llvm/llvm-project/pull/153166
>From 6c7a972b2e1d01fccf9cc0d1ef562c11525f7d77 Mon Sep 17 00:00:00 2001
From: HARSHIL2836R
Date: Tue, 12 Aug 2025 16:22:48 +0530
Subject: [PATCH 1/7] [clang-tidy] Add documentation for running Clang-Tidy on
https://github.com/HARSHIL2836R updated
https://github.com/llvm/llvm-project/pull/153166
>From 6c7a972b2e1d01fccf9cc0d1ef562c11525f7d77 Mon Sep 17 00:00:00 2001
From: HARSHIL2836R
Date: Tue, 12 Aug 2025 16:22:48 +0530
Subject: [PATCH 1/6] [clang-tidy] Add documentation for running Clang-Tidy on
https://github.com/Mr-Anyone updated
https://github.com/llvm/llvm-project/pull/152497
>From b48993d25136a769b3b7bf8e8730be1a92ace067 Mon Sep 17 00:00:00 2001
From: Vincent
Date: Thu, 7 Aug 2025 00:24:55 +0800
Subject: [PATCH 1/2] [clang] constexpr __builtin_elementwise_abs support
Added consta
https://github.com/Mr-Anyone updated
https://github.com/llvm/llvm-project/pull/152497
>From b48993d25136a769b3b7bf8e8730be1a92ace067 Mon Sep 17 00:00:00 2001
From: Vincent
Date: Thu, 7 Aug 2025 00:24:55 +0800
Subject: [PATCH 1/2] [clang] constexpr __builtin_elementwise_abs support
Added consta
@@ -566,6 +574,24 @@ ostream& operator<<(ostream& ostream, int i);
// CHECK-MESSAGES: :[[@LINE-1]]:10: warning: use a trailing return type for
this function [modernize-use-trailing-return-type]
// CHECK-FIXES: {{^}}ostream& operator<<(ostream& ostream, int i);{{$}}
+//
+// Wa
https://github.com/Mr-Anyone updated
https://github.com/llvm/llvm-project/pull/152497
>From b48993d25136a769b3b7bf8e8730be1a92ace067 Mon Sep 17 00:00:00 2001
From: Vincent
Date: Thu, 7 Aug 2025 00:24:55 +0800
Subject: [PATCH 1/2] [clang] constexpr __builtin_elementwise_abs support
Added consta
https://github.com/ojhunt closed
https://github.com/llvm/llvm-project/pull/152978
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Oliver Hunt
Date: 2025-08-13T22:01:24-07:00
New Revision: d8850ee6c08fe38d992fb6f61d55a6afcaad6e6a
URL:
https://github.com/llvm/llvm-project/commit/d8850ee6c08fe38d992fb6f61d55a6afcaad6e6a
DIFF:
https://github.com/llvm/llvm-project/commit/d8850ee6c08fe38d992fb6f61d55a6afcaad6e6a.diff
L
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/129406
___
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/153372
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rjmccall approved this pull request.
https://github.com/llvm/llvm-project/pull/152978
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rupprecht closed
https://github.com/llvm/llvm-project/pull/89167
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4540,6 +4540,7 @@ defm aarch64_jump_table_hardening:
OptInCC1FFlag<"aarch64-jump-table-hardening",
defm ptrauth_objc_isa : OptInCC1FFlag<"ptrauth-objc-isa", "Enable signing and
authentication of Objective-C object's 'isa' field">;
defm ptrauth_objc_interface_sel : OptInCC1
https://github.com/naveen-seth edited
https://github.com/llvm/llvm-project/pull/145221
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp,c --
clang/lib/AST/ByteCode/InterpBuiltin.cpp clang/lib/
https://github.com/naveen-seth edited
https://github.com/llvm/llvm-project/pull/145221
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/naveen-seth edited
https://github.com/llvm/llvm-project/pull/145221
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Mr-Anyone updated
https://github.com/llvm/llvm-project/pull/152497
>From b48993d25136a769b3b7bf8e8730be1a92ace067 Mon Sep 17 00:00:00 2001
From: Vincent
Date: Thu, 7 Aug 2025 00:24:55 +0800
Subject: [PATCH 1/2] [clang] constexpr __builtin_elementwise_abs support
Added consta
@@ -188,13 +192,23 @@ class FullDependencyConsumer : public DependencyConsumer {
ContextHash = std::move(Hash);
}
+ void handleProvidedAndRequiredStdCXXModules(
+ std::optional Provided,
+ std::vector Requires) override {
+ModuleName = Provided ? Provided-
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/152978
>From f5ab1451ccde9fdb14f5f933143c26e8154c4ff2 Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Sat, 9 Aug 2025 21:28:40 -0700
Subject: [PATCH] [clang][Obj-C][PAC] Add support for authenticating block
metadata
https://github.com/Mr-Anyone updated
https://github.com/llvm/llvm-project/pull/152497
>From b48993d25136a769b3b7bf8e8730be1a92ace067 Mon Sep 17 00:00:00 2001
From: Vincent
Date: Thu, 7 Aug 2025 00:24:55 +0800
Subject: [PATCH 1/2] [clang] constexpr __builtin_elementwise_abs support
Added consta
@@ -0,0 +1,157 @@
+// RUN: %clang_cc1 -fsycl-is-host -std=c++17 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsycl-is-device -std=c++17 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsycl-is-host -std=c++20 -fsyntax-only -verify -DCPP20 %s
+// RUN: %clang_cc1 -fsycl-is-device -st
@@ -250,6 +250,20 @@ static bool CheckSYCLKernelName(Sema &S, SourceLocation
Loc,
return false;
}
+void SemaSYCL::CheckSYCLExternalFunctionDecl(FunctionDecl *FD) {
+ const auto *SEAttr = FD->getAttr();
+ assert(SEAttr && "Missing sycl_external attribute");
+ if (!FD->isE
@@ -0,0 +1,157 @@
+// RUN: %clang_cc1 -fsycl-is-host -std=c++17 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsycl-is-device -std=c++17 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsycl-is-host -std=c++20 -fsyntax-only -verify -DCPP20 %s
+// RUN: %clang_cc1 -fsycl-is-device -st
@@ -0,0 +1,78 @@
+// RUN: %clang_cc1 -fsycl-is-device -triple spir64-unknown-unknown
-disable-llvm-passes -emit-llvm %s -o - | FileCheck %s
+
+// This test code generation when sycl_external attribute is used
+
+// Function defined and not used - symbols emitted
+[[clang::sycl_ex
@@ -0,0 +1,78 @@
+// RUN: %clang_cc1 -fsycl-is-device -triple spir64-unknown-unknown
-disable-llvm-passes -emit-llvm %s -o - | FileCheck %s
+
+// This test code generation when sycl_external attribute is used
+
+// Function defined and not used - symbols emitted
+[[clang::sycl_ex
https://github.com/tahonermann edited
https://github.com/llvm/llvm-project/pull/140282
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,157 @@
+// RUN: %clang_cc1 -fsycl-is-host -std=c++17 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsycl-is-device -std=c++17 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsycl-is-host -std=c++20 -fsyntax-only -verify -DCPP20 %s
+// RUN: %clang_cc1 -fsycl-is-device -st
https://github.com/tahonermann requested changes to this pull request.
Suggestions to address the diagnostic issues with explicit and implicit
template instantiations as well as a couple of additional tests.
https://github.com/llvm/llvm-project/pull/140282
__
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/153529
Fixes #153448
>From a2ae89cec74b1151680dfa1270ceca336dc5b8a7 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Wed, 13 Aug 2025 20:09:36 -0700
Subject: [PATCH] [clang-format] Allow breaking before bit-field colons
@@ -4540,6 +4540,7 @@ defm aarch64_jump_table_hardening:
OptInCC1FFlag<"aarch64-jump-table-hardening",
defm ptrauth_objc_isa : OptInCC1FFlag<"ptrauth-objc-isa", "Enable signing and
authentication of Objective-C object's 'isa' field">;
defm ptrauth_objc_interface_sel : OptInCC1
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: owenca (owenca)
Changes
Fixes #153448
---
Full diff: https://github.com/llvm/llvm-project/pull/153529.diff
2 Files Affected:
- (modified) clang/lib/Format/TokenAnnotator.cpp (+2-1)
- (modified) clang/unittests/Format/FormatTest.
@@ -2406,6 +2406,208 @@ OpFoldResult RotateOp::fold(FoldAdaptor adaptor) {
return IntAttr::get(input.getContext(), input.getType(), resultValue);
}
+//===--===//
+// InlineAsmOp
+//===---
@@ -2239,6 +2239,89 @@ def CIR_StackRestoreOp : CIR_Op<"stackrestore"> {
let assemblyFormat = "$ptr attr-dict `:` qualified(type($ptr))";
}
+//===--===//
+// InlineAsmOp
+//===---
https://github.com/el-ev updated
https://github.com/llvm/llvm-project/pull/153362
>From fc90a55f870ef7ac91628f3538121b28616a070f Mon Sep 17 00:00:00 2001
From: Iris Shi <0...@owo.li>
Date: Wed, 13 Aug 2025 13:18:57 +0800
Subject: [PATCH 1/3] [CIR] Add `InlineAsmOp`
---
clang/include/clang/CIR/
@@ -0,0 +1,77 @@
+// RUN: %clang_cc1 -fsycl-is-device -triple spir64-unknown-unknown
-disable-llvm-passes -emit-llvm %s -o - | FileCheck %s
+
+// This test code generation when sycl_external attribute is used
+
+// Function defined and not used - symbols emitted
+[[clang::sycl_ex
https://github.com/owenca milestoned
https://github.com/llvm/llvm-project/pull/153529
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca milestoned
https://github.com/llvm/llvm-project/pull/153525
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shafik edited
https://github.com/llvm/llvm-project/pull/145221
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -188,13 +192,23 @@ class FullDependencyConsumer : public DependencyConsumer {
ContextHash = std::move(Hash);
}
+ void handleProvidedAndRequiredStdCXXModules(
+ std::optional Provided,
+ std::vector Requires) override {
+ModuleName = Provided ? Provided-
https://github.com/shafik commented:
Apologies for t
https://github.com/llvm/llvm-project/pull/145221
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shafik edited
https://github.com/llvm/llvm-project/pull/145221
___
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: Shafik Yaghmour (shafik)
Changes
Static analysis flagged the columns - 1 code, it was correct but the assumption
was not obvious. I document the assumption w/ assertions.
While digging through related code I found getColumnNumber that loo
https://github.com/shafik created
https://github.com/llvm/llvm-project/pull/153527
Static analysis flagged the columns - 1 code, it was correct but the assumption
was not obvious. I document the assumption w/ assertions.
While digging through related code I found getColumnNumber that looks wro
https://github.com/topperc approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/150724
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/153525
Fixes #153443
>From 5d2bdf267bace3a1e6314fc82ad2e1b110b1ffb4 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Wed, 13 Aug 2025 19:21:29 -0700
Subject: [PATCH] [clang-format] Don't annotate class specifiers as Start
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: owenca (owenca)
Changes
Fixes #153443
---
Full diff: https://github.com/llvm/llvm-project/pull/153525.diff
2 Files Affected:
- (modified) clang/lib/Format/TokenAnnotator.cpp (+3)
- (modified) clang/unittests/Format/TokenAnnotato
https://github.com/yxsamliu updated
https://github.com/llvm/llvm-project/pull/153501
>From 8fef1b8dd9d91513c705c460e868ac5507eb4aea Mon Sep 17 00:00:00 2001
From: "Yaxun (Sam) Liu"
Date: Wed, 13 Aug 2025 09:18:36 -0400
Subject: [PATCH] [AMDGPU] Extend __builtin_amdgcn_ds_bpermute argument types
@@ -159,6 +159,119 @@ Value *EmitAMDGPUGridSize(CodeGenFunction &CGF, unsigned
Index) {
llvm::MDNode::get(CGF.getLLVMContext(), {}));
return LD;
}
+// Lowers __builtin_amdgcn_ds_bpermute to the corresponding LLVM intrinsic with
+// careful bit-level coercio
@@ -1,11 +1,11 @@
-// RUN: %clang_cc1 %s -emit-llvm -o -
+// RUN: %clang_cc1 %s -emit-llvm -flax-vector-conversions=none -o -
typedef float __m128 __attribute__((__vector_size__(16)));
typedef long long __v2di __attribute__((__vector_size__(16)));
typedef int __v4si __attrib
@@ -1,16 +1,16 @@
// REQUIRES: x86-registered-target
-// RUN: %clang_cc1 %s -triple=i686-apple-darwin -target-feature +ssse3 -O1 -S
-o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple=i686-apple-darwin -target-feature +ssse3 -O1 -S
-flax-vector-conversions=none -o - | FileCheck
wenju-he wrote:
> If you want to use these implementations, I'd rather merge the OCML content
> into libclc and migrate over to using it.
Tag @frasercrmck
The amdgcn implementation probably needs improvement to use llvm elementwise
builtin for e.g. half/float exp*
https://github.com/llvm/llv
@@ -18,6 +18,132 @@
#include "llvm/Support/AtomicOrdering.h"
#include
+namespace {
+
+using llvm::StringRef;
+using namespace clang;
+
+/// Attempts to apply a user-defined conversion on Arg at ArgIndex to a
+/// 32-bit-compatible type. If successful, updates TheCall's argume
@@ -56,11 +56,6 @@ namespace Vector {
static_assert(__builtin_vectorelements(v2) == (32 / sizeof(double)), "");
}
-namespace {
- typedef float __attribute__((vector_size(16))) VI42;
- constexpr VI42 A2 = A;
phoebewang wrote:
Can we change it to `A2 = {1.f
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
Author: Wenju He (wenju-he)
Changes
This unifies naming scheme of macros to address review comment
https://github.com/intel/llvm/pull/19779#discussion_r2272194357
math constant value macros are not changed, e.g.
`#define AU0 -9.864942924
4vtomat wrote:
rebase
https://github.com/llvm/llvm-project/pull/150724
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/4vtomat updated
https://github.com/llvm/llvm-project/pull/150724
>From 2443b99d779a8a8fcb958ca991928ea261fae75c Mon Sep 17 00:00:00 2001
From: Brandon Wu
Date: Fri, 25 Jul 2025 16:49:54 -0700
Subject: [PATCH 1/3] [RISCV][llvm] Support fixed-length vector inline assembly
cons
TianYe717 wrote:
@RKSimon I've updated the patch against trunk, applied clang-format, and
ensured the tests run for both C and C++ constexpr cases. Could you please take
another look?
https://github.com/llvm/llvm-project/pull/153363
___
cfe-commits m
@@ -4540,6 +4540,7 @@ defm aarch64_jump_table_hardening:
OptInCC1FFlag<"aarch64-jump-table-hardening",
defm ptrauth_objc_isa : OptInCC1FFlag<"ptrauth-objc-isa", "Enable signing and
authentication of Objective-C object's 'isa' field">;
defm ptrauth_objc_interface_sel : OptInCC1
https://github.com/TianYe717 updated
https://github.com/llvm/llvm-project/pull/153363
>From 614af4a5e03568205e52e01007f5c84b65c520ff Mon Sep 17 00:00:00 2001
From: Ye Tian <939808...@qq.com>
Date: Wed, 13 Aug 2025 15:26:48 +0800
Subject: [PATCH] [Headers][X86] Allow AVX2/AVX512 broadcast intrins
@@ -4540,6 +4540,7 @@ defm aarch64_jump_table_hardening:
OptInCC1FFlag<"aarch64-jump-table-hardening",
defm ptrauth_objc_isa : OptInCC1FFlag<"ptrauth-objc-isa", "Enable signing and
authentication of Objective-C object's 'isa' field">;
defm ptrauth_objc_interface_sel : OptInCC1
https://github.com/link-xyq updated
https://github.com/llvm/llvm-project/pull/151706
From bc0277022da5020cf8e4903e4d518bbd844026a5 Mon Sep 17 00:00:00 2001
From: xuqian
Date: Fri, 1 Aug 2025 22:26:16 +0800
Subject: [PATCH 01/15] [RISCV] Add SpacemiT XSMTVDot (SpacemiT Vector Dot
Product) exten
https://github.com/rjmccall commented:
Generally LGTM
https://github.com/llvm/llvm-project/pull/152978
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rjmccall edited
https://github.com/llvm/llvm-project/pull/152978
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -159,6 +159,119 @@ Value *EmitAMDGPUGridSize(CodeGenFunction &CGF, unsigned
Index) {
llvm::MDNode::get(CGF.getLLVMContext(), {}));
return LD;
}
+// Lowers __builtin_amdgcn_ds_bpermute to the corresponding LLVM intrinsic with
+// careful bit-level coercio
@@ -159,6 +159,119 @@ Value *EmitAMDGPUGridSize(CodeGenFunction &CGF, unsigned
Index) {
llvm::MDNode::get(CGF.getLLVMContext(), {}));
return LD;
}
+// Lowers __builtin_amdgcn_ds_bpermute to the corresponding LLVM intrinsic with
+// careful bit-level coercio
@@ -159,6 +159,119 @@ Value *EmitAMDGPUGridSize(CodeGenFunction &CGF, unsigned
Index) {
llvm::MDNode::get(CGF.getLLVMContext(), {}));
return LD;
}
+// Lowers __builtin_amdgcn_ds_bpermute to the corresponding LLVM intrinsic with
+// careful bit-level coercio
1 - 100 of 277 matches
Mail list logo