@@ -50,6 +101,44 @@ class BuiltinFunctionChecker : public Checker {
} // namespace
+void BuiltinFunctionChecker::HandleOverflowBuiltin(const CallEvent &Call,
+ CheckerContext &C,
+
@@ -278,6 +278,23 @@ int *mallocRegion(void) {
return mem;
}
+int *custom_calloc(size_t a, size_t b) {
+ size_t res;
+ if (__builtin_mul_overflow(a, b, &res))
+return 0;
+
+ return malloc(res);
steakhal wrote:
Have you considered using a ternary oper
@@ -0,0 +1,65 @@
+// RUN: %clang_analyze_cc1 -triple x86_64-unknown-unknown -verify %s \
+// RUN: -analyzer-checker=core,debug.ExprInspection
+
+#define NULL ((void *)0)
+#define INT_MAX __INT_MAX__
+
+void clang_analyzer_dump_int(int);
+
+void test1(void)
+{
+ int res;
+
+
@@ -278,6 +278,23 @@ int *mallocRegion(void) {
return mem;
}
+int *custom_calloc(size_t a, size_t b) {
+ size_t res;
+ if (__builtin_mul_overflow(a, b, &res))
+return 0;
+
+ return malloc(res);
+}
+
+int *mallocRegionOverflow(void) {
+ int *mem = (int*)custom_calloc(
@@ -0,0 +1,65 @@
+// RUN: %clang_analyze_cc1 -triple x86_64-unknown-unknown -verify %s \
+// RUN: -analyzer-checker=core,debug.ExprInspection
+
+#define NULL ((void *)0)
+#define INT_MAX __INT_MAX__
+
+void clang_analyzer_dump_int(int);
+
+void test1(void)
+{
+ int res;
+
+
@@ -50,6 +101,44 @@ class BuiltinFunctionChecker : public Checker {
} // namespace
+void BuiltinFunctionChecker::HandleOverflowBuiltin(const CallEvent &Call,
+ CheckerContext &C,
+
https://github.com/steakhal edited
https://github.com/llvm/llvm-project/pull/102602
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2507,6 +2507,7 @@ static void CollectArgsForIntegratedAssembler(Compilation
&C,
bool Crel = false, ExperimentalCrel = false;
bool UseRelaxRelocations = C.getDefaultToolChain().useRelaxRelocations();
bool UseNoExecStack = false;
+ bool Msa = false;
M
Author: Peter Rong
Date: 2024-08-09T13:04:25-07:00
New Revision: 74e4694b8cbdb918abd4645e2c5027359904fb92
URL:
https://github.com/llvm/llvm-project/commit/74e4694b8cbdb918abd4645e2c5027359904fb92
DIFF:
https://github.com/llvm/llvm-project/commit/74e4694b8cbdb918abd4645e2c5027359904fb92.diff
LO
https://github.com/DataCorrupted closed
https://github.com/llvm/llvm-project/pull/101114
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -12,12 +12,47 @@
//===--===//
#include "llvm/Transforms/Instrumentation.h"
+#include "llvm/IR/DiagnosticInfo.h"
+#include "llvm/IR/DiagnosticPrinter.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/I
https://github.com/aganea created
https://github.com/llvm/llvm-project/pull/102681
Before this PR, when using the latest MSVC `Microsoft (R) C/C++ Optimizing
Compiler Version 19.40.33813 for x64` one of the Clang unit test used to fail:
`CodeGenObjC/gnustep2-direct-method.m`, see full failure
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Alexandre Ganea (aganea)
Changes
Before this PR, when using the latest MSVC `Microsoft (R) C/C++ Optimizing
Compiler Version 19.40.33813 for x64` one of the Clang unit test used to fail:
`CodeGenObjC/gnustep2-direct-method.m`, see full fa
https://github.com/vitalybuka approved this pull request.
https://github.com/llvm/llvm-project/pull/99439
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/aganea edited
https://github.com/llvm/llvm-project/pull/102681
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/aganea edited
https://github.com/llvm/llvm-project/pull/102681
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bob80905 created
https://github.com/llvm/llvm-project/pull/102683
This PR adds the normalize intrinsic and an HLSL function that uses it.
The SPIRV backend is also implemented.
Used https://github.com/llvm/llvm-project/pull/101256 as a reference, along
with https://github.co
llvmbot wrote:
@llvm/pr-subscribers-llvm-ir
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-codegen
Author: Joshua Batista (bob80905)
Changes
This PR adds the normalize intrinsic and an HLSL function that uses it.
The SPIRV backend is also implemented.
Used https://github.com/llvm/l
llvmbot wrote:
@llvm/pr-subscribers-backend-directx
Author: Joshua Batista (bob80905)
Changes
This PR adds the normalize intrinsic and an HLSL function that uses it.
The SPIRV backend is also implemented.
Used https://github.com/llvm/llvm-project/pull/101256 as a reference, along
with ht
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: Joshua Batista (bob80905)
Changes
This PR adds the normalize intrinsic and an HLSL function that uses it.
The SPIRV backend is also implemented.
Used https://github.com/llvm/llvm-project/pull/101256 as a reference, along
with https:
@@ -21,16 +21,67 @@
#include "clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
+#include "clang/StaticAnalyzer/Core/PathSensitive/Checker
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 d0fe470fd2b32de96762465fac130c13e9a1f782
fae41f3ac5befcd6890b174d9ac08487ae088a58 --e
https://github.com/Harini0924 updated
https://github.com/llvm/llvm-project/pull/102647
>From 658af04b25dfdb00d418936d576d13f301ffe0e6 Mon Sep 17 00:00:00 2001
From: Harini
Date: Tue, 6 Aug 2024 04:40:30 +
Subject: [PATCH 1/3] [llvm-lit] Replace Shell Substitutions with lit Syntax
for Envir
@@ -87,12 +87,13 @@
/// -gcc has lowest priority so -gcc
/// on PATH beats default triple in program path
-// RUN: DEFAULT_TRIPLE=`%t/clang --version | grep "Target:" | cut -d ' ' -f2`
-// RUN: touch %t/$DEFAULT_TRIPLE-gcc && chmod +x %t/$DEFAULT_TRIPLE-gcc
-// RUN: touch %t/%
https://github.com/aganea edited
https://github.com/llvm/llvm-project/pull/102681
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -278,6 +278,23 @@ int *mallocRegion(void) {
return mem;
}
+int *custom_calloc(size_t a, size_t b) {
+ size_t res;
+ if (__builtin_mul_overflow(a, b, &res))
+return 0;
+
+ return malloc(res);
+}
+
+int *mallocRegionOverflow(void) {
+ int *mem = (int*)custom_calloc(
asl wrote:
> Failed to cherry-pick:
> [d179acd](https://github.com/llvm/llvm-project/commit/d179acd0484bac30c5ebbbed4d29a4734d92ac93)
>
> https://github.com/llvm/llvm-project/actions/runs/10324823761
>
> Please manually backport the fix and push it to your github fork. Once this
> is done, pl
https://github.com/pskrgag updated
https://github.com/llvm/llvm-project/pull/102602
>From 3e0fcffa8fbea5f89ab927fd897c451bcafd8e5e Mon Sep 17 00:00:00 2001
From: Pavel Skripkin
Date: Fri, 9 Aug 2024 14:37:47 +0300
Subject: [PATCH 1/2] clang/csa: add initial support for builtin overflow
---
..
https://github.com/aganea edited
https://github.com/llvm/llvm-project/pull/102681
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -50,6 +101,44 @@ class BuiltinFunctionChecker : public Checker {
} // namespace
+void BuiltinFunctionChecker::HandleOverflowBuiltin(const CallEvent &Call,
+ CheckerContext &C,
+
@@ -50,6 +101,44 @@ class BuiltinFunctionChecker : public Checker {
} // namespace
+void BuiltinFunctionChecker::HandleOverflowBuiltin(const CallEvent &Call,
+ CheckerContext &C,
+
https://github.com/pskrgag deleted
https://github.com/llvm/llvm-project/pull/102602
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/pskrgag edited
https://github.com/llvm/llvm-project/pull/102602
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bob80905 updated
https://github.com/llvm/llvm-project/pull/102683
>From f604acbb260911be7eb25d927aa91dc5b2994e93 Mon Sep 17 00:00:00 2001
From: Joshua Batista
Date: Fri, 9 Aug 2024 10:48:10 -0700
Subject: [PATCH 1/5] suboptimal expansion of normalize done
---
clang/include/
https://github.com/aganea edited
https://github.com/llvm/llvm-project/pull/102681
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
MaskRay wrote:
I am still nervous as newer instrumentations might all need to know about the
special property.
Is it useful to restrict this to HIP programs, at least before we gain more
experience to comfortably apply this to other configurations?
I do worry that such a change will cause us n
@@ -950,6 +950,9 @@ void CodeGenModule::Release() {
UsedArray.push_back(llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast(
GetAddrOfGlobal(GD), Int8PtrTy));
}
+// Sort decls by name to always emit them in deterministic order.
rnk wrot
@@ -386,6 +386,10 @@ def __contains__(self, other):
# same file, in between lines
if self.start.line < other.line < self.end.line:
return True
+# between columns in one-liner range
+elif self.start.line == other.line == self.end.line:
https://github.com/DeinAlptraum edited
https://github.com/llvm/llvm-project/pull/101802
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DeinAlptraum edited
https://github.com/llvm/llvm-project/pull/101802
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jessica Clarke
Date: 2024-08-09T22:52:08+01:00
New Revision: e91e0f52895e2b23bd690a86dbaafd979e027d29
URL:
https://github.com/llvm/llvm-project/commit/e91e0f52895e2b23bd690a86dbaafd979e027d29
DIFF:
https://github.com/llvm/llvm-project/commit/e91e0f52895e2b23bd690a86dbaafd979e027d29.diff
https://github.com/jrtc27 closed
https://github.com/llvm/llvm-project/pull/101765
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vitalybuka wrote:
> I remain concerned that newly developed instrumentations may require this
> special property. Is it useful to restrict this to HIP programs, at least
> before we gain more experience to comfortably apply this to other
> configurations?
>
> I'm also worried that this change
https://github.com/DeinAlptraum edited
https://github.com/llvm/llvm-project/pull/101802
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/compnerd approved this pull request.
Might be nice to clean this up in the future but hen Microsoft releases a fix.
https://github.com/llvm/llvm-project/pull/102681
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://list
@@ -950,6 +950,9 @@ void CodeGenModule::Release() {
UsedArray.push_back(llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast(
GetAddrOfGlobal(GD), Int8PtrTy));
}
+// Sort decls by name to always emit them in deterministic order.
Artem-B
https://github.com/Artem-B edited
https://github.com/llvm/llvm-project/pull/102661
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bob80905 updated
https://github.com/llvm/llvm-project/pull/102683
>From f604acbb260911be7eb25d927aa91dc5b2994e93 Mon Sep 17 00:00:00 2001
From: Joshua Batista
Date: Fri, 9 Aug 2024 10:48:10 -0700
Subject: [PATCH 1/6] suboptimal expansion of normalize done
---
clang/include/
https://github.com/Artem-B updated
https://github.com/llvm/llvm-project/pull/102661
>From 0f3944e1c12baa958f52c3c015a0cf5f9aeff1ed Mon Sep 17 00:00:00 2001
From: Artem Belevich
Date: Fri, 9 Aug 2024 11:51:23 -0700
Subject: [PATCH 1/2] [CUDA] Emit used function list in deterministic order.
Fixe
https://github.com/pizzud updated
https://github.com/llvm/llvm-project/pull/67467
>From 04a3e8d8cbd6943f44a81fddb0524902202a1a78 Mon Sep 17 00:00:00 2001
From: David Pizzuto
Date: Tue, 26 Sep 2023 10:45:42 -0700
Subject: [PATCH 01/12] [clang-tidy] Add bugprone-move-shared-pointer-contents
chec
@@ -0,0 +1,142 @@
+//===--- MoveSharedPointerContentsCheck.cpp - clang-tidy
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,142 @@
+//===--- MoveSharedPointerContentsCheck.cpp - clang-tidy
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,142 @@
+//===--- MoveSharedPointerContentsCheck.cpp - clang-tidy
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
https://github.com/ilovepi edited
https://github.com/llvm/llvm-project/pull/101108
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -632,6 +633,19 @@ static std::unique_ptr genHTML(const CommentInfo
&I) {
return std::move(ParagraphComment);
}
+ if (I.Kind == "BlockCommandComment") {
+auto BlockComment = std::make_unique(HTMLTag::TAG_DIV);
+auto Command = std::make_unique(HTMLTag::TAG_DIV
https://github.com/ilovepi approved this pull request.
LGTM. I left a few minor comments. Feel free to land once those are done and CI
is passing.
https://github.com/llvm/llvm-project/pull/101108
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
@@ -632,6 +633,19 @@ static std::unique_ptr genHTML(const CommentInfo
&I) {
return std::move(ParagraphComment);
}
+ if (I.Kind == "BlockCommandComment") {
+auto BlockComment = std::make_unique(HTMLTag::TAG_DIV);
+BlockComment->Children.emplace_back(
+st
@@ -59,32 +59,63 @@
// HTML-SHAPE: class Shape
// HTML-SHAPE: Defined at line 8 of file {{.*}}Shape.h
+// HTML-SHAPE: brief
+// HTML-SHAPE: Abstract base class for shapes.
// HTML-SHAPE: Provides a common interface for different types of
shapes.
// HTML-SHAPE: Functions
@@ -59,32 +59,63 @@
// HTML-SHAPE: class Shape
// HTML-SHAPE: Defined at line 8 of file {{.*}}Shape.h
+// HTML-SHAPE: brief
+// HTML-SHAPE: Abstract base class for shapes.
// HTML-SHAPE: Provides a common interface for different types of
shapes.
// HTML-SHAPE: Functions
b-sumner wrote:
Also
> I remain concerned that newly developed instrumentations may require this
> special property. Is it useful to restrict this to HIP programs, at least
> before we gain more experience to comfortably apply this to other
> configurations?
>
> I'm also worried that this c
@@ -632,6 +633,19 @@ static std::unique_ptr genHTML(const CommentInfo
&I) {
return std::move(ParagraphComment);
}
+ if (I.Kind == "BlockCommandComment") {
+auto BlockComment = std::make_unique(HTMLTag::TAG_DIV);
+BlockComment->Children.emplace_back(
+st
https://github.com/EthanLuisMcDonough created
https://github.com/llvm/llvm-project/pull/102691
This pull request is a revised version of #76587. This pull request fixes some
build issues that were present in the previous version of this change.
> This pull request is the first part of an ongoi
llvmbot wrote:
@llvm/pr-subscribers-pgo
Author: Ethan Luis McDonough (EthanLuisMcDonough)
Changes
This pull request is a revised version of #76587. This pull request
fixes some build issues that were present in the previous version of this
change.
> This pull request is the first part o
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ethan Luis McDonough (EthanLuisMcDonough)
Changes
This pull request is a revised version of #76587. This pull request
fixes some build issues that were present in the previous version of this
change.
> This pull request is the first part
https://github.com/ilovepi approved this pull request.
https://github.com/llvm/llvm-project/pull/101255
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
bwendling wrote:
> So the idea here is that if the struct in question uses counted_by, you
> automatically set the count... and if, for whatever reason, the compiler
> can't find the corresponding field, you just throw away the count? That seems
> like an terrifying API; it's impossible to pre
@@ -431,6 +431,8 @@ struct EnumValueInfo {
// Stores the user-supplied initialization expression for this enumeration
// constant. This will be empty for implicit enumeration values.
SmallString<16> ValueExpr;
+
+ std::vector Description; // Comment description of this f
@@ -372,14 +397,33 @@ genEnumsBlock(const std::vector &Enums,
}
static std::unique_ptr
-genEnumMembersBlock(const llvm::SmallVector &Members) {
+genEnumMembersBlock(const llvm::SmallVector &Members,
+bool HasComments) {
if (Members.empty())
return n
@@ -394,10 +394,20 @@ static void parseEnumerators(EnumInfo &I, const EnumDecl
*D) {
std::string ValueExpr;
if (const Expr *InitExpr = E->getInitExpr())
ValueExpr = getSourceCode(D, InitExpr->getSourceRange());
-
SmallString<16> ValueStr;
E->getInitVal(
@@ -653,15 +697,35 @@ static std::vector>
genHTML(const EnumInfo &I, const ClangDocContext &CDCtx) {
std::vector> Out;
std::string EnumType = I.Scoped ? "enum class " : "enum ";
+ // Determine if enum members have comments attached
+ bool HasComments = false;
+ for (cons
@@ -653,15 +697,35 @@ static std::vector>
genHTML(const EnumInfo &I, const ClangDocContext &CDCtx) {
std::vector> Out;
std::string EnumType = I.Scoped ? "enum class " : "enum ";
+ // Determine if enum members have comments attached
+ bool HasComments = false;
+ for (cons
https://github.com/malavikasamak updated
https://github.com/llvm/llvm-project/pull/101585
>From 1ecd91c03f6de92153809402b10f99e5f649787f Mon Sep 17 00:00:00 2001
From: MalavikaSamak
Date: Thu, 1 Aug 2024 11:01:36 -0700
Subject: [PATCH 1/5] [-Wunsafe-buffer-usage] Support adding
unsafe_buffer_u
https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/102549
>From 7ba43ae2b737fbd868848a23b58b3965f8d36ce1 Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Tue, 6 Aug 2024 17:49:01 -0700
Subject: [PATCH 01/10] [WIP][Clang] Add __builtin_get_counted_by builtin
The __
https://github.com/bob80905 updated
https://github.com/llvm/llvm-project/pull/102683
>From f604acbb260911be7eb25d927aa91dc5b2994e93 Mon Sep 17 00:00:00 2001
From: Joshua Batista
Date: Fri, 9 Aug 2024 10:48:10 -0700
Subject: [PATCH 1/7] suboptimal expansion of normalize done
---
clang/include/
https://github.com/bob80905 updated
https://github.com/llvm/llvm-project/pull/102683
>From f604acbb260911be7eb25d927aa91dc5b2994e93 Mon Sep 17 00:00:00 2001
From: Joshua Batista
Date: Fri, 9 Aug 2024 10:48:10 -0700
Subject: [PATCH 1/8] suboptimal expansion of normalize done
---
clang/include/
https://github.com/dfukalov closed
https://github.com/llvm/llvm-project/pull/102306
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ilovepi approved this pull request.
LGTM, once that last nit is fixed, assuming CI is passing.
https://github.com/llvm/llvm-project/pull/102647
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
@@ -87,8 +87,8 @@
/// -gcc has lowest priority so -gcc
/// on PATH beats default triple in program path
-// RUN: DEFAULT_TRIPLE=`%t/clang --version | grep "Target:" | cut -d ' ' -f2`
-// RUN: touch %t/$DEFAULT_TRIPLE-gcc && chmod +x %t/$DEFAULT_TRIPLE-gcc
+// RUN: %clang --ver
https://github.com/ilovepi edited
https://github.com/llvm/llvm-project/pull/102647
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-lld-macho
Author: Daniil Fukalov (dfukalov)
Changes
Update according IWYU
- include files in lib/ADT and
- both include and cpp files in lib/Support.
Firstly processed the sources by scripts from
https://github.com/include-what-you-use/include-what-you
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Daniil Fukalov (dfukalov)
Changes
Update according IWYU
- include files in lib/ADT and
- both include and cpp files in lib/Support.
Firstly processed the sources by scripts from
https://github.com/include-what-you-use/include-what-you-use
llvmbot wrote:
@llvm/pr-subscribers-bolt
@llvm/pr-subscribers-backend-risc-v
@llvm/pr-subscribers-lld-elf
Author: Daniil Fukalov (dfukalov)
Changes
Update according IWYU
- include files in lib/ADT and
- both include and cpp files in lib/Support.
Firstly processed the sources by scripts fr
github-actions[bot] wrote:
⚠️ We detected that you are using a GitHub private e-mail address to contribute
to the repo. Please turn off [Keep my email addresses
private](https://github.com/settings/emails) setting in your account. See
[LLVM
Discourse](https://discourse.llvm.org/t/hidden-email
MaskRay wrote:
> > I remain concerned that newly developed instrumentations may require this
> > special property. Is it useful to restrict this to HIP programs, at least
> > before we gain more experience to comfortably apply this to other
> > configurations?
> > I'm also worried that this ch
@@ -4759,6 +4759,55 @@ ParenListExpr *ParenListExpr::CreateEmpty(const
ASTContext &Ctx,
return new (Mem) ParenListExpr(EmptyShell(), NumExprs);
}
+namespace {
bwendling wrote:
You don't need both an anonymous namespace and marking the function 'static'. I
https://github.com/CoTinker updated
https://github.com/llvm/llvm-project/pull/101639
>From 328ae6052894eb45c4e7541dadf63a3a04540cda Mon Sep 17 00:00:00 2001
From: Longsheng Mou
Date: Fri, 2 Aug 2024 16:36:31 +0800
Subject: [PATCH 1/2] [X86_64] Fix empty field error in vaarg of C++.
Such struct
@@ -3124,26 +3124,40 @@ RValue X86_64ABIInfo::EmitVAArg(CodeGenFunction &CGF,
Address VAListAddr,
CGF.Builder.CreateStore(V, CGF.Builder.CreateStructGEP(Tmp, 1));
RegAddr = Tmp.withElementType(LTy);
- } else if (neededInt) {
-RegAddr = Address(CGF.Builder.CreateG
https://github.com/shiltian created
https://github.com/llvm/llvm-project/pull/102715
None
>From 9925e4dc538ffddb86ceff2cc068e3f1ba9f0602 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 9 Aug 2024 22:14:36 -0400
Subject: [PATCH] [Clang][Sema][OpenMP] Allow `thread_limit` to accept multipl
https://github.com/shiltian ready_for_review
https://github.com/llvm/llvm-project/pull/102715
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
shiltian wrote:
* **#102715** https://app.graphite.dev/github/pr/llvm/llvm-project/102715?utm_source=stack-comment-icon";
target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite"
width="10px" height="10px"/> 👈
* `main`
This stack of pull requests is managed by Grap
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Shilei Tian (shiltian)
Changes
---
Patch is 32.41 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/102715.diff
19 Files Affected:
- (modified) clang/docs/OpenMPSupport.rst (+2-1)
- (
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/102715
>From ef8bfef43762120d25dda14ff003a322f63d4898 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 9 Aug 2024 22:14:36 -0400
Subject: [PATCH] [Clang][Sema][OpenMP] Allow `thread_limit` to accept multiple
exp
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 3696a34e59396d09231def9ded3d0577dd0f7503
ef8bfef43762120d25dda14ff003a322f63d4898 --e
https://github.com/shiltian created
https://github.com/llvm/llvm-project/pull/102716
None
>From 2850033e440d7c43fcd7bdf55ed05de482697eaa Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 9 Aug 2024 23:11:43 -0400
Subject: [PATCH] [Clang][OpenMP] Fix the wrong transform of `num_teams`
clau
https://github.com/shiltian ready_for_review
https://github.com/llvm/llvm-project/pull/102716
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
shiltian wrote:
* **#102716** https://app.graphite.dev/github/pr/llvm/llvm-project/102716?utm_source=stack-comment-icon";
target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite"
width="10px" height="10px"/> 👈
* `main`
This stack of pull requests is managed by Grap
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Shilei Tian (shiltian)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/102716.diff
1 Files Affected:
- (modified) clang/lib/Sema/TreeTransform.h (+9-4)
``diff
diff --git a/clang/lib/Sema/TreeTransform.h b/cl
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/102715
>From fd59f45bbe6912e3683f4a684fccdcc459bdd58a Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 9 Aug 2024 22:14:36 -0400
Subject: [PATCH] [Clang][Sema][OpenMP] Allow `thread_limit` to accept multiple
exp
https://github.com/EthanLuisMcDonough updated
https://github.com/llvm/llvm-project/pull/102691
>From 24b1a99a1c014e1015fbba137430c5c6f3e414c5 Mon Sep 17 00:00:00 2001
From: Ethan Luis McDonough
Date: Fri, 28 Jun 2024 12:39:19 -0500
Subject: [PATCH 1/4] Changes from old gpuprof branch
---
clan
https://github.com/zyn0217 updated
https://github.com/llvm/llvm-project/pull/102587
>From 62218a472c88764472ffba69ceca1825686fe1b9 Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Fri, 9 Aug 2024 16:32:30 +0800
Subject: [PATCH 1/2] [Clang][Concepts] Fix a constraint comparison regression
for
301 - 400 of 418 matches
Mail list logo