llvmbot wrote:
/pull-request llvm/llvm-project#127918
https://github.com/llvm/llvm-project/pull/127187
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Baranov Victor
Date: 2025-02-20T05:47:17+08:00
New Revision: 8363b0a6bab041b54316962e3e8948098148baeb
URL:
https://github.com/llvm/llvm-project/commit/8363b0a6bab041b54316962e3e8948098148baeb
DIFF:
https://github.com/llvm/llvm-project/commit/8363b0a6bab041b54316962e3e8948098148baeb.diff
https://github.com/a-tarasyuk edited
https://github.com/llvm/llvm-project/pull/123667
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jhuber6 closed
https://github.com/llvm/llvm-project/pull/127890
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2958,6 +2958,8 @@ defm clangir : BoolFOption<"clangir",
BothFlags<[], [ClangOption, CC1Option], "">>;
def emit_cir : Flag<["-"], "emit-cir">, Visibility<[ClangOption, CC1Option]>,
Group, HelpText<"Build ASTs and then lower to ClangIR">;
+def emit_cir_mlir : Flag<["-"],
qiongsiwu wrote:
What is the current plan for this PR? Are we still inclined to reland it this
week? I would like to reduce the downstream churns it is causing. If we intend
to reland it soon, I will not revert everything downstream that is related.
https://github.com/llvm/llvm-project/pull/1
@@ -7115,6 +7115,9 @@ def warn_shift_result_sets_sign_bit : Warning<
"signed shift result (%0) sets the sign bit of the shift expression's "
"type (%1) and becomes negative">,
InGroup>, DefaultIgnore;
+def warn_shift_bool : Warning<
+ "%select{left|right}0 shifting a `bo
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Joseph Huber (jhuber6)
Changes
Summary:
This argument is esoteric and previously didn't even work consistently
across the targets. Now that's fixed we should document it better.
---
Full diff: https://github.com/llvm/llvm-project/pull/127
@@ -11246,6 +11246,12 @@ static void DiagnoseBadShiftValues(Sema& S, ExprResult
&LHS, ExprResult &RHS,
if (S.getLangOpts().OpenCL)
return;
+ if (LHS.get()->IgnoreParenImpCasts()->getType()->isBooleanType()) {
+S.Diag(Loc, diag::warn_shift_bool)
+<< (Opc ==
@@ -461,6 +461,8 @@ def DanglingField : DiagGroup<"dangling-field">;
def DanglingInitializerList : DiagGroup<"dangling-initializer-list">;
def DanglingGsl : DiagGroup<"dangling-gsl">;
def ReturnStackAddress : DiagGroup<"return-stack-address">;
+def ShiftBool: DiagGroup<"shift-b
https://github.com/jhuber6 created
https://github.com/llvm/llvm-project/pull/127890
Summary:
This argument is esoteric and previously didn't even work consistently
across the targets. Now that's fixed we should document it better.
>From a7be26f70a9ba9a381e91b4c6257dc173444c6ef Mon Sep 17 00:00
@@ -224,3 +225,19 @@ mlir::Type CIRGenTypes::convertType(QualType type) {
typeCache[ty] = resultType;
return resultType;
}
+
+mlir::Type CIRGenTypes::convertTypeForMem(clang::QualType qualType,
+ bool forBitField) {
+ assert(!qualTy
@@ -19445,6 +19445,70 @@ Value *CodeGenFunction::EmitHLSLBuiltinExpr(unsigned
BuiltinID,
return nullptr;
switch (BuiltinID) {
+ case Builtin::BI__builtin_hlsl_adduint64: {
+Value *OpA = EmitScalarExpr(E->getArg(0));
+Value *OpB = EmitScalarExpr(E->getArg(1));
+
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/127890
>From d5efc8e10fabb0f2258e0bf5d2e4ce9c0686b911 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Wed, 19 Feb 2025 14:01:56 -0600
Subject: [PATCH] [Clang][Docs] Document -Xarch_ better
Summary:
This argument is
mizvekov wrote:
@cor3ntin ping
https://github.com/llvm/llvm-project/pull/125453
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Sirraide updated
https://github.com/llvm/llvm-project/pull/123470
>From 441385e14210f23a4fe5368d44620073a4347a31 Mon Sep 17 00:00:00 2001
From: Sirraide
Date: Sat, 18 Jan 2025 19:35:01 +0100
Subject: [PATCH 1/6] [Clang] Make -Wreturn-type default to an error in all
language
Sirraide wrote:
ping
https://github.com/llvm/llvm-project/pull/125117
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Icohedron updated
https://github.com/llvm/llvm-project/pull/127098
>From e78176bdcc3d0bf93ace334f68da3dce6f6cd78f Mon Sep 17 00:00:00 2001
From: Icohedron
Date: Wed, 12 Feb 2025 21:24:00 +
Subject: [PATCH 1/7] Implement the 'and' HLSL function
---
clang/include/clang/Ba
@@ -77,19 +77,6 @@ CXString createDup(const char *String) {
return Str;
}
-CXString createRef(StringRef String) {
- if (!String.data())
-return createNull();
-
- // If the string is empty, it might point to a position in another string
- // while having zero length. M
https://github.com/Xazax-hun closed
https://github.com/llvm/llvm-project/pull/127807
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cyndyishida approved this pull request.
thanks!
https://github.com/llvm/llvm-project/pull/127839
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2958,6 +2958,8 @@ defm clangir : BoolFOption<"clangir",
BothFlags<[], [ClangOption, CC1Option], "">>;
def emit_cir : Flag<["-"], "emit-cir">, Visibility<[ClangOption, CC1Option]>,
Group, HelpText<"Build ASTs and then lower to ClangIR">;
+def emit_cir_mlir : Flag<["-"],
https://github.com/qiongsiwu closed
https://github.com/llvm/llvm-project/pull/127839
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
nikic wrote:
Hard to say. As this is a Windows-only issue, I can't debug it, and there's not
a lot to go on here. Unless @zmodem or @Prabhuk can help to find the root
cause, the next thing I'd try is probably to reapply this without the
FunctionAttrs changes -- I think that should be largely N
https://github.com/AlexMaclean updated
https://github.com/llvm/llvm-project/pull/127736
>From fd8f342fa2b65f7604955c88e2b73e758dc17134 Mon Sep 17 00:00:00 2001
From: Alex Maclean
Date: Wed, 19 Feb 2025 02:26:23 +
Subject: [PATCH 1/2] [NVPTX] Convert vector function nvvm.annotations to
attr
@@ -506,24 +507,15 @@ void NVPTXAsmPrinter::emitKernelFunctionDirectives(const
Function &F,
// If the NVVM IR has some of reqntid* specified, then output
// the reqntid directive, and set the unspecified ones to 1.
// If none of Reqntid* is specified, don't output reqnti
w2yehia wrote:
> Doesn't mingw target support it?
Sorry I don't know. I was hoping someone familiar with clang on windows to
comment.
https://github.com/llvm/llvm-project/pull/127858
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lis
https://github.com/Icohedron updated
https://github.com/llvm/llvm-project/pull/125599
>From ff7e6425913d77a66ff47335b6ee0f84f2741034 Mon Sep 17 00:00:00 2001
From: Icohedron
Date: Mon, 3 Feb 2025 23:10:16 +
Subject: [PATCH 1/3] Reapply "Reland "[HLSL] Implement the `reflect` HLSL
function"
mingmingl-llvm wrote:
> > Taking a further look shows these preserved RTTIs come from vtables whose
> > superclass has its type-id accessed.
>
> Thank you for helping evaluate this patch. I am curious about what these type
> IDs is used for—is it for dynamic_cast, exception handling, or the ty
@@ -932,9 +932,18 @@ def W_Joined : Joined<["-"], "W">, Group,
def Xanalyzer : Separate<["-"], "Xanalyzer">,
HelpText<"Pass to the static analyzer">, MetaVarName<"">,
Group;
-def Xarch__ : JoinedAndSeparate<["-"], "Xarch_">, Flags<[NoXarchOption]>,
- HelpText<"Pass to th
owenca wrote:
> > I prefer that we limit this to breaking after the left parenthesis of a
> > control statement, with true/false or Always, Never, Multiline,
> > BlockIndent, etc.
>
> if I understand you correctly, you would like a new style option added for
> setting break option for all con
https://github.com/Sirraide updated
https://github.com/llvm/llvm-project/pull/123470
>From 441385e14210f23a4fe5368d44620073a4347a31 Mon Sep 17 00:00:00 2001
From: Sirraide
Date: Sat, 18 Jan 2025 19:35:01 +0100
Subject: [PATCH 1/9] [Clang] Make -Wreturn-type default to an error in all
language
https://github.com/Sirraide updated
https://github.com/llvm/llvm-project/pull/123470
>From 441385e14210f23a4fe5368d44620073a4347a31 Mon Sep 17 00:00:00 2001
From: Sirraide
Date: Sat, 18 Jan 2025 19:35:01 +0100
Subject: [PATCH 1/8] [Clang] Make -Wreturn-type default to an error in all
language
@@ -11246,6 +11246,12 @@ static void DiagnoseBadShiftValues(Sema& S, ExprResult
&LHS, ExprResult &RHS,
if (S.getLangOpts().OpenCL)
return;
+ if (LHS.get()->IgnoreParenImpCasts()->getType()->isBooleanType()) {
+S.Diag(Loc, diag::warn_shift_bool)
+<< (Opc ==
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/123470
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5059,6 +5092,18 @@ bool static upgradeSingleNVVMAnnotation(GlobalValue *GV,
StringRef K,
cast(GV)->addFnAttr("nvvm.maxnreg", llvm::utostr(CV));
return true;
}
+ if (K.consume_front("maxntid") && (K == "x" || K == "y" || K == "z")) {
Artem-B wrot
@@ -5021,6 +5024,36 @@ bool llvm::UpgradeDebugInfo(Module &M) {
return Modified;
}
+static void upgradeNVVMFnVectorAttr(const StringRef Attr, const char DimC,
+GlobalValue *GV, const Metadata *V) {
+ Function *F = cast(GV);
+
+ constexpr
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/123470
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -11,8 +11,8 @@
///
//===--===//
-#ifndef LLVM_CLANG_CIR_DIALECT_IR_CIROPS
-#define LLVM_CLANG_CIR_DIALECT_IR_CIROPS
+#ifndef CLANG_CIR_DIALECT_IR_CIROPS_TD
andykaylor wrote:
It looks like
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-hlsl
Author: Sarah Spall (spall)
Changes
Enable Arrays to be returned in HLSL, and a test for this.
Closes #126568
---
Full diff: https://github.com/llvm/llvm-project/pull/127896.diff
3 Files Affected:
- (modified) clang/l
Sirraide wrote:
Ok, this is now another NFC pr that just fixes a bunch of tests.
https://github.com/llvm/llvm-project/pull/123470
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ryosuke Niwa
Date: 2025-02-19T13:24:12-08:00
New Revision: 5f8b2568219d5e516928aed67f13b59de8ccee17
URL:
https://github.com/llvm/llvm-project/commit/5f8b2568219d5e516928aed67f13b59de8ccee17
DIFF:
https://github.com/llvm/llvm-project/commit/5f8b2568219d5e516928aed67f13b59de8ccee17.diff
https://github.com/rniwa closed https://github.com/llvm/llvm-project/pull/127570
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
MacDue wrote:
I think this patch should fix the issue:
https://github.com/llvm/llvm-project/pull/127895
https://github.com/llvm/llvm-project/pull/126750
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/lis
https://github.com/spall created
https://github.com/llvm/llvm-project/pull/127896
Enable Arrays to be returned in HLSL, and a test for this.
Closes #126568
>From 362b64d31e5f70e4a26ea04c99a58fd5f5ca50ca Mon Sep 17 00:00:00 2001
From: Sarah Spall
Date: Fri, 14 Feb 2025 12:59:56 -0800
Subject:
https://github.com/metkarpoonam created
https://github.com/llvm/llvm-project/pull/127899
None
>From 3ac4882e65c804c434bf6184559bdc6d9588683f Mon Sep 17 00:00:00 2001
From: Poonam Vilas Metkar
Date: Wed, 19 Feb 2025 13:16:16 -0800
Subject: [PATCH] Added HLSL or intrinsic function with respectiv
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: None (metkarpoonam)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/127899.diff
3 Files Affected:
- (modified) clang/include/clang/Basic/Builtins.td (+7-1)
- (modified) clang/lib/Headers/hlsl/hlsl_intrinsics.h (
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (metkarpoonam)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/127899.diff
3 Files Affected:
- (modified) clang/include/clang/Basic/Builtins.td (+7-1)
- (modified) clang/lib/Headers/hlsl/hlsl_intrinsics.h (+19)
https://github.com/metkarpoonam closed
https://github.com/llvm/llvm-project/pull/127899
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
dtarditi wrote:
Also, please avoid force pushes if you can. It confuses the PR history.
https://github.com/llvm/llvm-project/pull/125671
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi
https://github.com/Icohedron edited
https://github.com/llvm/llvm-project/pull/125599
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
gedare wrote:
> I prefer that we limit this to breaking after the left parenthesis of a
> control statement, with true/false or Always, Never, Multiline, BlockIndent,
> etc.
if I understand you correctly, you would like a new style option added for
setting break option for all control stateme
zyn0217 wrote:
> > Technically swapping the first and second branches I mentioned above should
> > work, but the last time I tried that it caused a regression and was
> > reverted."
>
>
>
> Yeah, swapping the branches would have been a much simpler fix.
>
>
>
> What was the regression? Do
https://github.com/Artem-B edited
https://github.com/llvm/llvm-project/pull/127890
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -932,9 +932,18 @@ def W_Joined : Joined<["-"], "W">, Group,
def Xanalyzer : Separate<["-"], "Xanalyzer">,
HelpText<"Pass to the static analyzer">, MetaVarName<"">,
Group;
-def Xarch__ : JoinedAndSeparate<["-"], "Xarch_">, Flags<[NoXarchOption]>,
- HelpText<"Pass to th
https://github.com/Artem-B edited
https://github.com/llvm/llvm-project/pull/127890
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tblah commented:
Thank you for up-streaming this
https://github.com/llvm/llvm-project/pull/126026
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/127890
>From d5efc8e10fabb0f2258e0bf5d2e4ce9c0686b911 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Wed, 19 Feb 2025 14:01:56 -0600
Subject: [PATCH 1/5] [Clang][Docs] Document -Xarch_ better
Summary:
This argument
gandhi56 wrote:
Appreciate the review, @yxsamliu
https://github.com/llvm/llvm-project/pull/124989
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/yxsamliu approved this pull request.
LGTM. Thanks
https://github.com/llvm/llvm-project/pull/124989
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
gandhi56 wrote:
@yxsamliu will you approve this PR since you have approved #124989? Thanks.
https://github.com/llvm/llvm-project/pull/124983
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
https://github.com/yxsamliu approved this pull request.
https://github.com/llvm/llvm-project/pull/124983
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Anshil Gandhi
Date: 2025-02-19T21:14:02-05:00
New Revision: bf9b72e134bff7eb6861e07752d70cb33348b540
URL:
https://github.com/llvm/llvm-project/commit/bf9b72e134bff7eb6861e07752d70cb33348b540
DIFF:
https://github.com/llvm/llvm-project/commit/bf9b72e134bff7eb6861e07752d70cb33348b540.diff
@@ -1104,9 +1104,13 @@ void Sema::ActOnStartOfTranslationUnit() {
}
void Sema::ActOnEndOfTranslationUnitFragment(TUFragmentKind Kind) {
- // No explicit actions are required at the end of the global module fragment.
- if (Kind == TUFragmentKind::Global)
+ if (Kind == TUFrag
https://github.com/gandhi56 closed
https://github.com/llvm/llvm-project/pull/124983
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
PiJoules wrote:
ping for reviews
https://github.com/llvm/llvm-project/pull/126785
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vitalybuka wrote:
>From this patch?
https://lab.llvm.org/buildbot/#/builders/72/builds/8380
FYI @fmayer
https://github.com/llvm/llvm-project/pull/126750
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/l
@@ -249,6 +249,23 @@ bool all(double3);
_HLSL_BUILTIN_ALIAS(__builtin_hlsl_all)
bool all(double4);
+//===--===//
+// and builtins
+//===--===
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: Ricardo Jesus (rj-jesus)
Changes
Currently, given:
```cpp
svuint8_t foo(uint8_t *x) {
return svld1(svptrue_b8(), x);
}
```
We generate:
```gas
foo:
ptrue p0.b
ld1b{ z0.b }, p0/z, [x0]
ret
```
On little-endian, we cou
Author: Qiongsi Wu
Date: 2025-02-19T11:21:04-08:00
New Revision: 85e23fe9c71f97280c804a139c3d014092b30c7f
URL:
https://github.com/llvm/llvm-project/commit/85e23fe9c71f97280c804a139c3d014092b30c7f
DIFF:
https://github.com/llvm/llvm-project/commit/85e23fe9c71f97280c804a139c3d014092b30c7f.diff
LO
preames wrote:
> I am kind of confused now. So the situation here is that RVIOS has already
> implemented these vendor extensions in cores and RVIOS is also trying to make
> these extensions official RVI standards, right?
You're confusing two things. We (Rivos) have defined a set of custom ve
@@ -0,0 +1,134 @@
+//===--===//
+//
+// 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/farzonl edited
https://github.com/llvm/llvm-project/pull/125599
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cjdb wrote:
Thanks!
https://github.com/llvm/llvm-project/pull/127917
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Christopher Di Bella
Date: 2025-02-19T16:47:22-08:00
New Revision: 131a3cfab46ff8eb03ae102a39ea35b7f5e11d1b
URL:
https://github.com/llvm/llvm-project/commit/131a3cfab46ff8eb03ae102a39ea35b7f5e11d1b
DIFF:
https://github.com/llvm/llvm-project/commit/131a3cfab46ff8eb03ae102a39ea35b7f5e11d1
https://github.com/cjdb closed https://github.com/llvm/llvm-project/pull/127917
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/127828
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm approved this pull request.
This should move to use the new frexp intrinsic
https://github.com/llvm/llvm-project/pull/127836
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listi
https://github.com/rnk approved this pull request.
Thanks!
https://github.com/llvm/llvm-project/pull/126952
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -19445,6 +19445,70 @@ Value *CodeGenFunction::EmitHLSLBuiltinExpr(unsigned
BuiltinID,
return nullptr;
switch (BuiltinID) {
+ case Builtin::BI__builtin_hlsl_adduint64: {
+Value *OpA = EmitScalarExpr(E->getArg(0));
+Value *OpB = EmitScalarExpr(E->getArg(1));
+
aoates wrote:
I'm very excited about this, as I have wanted it for many years for my C
codebase, and TSA is not super useful in C without this!
One thought --- you could consider an attribute that could be put on pointer
arguments to functions that says "yes, I dereference this and read or wri
https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/127116
>From b5b9b158e7e379f2d430584e3ccf519677bf27a3 Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Fri, 10 Jan 2025 17:13:30 -0800
Subject: [PATCH 1/3] [Clang][counted_by] Add support for 'counted_by' on
struc
@@ -795,7 +795,8 @@ static void addPGOAndCoverageFlags(const ToolChain &TC,
Compilation &C,
else {
CmdArgs.push_back("-fprofile-continuous");
// Platforms that require a bias variable:
- if (T.isOSBinFormatELF() || T.isOSAIX()) {
+ if (T.isOSBinFormat
@@ -0,0 +1,203 @@
+//===--===//
+//
+// 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
pradt2 wrote:
While I was working on the tests, I realised I can no longer replicate this
issue in main. I guess it got fixed by someone, somewhere. I'm gonna close this
now.
https://github.com/llvm/llvm-project/pull/127439
___
cfe-commits mailing li
@@ -6,6 +6,7 @@
// RUN: %clang --target=powerpc64-ibm-aix -fprofile-generate
-fprofile-continuous -### -c %s 2>&1 | FileCheck %s --check-prefix=RELOC
// RUN: %clang --target=x86_64-unknown-fuchsia -fprofile-generate
-fprofile-continuous -### -c %s 2>&1 | FileCheck %s --check
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/123470
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Tom Stellard
Date: 2025-02-19T17:46:29-08:00
New Revision: f5b311e47de044160aeb25221095898c35c4847f
URL:
https://github.com/llvm/llvm-project/commit/f5b311e47de044160aeb25221095898c35c4847f
DIFF:
https://github.com/llvm/llvm-project/commit/f5b311e47de044160aeb25221095898c35c4847f.diff
https://github.com/tstellar closed
https://github.com/llvm/llvm-project/pull/127268
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1104,9 +1104,13 @@ void Sema::ActOnStartOfTranslationUnit() {
}
void Sema::ActOnEndOfTranslationUnitFragment(TUFragmentKind Kind) {
- // No explicit actions are required at the end of the global module fragment.
- if (Kind == TUFragmentKind::Global)
+ if (Kind == TUFrag
bricknerb wrote:
Please let me know if you have any comments.
I plan to merge this next week (after making the agreed changes) if there are
no more comments.
https://github.com/llvm/llvm-project/pull/124128
___
cfe-commits mailing list
cfe-commits@lis
@@ -77,19 +77,6 @@ CXString createDup(const char *String) {
return Str;
}
-CXString createRef(StringRef String) {
- if (!String.data())
-return createNull();
-
- // If the string is empty, it might point to a position in another string
- // while having zero length. M
https://github.com/AaronBallman approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/126683
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman edited
https://github.com/llvm/llvm-project/pull/126683
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/andykaylor approved this pull request.
I'm happy with the latest changes, so after the "standards" wording changes
Erich and Aaron requested, this should be good to go.
https://github.com/llvm/llvm-project/pull/127621
___
cfe-commit
bogner wrote:
LGTM - I've gone ahead and merged this for you. Thanks!
https://github.com/llvm/llvm-project/pull/127098
___
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
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building
`clang` at step 7 "Add check check-offload".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/73/builds/13289
Here is the r
@@ -55,6 +55,7 @@ class CIRGenerator : public clang::ASTConsumer {
void Initialize(clang::ASTContext &astContext) override;
bool HandleTopLevelDecl(clang::DeclGroupRef group) override;
mlir::ModuleOp getModule() const;
+ mlir::MLIRContext &getContext() { return *mlirCont
https://github.com/w2yehia updated
https://github.com/llvm/llvm-project/pull/127858
>From 843f78e9826b037a7bfb0913728a11eb249f4181 Mon Sep 17 00:00:00 2001
From: Wael Yehia
Date: Wed, 19 Feb 2025 06:25:16 +
Subject: [PATCH 1/2] [profile] runtime counter relocation is needed on
windows-msvc
@@ -0,0 +1,162 @@
+//=- ClangBuiltinsEmitter.cpp - Generate Clang builtin templates-*- C++
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
301 - 400 of 458 matches
Mail list logo