llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Fix comparing type id pointers, add mor info when print()ing them, use the most
derived type in GetTypeidPtr() and the canonically unqualified type when we
know the type statically.
---
Full diff: https://g
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/135322
Fix comparing type id pointers, add mor info when print()ing them, use the most
derived type in GetTypeidPtr() and the canonically unqualified type when we
know the type statically.
>From 375f9b8c00e2c4a01f16
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/132829
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: offsetof
Date: 2025-04-11T08:47:07+02:00
New Revision: 9604bdf1180950c04f194584fdd2cca0f0668971
URL:
https://github.com/llvm/llvm-project/commit/9604bdf1180950c04f194584fdd2cca0f0668971
DIFF:
https://github.com/llvm/llvm-project/commit/9604bdf1180950c04f194584fdd2cca0f0668971.diff
LOG:
https://github.com/HighCommander4 approved this pull request.
LGTM, thanks
https://github.com/llvm/llvm-project/pull/134951
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
HighCommander4 wrote:
(Rebased)
https://github.com/llvm/llvm-project/pull/132576
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/132576
>From ac3780d5f747c8c063119a028a4735c725198003 Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Sat, 22 Mar 2025 20:54:02 -0400
Subject: [PATCH] [clang][HeuristicResolver] Apply default argument heuristi
Wolfram70 wrote:
Added `-disable-llvm-optzns` to the new RUN lines in `builtins-nvptx.c` since I
think some tests are failing due to changes from #134416
https://github.com/llvm/llvm-project/pull/134345
___
cfe-commits mailing list
cfe-commits@lists.
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 --
clang-tools-extra/clangd/XRefs.cpp
clang-tools-extra
https://github.com/HighCommander4 edited
https://github.com/llvm/llvm-project/pull/132576
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/130473
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Nathan Ridge
Date: 2025-04-11T02:02:30-04:00
New Revision: 715ad67c80ccb443d54575e81a3208674ef5b5c2
URL:
https://github.com/llvm/llvm-project/commit/715ad67c80ccb443d54575e81a3208674ef5b5c2
DIFF:
https://github.com/llvm/llvm-project/commit/715ad67c80ccb443d54575e81a3208674ef5b5c2.diff
https://github.com/HighCommander4 approved this pull request.
Thanks for the patch!
I made a small addition to the test to make it clearer why we have this
conditional check. Please have a look at let me know if that makes sense to you.
https://github.com/llvm/llvm-project/pull/134657
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/134657
>From 162b0535fc2ae745441404231e6b3bf3882b974e Mon Sep 17 00:00:00 2001
From: Hampus Adolfsson
Date: Mon, 7 Apr 2025 14:51:03 +0200
Subject: [PATCH 1/2] [clangd] Strip invalid fromRanges for outgoing call
https://github.com/Wolfram70 updated
https://github.com/llvm/llvm-project/pull/134345
>From 18c6641b676ac90bfe300df48d0b8719df1f1add Mon Sep 17 00:00:00 2001
From: Srinivasa Ravi
Date: Wed, 5 Mar 2025 12:35:39 +0530
Subject: [PATCH] [NVPTX] Add intrinsics for cvt .f6x2 and .ue8m0x2 variants
Th
topperc wrote:
> > > Does this have any effect on the build time of the compiler? This file is
> > > already large and I assume this significantly increases the size.
> >
> >
> > Yes, the .inc size is 6 times larger. I don't know how to assess the
> > impact, theoretically the time to read fi
topperc wrote:
> > Does this have any effect on the build time of the compiler? This file is
> > already large and I assume this significantly increases the size.
>
> Yes, the .inc size is 6 times larger. I don't know how to assess the impact,
> theoretically the time to read file and tokenize
@@ -703,6 +703,46 @@ 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
https://github.com/Wolfram70 updated
https://github.com/llvm/llvm-project/pull/134345
>From 93757e155b631f4287b96d0b2ad7091371faba83 Mon Sep 17 00:00:00 2001
From: Srinivasa Ravi
Date: Wed, 5 Mar 2025 12:35:39 +0530
Subject: [PATCH] [NVPTX] Add intrinsics for cvt .f6x2 and .ue8m0x2 variants
Th
HighCommander4 wrote:
(Rebased)
https://github.com/llvm/llvm-project/pull/130473
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/130473
>From f6c57947b12d8c22e8e54757fc03ff1e407aa12e Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Sun, 9 Mar 2025 01:36:25 -0500
Subject: [PATCH 1/6] Change the parameter type of resolveTypeToTagDecl() to
@@ -54,8 +54,9 @@ IdentifierInfo *Parser::getSEHExceptKeyword() {
}
Parser::Parser(Preprocessor &pp, Sema &actions, bool skipFunctionBodies)
-: PP(pp), PreferredType(pp.isCodeCompletionEnabled()), Actions(actions),
- Diags(PP.getDiagnostics()), StackHandler(Diags),
+
https://github.com/Lai-YT closed
https://github.com/llvm/llvm-project/pull/134244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
wangpc-pp wrote:
> Does this have any effect on the build time of the compiler? This file is
> already large and I assume this significantly increases the size.
Yes, the .inc size is 6 times larger. I don't know how to assess the impact,
theoretically the time to read file and tokenize will in
https://github.com/zyn0217 approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/135312
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaskRay closed
https://github.com/llvm/llvm-project/pull/135128
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Fangrui Song
Date: 2025-04-10T21:25:35-07:00
New Revision: c04d9d57ee4c116ecc1222b1f4458a21be13ac15
URL:
https://github.com/llvm/llvm-project/commit/c04d9d57ee4c116ecc1222b1f4458a21be13ac15
DIFF:
https://github.com/llvm/llvm-project/commit/c04d9d57ee4c116ecc1222b1f4458a21be13ac15.diff
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/135133
>From 77ee135557937d14021001ce58f6c5ab5f79fe6c Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Thu, 10 Apr 2025 02:52:36 -0300
Subject: [PATCH] [clang] implement printing of canonical template arguments of
@@ -9360,6 +9362,19 @@ void LinkerWrapper::ConstructJob(Compilation &C, const
JobAction &JA,
CmdArgs.push_back(LinkArg);
addOffloadCompressArgs(Args, CmdArgs);
+
+ // Default to half of hardware threads if users do not specify it.
+ if (Arg *A = Args.getLastArg(opti
@@ -1196,36 +1196,90 @@ SmallVector
parsePrototypes(StringRef Prototypes) {
return PrototypeDescriptors;
}
+#define STRINGIFY(NAME)
\
+ case NAME:
\
+
@@ -1233,6 +1233,10 @@ def offload_compression_level_EQ : Joined<["--"],
"offload-compression-level=">,
Flags<[HelpHidden]>,
HelpText<"Compression level for offload device binaries (HIP only)">;
+def offload_jobs_EQ : Joined<["--"], "offload-jobs=">,
+ HelpText<"Set the
topperc wrote:
Does this have any effect on the build time of the compiler? This file is
already large and I assume this significantly increases the size.
https://github.com/llvm/llvm-project/pull/133710
___
cfe-commits mailing list
cfe-commits@lists.
https://github.com/yxsamliu updated
https://github.com/llvm/llvm-project/pull/135229
>From 8d66eac07fa9b4d052b821f1f33783a3e5a1af34 Mon Sep 17 00:00:00 2001
From: "Yaxun (Sam) Liu"
Date: Thu, 10 Apr 2025 14:14:47 -0400
Subject: [PATCH] [Clang] add option --offload-jobs=N
for specifying number
mizvekov wrote:
@pranavk this will be fixed by https://github.com/llvm/llvm-project/pull/135312
https://github.com/llvm/llvm-project/pull/132748
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Matheus Izvekov (mizvekov)
Changes
This fixes a regression introduced here:
https://github.com/llvm/llvm-project/pull/132748
which was originally reported here:
https://github.com/llvm/llvm-project/pull/132748#issuecomment-2791012454
Som
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/135312
This fixes a regression introduced here:
https://github.com/llvm/llvm-project/pull/132748
which was originally reported here:
https://github.com/llvm/llvm-project/pull/132748#issuecomment-2791012454
Some time
@@ -0,0 +1,358 @@
+//===-- RISCVInstrInfoXAndes.td *- tablegen
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
https://github.com/topperc edited
https://github.com/llvm/llvm-project/pull/135110
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/135309
None
>From 31423376e35f34ca032fe3d11998537912ba2c63 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Thu, 10 Apr 2025 20:10:41 -0700
Subject: [PATCH] [libclc] add ctz built-in implementation to clc and generic
-
https://github.com/MaskRay updated
https://github.com/llvm/llvm-project/pull/135128
>From f6d368f889acb08443e9cc425d1d8aab4d05bfef Mon Sep 17 00:00:00 2001
From: Fangrui Song
Date: Wed, 9 Apr 2025 21:24:40 -0700
Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=
=?UTF
wenju-he wrote:
@frasercrmck please help to review? thanks.
https://github.com/llvm/llvm-project/pull/135301
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
wenju-he wrote:
@frasercrmck please help to review? thanks.
https://github.com/llvm/llvm-project/pull/135309
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/135301
>From 5992cc83e904ce047598a1987e2f8ce1926b9292 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Thu, 10 Apr 2025 19:34:50 -0700
Subject: [PATCH 1/2] [NFC][libclc] Refine clz to use __builtin_clzg
It looks simpler
wangpc-pp wrote:
ping.
https://github.com/llvm/llvm-project/pull/133710
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jhuber6 approved this pull request.
https://github.com/llvm/llvm-project/pull/135307
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-flang-driver
Author: None (agozillon)
Changes
Currently rocm-device-lib-path is not enabled for Flang, so when the compiler
warns / requests a user to provide this option in cases where it can't find
rocm a user cannot actually set the device libraries
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (agozillon)
Changes
Currently rocm-device-lib-path is not enabled for Flang, so when the compiler
warns / requests a user to provide this option in cases where it can't find
rocm a user cannot actually set the device libraries using
https://github.com/agozillon created
https://github.com/llvm/llvm-project/pull/135307
Currently rocm-device-lib-path is not enabled for Flang, so when the compiler
warns / requests a user to provide this option in cases where it can't find
rocm a user cannot actually set the device libraries u
@@ -0,0 +1,358 @@
+//===-- RISCVInstrInfoXAndes.td *- tablegen
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -535,21 +540,29 @@ RISCVMCCodeEmitter::getImmOpValueSlist(const MCInst &MI,
unsigned OpNo,
}
}
-uint64_t
-RISCVMCCodeEmitter::getImmOpValueAsr1(const MCInst &MI, unsigned OpNo,
+template
+unsigned
+RISCVMCCodeEmitter::getImmOpValueAsrN(const MCInst &MI, unsigned OpNo,
@@ -940,6 +947,14 @@ struct RISCVOperand final : public MCParsedAsmOperand {
[](int64_t Imm) { return Imm != INT64_MIN && isInt<5>(Imm - 1); });
}
+ bool isSImm18() const { return isBareSimmNLsbK<18, 0>(); }
+
+ bool isSImm18Lsb0() const { return isBareSimmNLsb0<18
emaxx-google wrote:
Here's a new reproducer, this time verifying that a semi-fresh tip-of-the-tree
doesn't trigger the same error: https://pastebin.com/7tYfjazz. Apologies for
the delay.
https://github.com/llvm/llvm-project/pull/133057
___
cfe-commit
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (SquallATF)
Changes
Make nvptx-arch work on windows
---
Full diff: https://github.com/llvm/llvm-project/pull/135300.diff
1 Files Affected:
- (modified) clang/tools/offload-arch/NVPTXArch.cpp (+4)
``diff
diff --git a/clan
https://github.com/tclin914 updated
https://github.com/llvm/llvm-project/pull/135110
>From 1615cb987f60d8c6123f7c95bc7bd7f22d897ea1 Mon Sep 17 00:00:00 2001
From: Jim Lin
Date: Wed, 9 Apr 2025 09:44:47 +0800
Subject: [PATCH 1/4] [RISCV] Add Andes XAndesperf (Andes Performance)
extension.
The
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building
`clang` at step 5 "compile-openmp".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/10/builds/3246
Here is the relevant
https://github.com/dtcxzyw closed
https://github.com/llvm/llvm-project/pull/130952
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Yingwei Zheng
Date: 2025-04-11T10:51:08+08:00
New Revision: 04c38981a9ce3e6225669c0e41cab947e3e7989f
URL:
https://github.com/llvm/llvm-project/commit/04c38981a9ce3e6225669c0e41cab947e3e7989f
DIFF:
https://github.com/llvm/llvm-project/commit/04c38981a9ce3e6225669c0e41cab947e3e7989f.diff
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: None (SquallATF)
Changes
On Windows platforms, this patch enables detection of the CUDA installation
directory by checking the CUDA_PATH environment variable.
---
Full diff: https://github.com/llvm/llvm-project/pull/135299.diff
1
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/135301
It looks simpler to use __builtin_clzg for all unsigned types.
>From 5992cc83e904ce047598a1987e2f8ce1926b9292 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Thu, 10 Apr 2025 19:34:50 -0700
Subject: [PATCH] [NFC
https://github.com/SquallATF created
https://github.com/llvm/llvm-project/pull/135300
Make nvptx-arch work on windows
>From a4e22b9f5da3578fc2fb02d55e144509759ee705 Mon Sep 17 00:00:00 2001
From: Peiyuan Song
Date: Fri, 11 Apr 2025 09:51:44 +0800
Subject: [PATCH] [nvptx-arch] allowed load `nvc
https://github.com/SquallATF created
https://github.com/llvm/llvm-project/pull/135299
On Windows platforms, this patch enables detection of the CUDA installation
directory by checking the CUDA_PATH environment variable.
>From 8d67d96b7ae97bd2866753d7d5dbdff26e4c4200 Mon Sep 17 00:00:00 2001
Fr
https://github.com/shafik commented:
Thank you for the quick fix, I left a comment on the test which should be
addressed in a follow up, unless I am missing something and the coverage is
elsewhere already.
https://github.com/llvm/llvm-project/pull/135129
___
@@ -3,9 +3,15 @@
// RUN: %clang_cc1 -std=c++23 -verify=cxx23,nontemplate -fsyntax-only
-Wc++26-extensions %s
void decompose_array() {
- int arr[4] = {1, 2, 3, 6};
shafik wrote:
We should have both cases tested, we want as wide test coverage as possible.
S
https://github.com/shafik edited
https://github.com/llvm/llvm-project/pull/135129
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Owen Pan
Date: 2025-04-10T19:07:44-07:00
New Revision: 72540dbe01d143436be096b44deb89e625f350f7
URL:
https://github.com/llvm/llvm-project/commit/72540dbe01d143436be096b44deb89e625f350f7
DIFF:
https://github.com/llvm/llvm-project/commit/72540dbe01d143436be096b44deb89e625f350f7.diff
LOG:
https://github.com/dtcxzyw updated
https://github.com/llvm/llvm-project/pull/130952
>From 9a9c7cf2eff8c740789e9702a190af6dbd3f5014 Mon Sep 17 00:00:00 2001
From: Yingwei Zheng
Date: Wed, 12 Mar 2025 20:17:28 +0800
Subject: [PATCH 1/3] [Clang][CodeGen] Do not set inbounds in
`EmitMemberDataPoin
ChuanqiXu9 wrote:
> Going back to the idea of not writing the paths of imported PCMs at all;
> currently the condition to not write the paths is if the imported PCM is a
> named module. Perhaps this condition can be extended to omit the paths if the
> PCM was found through `-fmodule-file==`?
https://github.com/damyanp edited
https://github.com/llvm/llvm-project/pull/135120
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -89,12 +89,51 @@ RESOURCE Buffer;
// CHECK-SAME{LITERAL}: [[hlsl::raw_buffer]]
// CHECK-SAME{LITERAL}: [[hlsl::contained_type(element_type)]]
+// Default constructor
+
+// CHECK: CXXConstructorDecl {{.*}} [[RESOURCE]] 'void ()' inline
+// CHECK-NEXT: CompoundStmt
+// CHECK-
https://github.com/damyanp commented:
LGTM
https://github.com/llvm/llvm-project/pull/135120
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ChuanqiXu9 wrote:
> Separately, even with named modules, with or without
> `-fmodules-embed-all-files`, the `INPUT_FILE` paths in the PCM are still
> absolute. I guess with `-fmodules-embed-all-files` those paths are not used
> since the source files are embedded, which I suppose is how it avo
@@ -703,6 +703,46 @@ 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
https://github.com/AlexMaclean edited
https://github.com/llvm/llvm-project/pull/134345
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AlexMaclean closed
https://github.com/llvm/llvm-project/pull/134416
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
@YonahGoldberg Congratulations on having your first Pull Request (PR) merged
into the LLVM Project!
Your changes will be combined with recent changes from other authors, then
tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a
problem with a
Author: Yonah Goldberg
Date: 2025-04-10T18:33:37-07:00
New Revision: 701d726ef09ea89909df9bd2fdc63c63758fe8d6
URL:
https://github.com/llvm/llvm-project/commit/701d726ef09ea89909df9bd2fdc63c63758fe8d6
DIFF:
https://github.com/llvm/llvm-project/commit/701d726ef09ea89909df9bd2fdc63c63758fe8d6.diff
AlexMaclean wrote:
Merging on behalf of @YonahGoldberg at his request offline.
https://github.com/llvm/llvm-project/pull/134416
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4899,6 +4899,150 @@ void
CGOpenMPRuntime::emitSingleReductionCombiner(CodeGenFunction &CGF,
}
}
+void CGOpenMPRuntime::emitPrivateReduction(
+CodeGenFunction &CGF, SourceLocation Loc, ArrayRef Privates,
+ArrayRef LHSExprs, ArrayRef RHSExprs,
+ArrayRef Reduct
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/134884
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4899,6 +4899,150 @@ void
CGOpenMPRuntime::emitSingleReductionCombiner(CodeGenFunction &CGF,
}
}
+void CGOpenMPRuntime::emitPrivateReduction(
+CodeGenFunction &CGF, SourceLocation Loc, ArrayRef Privates,
+ArrayRef LHSExprs, ArrayRef RHSExprs,
+ArrayRef Reduct
Wolfram70 wrote:
@Artem-B and @AlexMaclean , could you please take another look to see if this
change is good to go?
https://github.com/llvm/llvm-project/pull/134345
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bi
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/134887
>From a41ba702f42671f7e9c51c29a846a6c7c7324378 Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Mon, 7 Apr 2025 13:30:28 -0700
Subject: [PATCH 1/6] [clang] Extract `CompilerInstance` creation out of
`compi
shiltian wrote:
FWIW, this is part of the gfx12 upstream.
https://github.com/llvm/llvm-project/pull/135224
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -751,13 +751,14 @@
BuiltinTypeDeclBuilder::addHandleAccessFunction(DeclarationName &Name,
using PH = BuiltinTypeMethodBuilder::PlaceHolder;
QualType ElemTy = getHandleElementType();
- // TODO: Map to an hlsl_device address space.
- QualType ElemPtrTy = AST.getPointer
@@ -89,12 +89,12 @@ RESOURCE Buffer;
// CHECK-SAME{LITERAL}: [[hlsl::raw_buffer]]
// CHECK-SAME{LITERAL}: [[hlsl::contained_type(element_type)]]
-// CHECK-SUBSCRIPT: CXXMethodDecl {{.*}} operator[] 'const element_type
&(unsigned int) const'
+// CHECK-SUBSCRIPT: CXXMethodDecl
@@ -2379,8 +2379,10 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned
BuiltinID, CallExpr *TheCall) {
auto *ResourceTy =
TheCall->getArg(0)->getType()->castAs();
QualType ContainedTy = ResourceTy->getContainedType();
-// TODO: Map to an hlsl_device addres
@@ -751,13 +751,14 @@
BuiltinTypeDeclBuilder::addHandleAccessFunction(DeclarationName &Name,
using PH = BuiltinTypeMethodBuilder::PlaceHolder;
QualType ElemTy = getHandleElementType();
- // TODO: Map to an hlsl_device address space.
- QualType ElemPtrTy = AST.getPointer
https://github.com/hekota requested changes to this pull request.
Looks mostly good, but I think there is an issue with the const-ness of the
subscript operator return value.
https://github.com/llvm/llvm-project/pull/127675
___
cfe-commits mailing lis
https://github.com/hekota edited
https://github.com/llvm/llvm-project/pull/127675
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
dtcxzyw wrote:
> Still not sure how https://github.com/llvm/llvm-project/pull/135141 is
> related.
We add a new parameter `bool &MayReadFromPtrToInt` to
`CodeGenFunction::EmitCheckValue`. If it is called outside
`CodeGenFunction::EmitCheck`, we have to pass the result into `EmitCheck` as
wel
https://github.com/dtcxzyw closed
https://github.com/llvm/llvm-project/pull/130734
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Yingwei Zheng
Date: 2025-04-11T09:04:23+08:00
New Revision: 1711996805c506f5717193aaeedf3752dfdd900d
URL:
https://github.com/llvm/llvm-project/commit/1711996805c506f5717193aaeedf3752dfdd900d
DIFF:
https://github.com/llvm/llvm-project/commit/1711996805c506f5717193aaeedf3752dfdd900d.diff
mpark wrote:
Going back to the idea of not writing the paths of imported PCMs at all;
currently the condition to not write the paths is if the imported PCM is a
named module. Perhaps this condition can be extended to omit the paths if the
PCM was found through `-fmodule-file==`?
https://gith
@@ -7,35 +7,100 @@
!! LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON, use
!! resource_dir_with_per_target_subdir as inputs.
-! Check powerpc64-ibm-aix 64-bit linking to static flang-rt
-! RUN: %flang %s -### 2>&1 \
+! Check powerpc64-ibm-aix 64-bit linking to static flang-rt by defaul
@@ -7,35 +7,100 @@
!! LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON, use
!! resource_dir_with_per_target_subdir as inputs.
-! Check powerpc64-ibm-aix 64-bit linking to static flang-rt
-! RUN: %flang %s -### 2>&1 \
+! Check powerpc64-ibm-aix 64-bit linking to static flang-rt by defaul
https://github.com/vzakhari requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/134362
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -14,3 +14,11 @@
//--- test.pcm
// CPP20WARNING-NOT: clang-cl: warning: argument unused during compilation:
'/std:c++20' [-Wunused-command-line-argument]
+
+// test whether the following outputs %Hello.bmi
+// RUN: %clang_cl /std:c++20 --precompile -x c++-module
-fmodule-o
https://github.com/bnbarham approved this pull request.
https://github.com/llvm/llvm-project/pull/134475
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Jan =?utf-8?q?Górski?= ,
Jan =?utf-8?q?Górski?= ,
Jan =?utf-8?q?Górski?= ,
Jan =?utf-8?q?Górski?= ,
Jan =?utf-8?q?Górski?= ,
Jan =?utf-8?q?Górski?= ,
Jan =?utf-8?q?Górski?=
Message-ID:
In-Reply-To:
@@ -590,6 +590,16 @@ static void EmitAtomicOp(CodeGenFunction &CGF, AtomicExpr
efriedma-quic wrote:
> Looking at the issue description from
> https://github.com/llvm/llvm-project/pull/130990, the problem is that the
> code is passing argmem: read, but then passes a "pointer" as an i32. Which is
> against the rules: argmem is specifically pointer arguments. So either need
1 - 100 of 746 matches
Mail list logo