@@ -1319,6 +1319,9 @@ def CmpOp : CIR_Op<"cmp", [Pure, SameTypeOperands]> {
`cir.bool` result. The kinds of comparison available are:
[lt,gt,ge,eq,ne]
+Note: The 'complex' dialect has separate complex.eq and complex.neq
+operations
+
xlauko wro
@@ -621,6 +621,32 @@ Value *CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned
BuiltinID,
llvm::Function *F = CGM.getIntrinsic(IID, {LoadTy});
return Builder.CreateCall(F, {Addr});
}
+ case AMDGPU::BI__builtin_amdgcn_tensor_load_to_lds:
+ case AMDGPU::BI__builtin_amdg
ranapratap55 wrote:
> If the idea here is to remove the need for
> https://github.com/ROCm/llvm-project/blob/amd-staging/amd/device-libs/ockl/src/base-image-intrinsics.ll
> and
> https://github.com/ROCm/llvm-project/blob/amd-staging/amd/device-libs/ockl/src/extended-image-intrinsics.ll
> then
https://github.com/changpeng edited
https://github.com/llvm/llvm-project/pull/146636
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mstorsjo wrote:
This broke building C++ modules for mingw targets. Repro:
`empty.cppm`:
```c++
export module empty;
```
```console
$ clang -target x86_64-windows-gnu -x c++-module empty.cppm -c -o
empty.cppm.obj -std=gnu++23
error: invalid value 'seh' in '-exception-model=seh'
```
https://git
@@ -621,6 +621,32 @@ Value *CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned
BuiltinID,
llvm::Function *F = CGM.getIntrinsic(IID, {LoadTy});
return Builder.CreateCall(F, {Addr});
}
+ case AMDGPU::BI__builtin_amdgcn_tensor_load_to_lds:
+ case AMDGPU::BI__builtin_amdg
https://github.com/aheejin edited
https://github.com/llvm/llvm-project/pull/146230
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
aheejin wrote:
> > And it was a little confusing that the PR description argues we should
> > remove `-wasm-enable-eh/sjlj` options, which disagree, when the code seems
> > to fix something else. Those flags control behaviors, not exception models,
> > so we still need them. For example, someo
@@ -1,4 +1,4 @@
-# RUN: llc -mtriple=wasm32-unknown-unknown -wasm-use-legacy-eh
-exception-model=wasm -mattr=+exception-handling -run-pass wasm-cfg-stackify %s
-o - | FileCheck %s
+# RUN: llc -mtriple=wasm32-unknown-unknown -wasm-use-legacy-eh
-wasm-enable-sjlj -exception-model
@@ -1,4 +1,4 @@
-# RUN: llc -mtriple=wasm32-unknown-unknown -wasm-use-legacy-eh
-exception-model=wasm -mattr=+exception-handling -run-pass wasm-cfg-stackify %s
-o - | FileCheck %s
+# RUN: llc -mtriple=wasm32-unknown-unknown -wasm-use-legacy-eh
-wasm-enable-sjlj -exception-model
@@ -4280,6 +4281,20 @@ bool AMDGPUAsmParser::validateMIMGD16(const MCInst
&Inst) {
return true;
}
+bool AMDGPUAsmParser::validateTensorR128(const MCInst &Inst) {
+ const unsigned Opc = Inst.getOpcode();
+ const MCInstrDesc &Desc = MII.get(Opc);
+
+ if ((Desc.TSFlags & SI
@@ -621,6 +621,32 @@ Value *CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned
BuiltinID,
llvm::Function *F = CGM.getIntrinsic(IID, {LoadTy});
return Builder.CreateCall(F, {Addr});
}
+ case AMDGPU::BI__builtin_amdgcn_tensor_load_to_lds:
+ case AMDGPU::BI__builtin_amdg
https://github.com/arsenm edited
https://github.com/llvm/llvm-project/pull/146636
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm commented:
Fix clang-format error
https://github.com/llvm/llvm-project/pull/146636
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2608,6 +2612,21 @@ void
WebAssemblyCFGStackify::rewriteDepthImmediates(MachineFunction &MF) {
Stack.push_back(std::make_pair(&MBB, &MI));
break;
+ case WebAssembly::BR_IF: {
+// this is the last place where we can easily calculate the branch
+
@@ -2608,6 +2612,21 @@ void
WebAssemblyCFGStackify::rewriteDepthImmediates(MachineFunction &MF) {
Stack.push_back(std::make_pair(&MBB, &MI));
break;
+ case WebAssembly::BR_IF: {
+// this is the last place where we can easily calculate the branch
+
@@ -5276,6 +5276,8 @@ def mtail_call : Flag<["-"], "mtail-call">,
Group;
def mno_tail_call : Flag<["-"], "mno-tail-call">, Group;
def mwide_arithmetic : Flag<["-"], "mwide-arithmetic">,
Group;
def mno_wide_arithmetic : Flag<["-"], "mno-wide-arithmetic">,
Group;
+def mbranch_
@@ -2562,8 +2565,9 @@ void
WebAssemblyCFGStackify::rewriteDepthImmediates(MachineFunction &MF) {
MO = MachineOperand::CreateImm(getDelegateDepth(Stack, MO.getMBB()));
else if (MI.getOpcode() == WebAssembly::RETHROW)
MO = MachineOperand::CreateImm(ge
https://github.com/aheejin edited
https://github.com/llvm/llvm-project/pull/146230
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/aheejin commented:
Thanks! So far I've only read the CFG parts and feature-adding parts, but some
comments:
https://github.com/llvm/llvm-project/pull/146230
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/146626
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-07-01T22:50:11-07:00
New Revision: f4b938b7c0ec9c3a60614abc0788f5ca43eaccf5
URL:
https://github.com/llvm/llvm-project/commit/f4b938b7c0ec9c3a60614abc0788f5ca43eaccf5
DIFF:
https://github.com/llvm/llvm-project/commit/f4b938b7c0ec9c3a60614abc0788f5ca43eaccf5.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/146622
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/146623
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-07-01T22:49:56-07:00
New Revision: 838b91d7f6838a447e7869e63a9493bf77bc0a6d
URL:
https://github.com/llvm/llvm-project/commit/838b91d7f6838a447e7869e63a9493bf77bc0a6d
DIFF:
https://github.com/llvm/llvm-project/commit/838b91d7f6838a447e7869e63a9493bf77bc0a6d.diff
L
Author: Kazu Hirata
Date: 2025-07-01T22:49:48-07:00
New Revision: 7b4dbb4f37d8d40f48df6092fe54503a491eb3c2
URL:
https://github.com/llvm/llvm-project/commit/7b4dbb4f37d8d40f48df6092fe54503a491eb3c2
DIFF:
https://github.com/llvm/llvm-project/commit/7b4dbb4f37d8d40f48df6092fe54503a491eb3c2.diff
L
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 cl,cpp,h --
clang/test/CodeGenOpenCL/builtins-amdgcn-gfx1250
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
Author: Changpeng Fang (changpeng)
Changes
---
Patch is 42.91 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/146636.diff
20 Files Affected:
- (modified) clang/include/clang/Basic/BuiltinsA
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
@llvm/pr-subscribers-mc
Author: Changpeng Fang (changpeng)
Changes
---
Patch is 42.91 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/146636.diff
20 Files Affected:
- (modified) clang/includ
https://github.com/changpeng created
https://github.com/llvm/llvm-project/pull/146636
None
>From b6aa91862046fdd021e638f0f22e9cbbbfba418f Mon Sep 17 00:00:00 2001
From: Changpeng Fang
Date: Tue, 1 Jul 2025 22:41:41 -0700
Subject: [PATCH] AMDGPU: Implement tensor load and store instructions for
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Ashwin Banwari (ashwinbanwari)
Changes
Revival of https://github.com/llvm/llvm-project/pull/146247 which got reverted
for broken test.
Now that https://github.com/llvm/llvm-project/pull/146461 is merged to allow
`extern "C++"` for
https://github.com/ashwinbanwari edited
https://github.com/llvm/llvm-project/pull/146635
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ashwinbanwari created
https://github.com/llvm/llvm-project/pull/146635
Revival of https://github.com/llvm/llvm-project/pull/146247.
Now that https://github.com/llvm/llvm-project/pull/146461 is merged to allow
`extern "C++"` for main, we can merge this change.
>From 76bd9279
https://github.com/arsenm ready_for_review
https://github.com/llvm/llvm-project/pull/146634
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
arsenm wrote:
* **#146634** https://app.graphite.dev/github/pr/llvm/llvm-project/146634?utm_source=stack-comment-icon";
target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite"
width="10px" height="10px"/> 👈 https://app.graphite.dev/github/pr/llvm/llvm-project/14663
llvmbot wrote:
@llvm/pr-subscribers-backend-webassembly
Author: Matt Arsenault (arsenm)
Changes
This was enforcing some rules about the combinations of flags at a random
point in the IR pass pipeline configuration. This is a module property that
should be handled at TargetMachine construct
https://github.com/arsenm created
https://github.com/llvm/llvm-project/pull/146634
This was enforcing some rules about the combinations of flags at a random
point in the IR pass pipeline configuration. This is a module property that
should be handled at TargetMachine construction time at the lat
arsenm wrote:
> And it was a little confusing that the PR description argues we should remove
> `-wasm-enable-eh/sjlj` options, which disagree, when the code seems to fix
> something else. Those flags control behaviors, not exception models, so we
> still need them. For example, someone might
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/146589
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-07-02T07:15:47+02:00
New Revision: 984c78f27d1475390d9564b099a8550ad494dfd7
URL:
https://github.com/llvm/llvm-project/commit/984c78f27d1475390d9564b099a8550ad494dfd7
DIFF:
https://github.com/llvm/llvm-project/commit/984c78f27d1475390d9564b099a8550ad494dfd7.diff
L
@@ -1,4 +1,4 @@
-# RUN: llc -mtriple=wasm32-unknown-unknown -wasm-use-legacy-eh
-exception-model=wasm -mattr=+exception-handling -run-pass wasm-cfg-stackify %s
-o - | FileCheck %s
+# RUN: llc -mtriple=wasm32-unknown-unknown -wasm-use-legacy-eh
-wasm-enable-sjlj -exception-model
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/146594
>From 8db1344221d36408663b684cd5217a112bbe26fe Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Mon, 3 Feb 2025 12:46:27 -0600
Subject: [PATCH 1/2] [Clang] Introduce '--offload-targets' for
`-fopenmp-targets`
@@ -1138,6 +1138,10 @@ def fno_convergent_functions : Flag<["-"],
"fno-convergent-functions">,
// Common offloading options
let Group = offload_Group in {
+def offload_targets_EQ : Joined<["--"], "offload-targets=">,
jhuber6 wrote:
Right, forgot that, thanks
@@ -116,6 +116,8 @@ def err_drv_cuda_host_arch : Error<
"unsupported architecture '%0' for host compilation">;
def err_drv_mix_cuda_hip : Error<
"mixed CUDA and HIP compilation is not supported">;
+def err_drv_mix_offload : Error<
jhuber6 wrote:
Oh that's
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/146623
___
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/146622
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ChuanqiXu9 wrote:
> > How does this patch handle consistency issue? e.g., What if `a.pcm` is
> > compiled with `-O0` but the consumer is compiled with `-O1`? I hope we
> > won't break such things.
>
> All `Optimize`, `OptimizeSize` and `NoInlineDefine` were `COMPATIBLE_LANGOPT`
> in `LangOpti
Author: Peter Collingbourne
Date: 2025-07-01T20:21:51-07:00
New Revision: 2a702cdc38f96989cb41c0b863d977f0d8f4f325
URL:
https://github.com/llvm/llvm-project/commit/2a702cdc38f96989cb41c0b863d977f0d8f4f325
DIFF:
https://github.com/llvm/llvm-project/commit/2a702cdc38f96989cb41c0b863d977f0d8f4f325
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/146626.diff
1 Files Affected:
- (modified) clang/utils/TableGen/ClangAttrEmitter.cpp (+4-6)
``diff
diff --git a/clang/utils/TableG
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/146626
None
>From c60f76a8c5aa9bdb6ba0f08f4a1e479a87761d29 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Mon, 30 Jun 2025 11:27:39 -0700
Subject: [PATCH] [TableGen] Use range-based for loops (NFC)
---
clan
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Kazu Hirata (kazutakahirata)
Changes
We don't need const on a return type.
---
Full diff: https://github.com/llvm/llvm-project/pull/146623.diff
1 Files Affected:
- (modified) clang-tools-extra/clangd/refactor/tweaks/DefineI
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
Since both alignment and Alignment are of the same type, this patch
renames alignment to Alignment while removing the cast statement.
---
Full diff: https://github.com/llvm/llvm-project/pull/146622.dif
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/146623
We don't need const on a return type.
>From 2a072761c8f3b14d22e36aae1c84c956a067b59a Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Tue, 1 Jul 2025 19:57:31 -0700
Subject: [PATCH] [clangd] Drop const
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/146622
Since both alignment and Alignment are of the same type, this patch
renames alignment to Alignment while removing the cast statement.
>From 451762e9cc09176fecbcb68ab5d62be53d3807c7 Mon Sep 17 00:00:00 20
@@ -635,5 +635,66 @@ TARGET_BUILTIN(__builtin_amdgcn_bitop3_b16, "IUi",
"nc", "bitop3-insts")
TARGET_BUILTIN(__builtin_amdgcn_cvt_sr_bf16_f32, "V2yV2yfUiIb", "nc",
"f32-to-f16bf16-cvt-sr-insts")
TARGET_BUILTIN(__builtin_amdgcn_cvt_sr_f16_f32, "V2hV2hfUiIb", "nc",
"f32-to-
https://github.com/ChuanqiXu9 commented:
I prefer to change the term "explicit module" in the code to something like
`CXX20 module` or `named module` or whatever. Since when I read the term
`explicit module` I assumed it is a style to build clang header modules.
https://github.com/llvm/llvm-p
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-arm-ubuntu` running
on `linaro-lldb-arm-ubuntu` while building `clang,libcxx` at step 6 "test".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/18/builds/18338
Here is the relevant piece of the b
https://github.com/arsenm edited
https://github.com/llvm/llvm-project/pull/140210
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,132 @@
+// RUN: %clang_cc1 -triple amdgcn-- -target-cpu gfx90a -S -verify=expected -o
- %s
arsenm wrote:
Needs another semi test for the rejected target case
https://github.com/llvm/llvm-project/pull/140210
__
https://github.com/MaskRay approved this pull request.
https://github.com/llvm/llvm-project/pull/146449
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -635,5 +635,66 @@ TARGET_BUILTIN(__builtin_amdgcn_bitop3_b16, "IUi",
"nc", "bitop3-insts")
TARGET_BUILTIN(__builtin_amdgcn_cvt_sr_bf16_f32, "V2yV2yfUiIb", "nc",
"f32-to-f16bf16-cvt-sr-insts")
TARGET_BUILTIN(__builtin_amdgcn_cvt_sr_f16_f32, "V2hV2hfUiIb", "nc",
"f32-to-
https://github.com/arsenm edited
https://github.com/llvm/llvm-project/pull/140210
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm commented:
Title mentions type inferring but nothing is type inferring about these
https://github.com/llvm/llvm-project/pull/140210
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailma
benshi001 wrote:
I do not think this PR is necessary, since there is no bug, I have explained in
https://github.com/llvm/llvm-project/issues/146537.
https://github.com/llvm/llvm-project/pull/146244
___
cfe-commits mailing list
cfe-commits@lists.llvm.o
Author: Ashwin Banwari
Date: 2025-07-02T09:52:10+08:00
New Revision: 2599a9aeb543f01cb20e3fdc2713aa8c8cb20fbf
URL:
https://github.com/llvm/llvm-project/commit/2599a9aeb543f01cb20e3fdc2713aa8c8cb20fbf
DIFF:
https://github.com/llvm/llvm-project/commit/2599a9aeb543f01cb20e3fdc2713aa8c8cb20fbf.diff
https://github.com/ChuanqiXu9 closed
https://github.com/llvm/llvm-project/pull/146461
___
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 `flang-arm64-windows-msvc`
running on `linaro-armv8-windows-msvc-01` while building `clang` at step 7
"test-build-unified-tree-check-flang".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/207/builds/32
efriedma-quic wrote:
Came up with a different approach: I moved the check to
PopExpressionEvaluationContext(). This required annotating the
ExpressionEvaluationContextRecord to indicate we're handling a variable
initializer.
https://github.com/llvm/llvm-project/pull/144970
__
https://github.com/efriedma-quic updated
https://github.com/llvm/llvm-project/pull/144970
>From b4235454f111a8d97b2d1d32ed63cf92a5151ca0 Mon Sep 17 00:00:00 2001
From: Eli Friedman
Date: Thu, 19 Jun 2025 18:29:49 -0700
Subject: [PATCH] [clang] Consistently handle consteval constructors for
var
https://github.com/efriedma-quic updated
https://github.com/llvm/llvm-project/pull/144970
>From 75ae08046945b6e8e6bcc5af0e1618393f2cd95d Mon Sep 17 00:00:00 2001
From: Eli Friedman
Date: Thu, 19 Jun 2025 18:29:49 -0700
Subject: [PATCH] [clang] Consistently handle consteval constructors for
var
@@ -0,0 +1,562 @@
+// RUN: %check_clang_tidy -std=c++11 -check-suffix=11 %s misc-use-constexpr %t
-- -- -fno-delayed-template-parsing
+// RUN: %check_clang_tidy -std=c++14 -check-suffix=11,14 %s misc-use-constexpr
%t -- -- -fno-delayed-template-parsing
+// RUN: %check_clang_tidy
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/21] [clang-tidy] Add bugprone-move-shared-pointer-contents
chec
@@ -1181,8 +1183,9 @@ class Preprocessor {
public:
Preprocessor(const PreprocessorOptions &PPOpts, DiagnosticsEngine &diags,
- const LangOptions &LangOpts, SourceManager &SM,
- HeaderSearch &Headers, ModuleLoader &TheModuleLoader,
+
5chmidti wrote:
Sorry for the silly docs mistakes, btw.
I've updated the docs, added replacement string options, and fixed the `const`
keyword removal.
https://github.com/llvm/llvm-project/pull/146553
___
cfe-commits mailing list
cfe-commits@lists.l
https://github.com/zygoloid closed
https://github.com/llvm/llvm-project/pull/130369
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Richard Smith
Date: 2025-07-01T13:31:46-07:00
New Revision: c56c349d39464d859b0f8655a4502e5c06924b66
URL:
https://github.com/llvm/llvm-project/commit/c56c349d39464d859b0f8655a4502e5c06924b66
DIFF:
https://github.com/llvm/llvm-project/commit/c56c349d39464d859b0f8655a4502e5c06924b66.diff
https://github.com/vogelsgesang updated
https://github.com/llvm/llvm-project/pull/141937
>From 185be04e482344ce2f76eeb02859162e1838150e Mon Sep 17 00:00:00 2001
From: Adrian Vogelsgesang
Date: Tue, 27 May 2025 19:36:42 +
Subject: [PATCH 1/6] [debuginfo][coro] Emit debug info labels for coro
@@ -3639,6 +3639,64 @@ make the function's CFI jump table canonical. See
:ref:`the CFI documentation
}];
}
+def CFISaltDocs : Documentation {
+ let Category = DocCatFunction;
+ let Content = [{
+Use ``__attribute__((cfi_salt("")))`` on a function declaration, function
---
5chmidti wrote:
Thanks for testing this on your codebase so fast as well.
> I got some fixits that do not compile, e.g.:
>
> ```
> std::erase_if(numbers, [](int n) {
> return n % 2 == 0;
> });
> ```
>
> is changed into
>
> ```
> std::erase_if(numbers, [](int nconstexpr ) {
> return n % 2 == 0
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-llvm-support
Author: None (vabridgers)
Changes
PR145731 corrected the analyzer test runner to consider use of z3 when used by
testcases, which exposed problems in test cases PR37855.c and crashes in
z3-crosscheck.c This chang
5chmidti wrote:
> I tried with [ITK](https://github.com/InsightSoftwareConsortium/ITK/) and the
> resulting transformation did not compile.
>
> Many changes were of this form:
>
> ```diff
> -const double Max = 1.0 - Min;
> +constexpr double Max = 1.0 - Min;
> ```
>
> Which is
shiltian wrote:
I see. That makes sense. Worth a release note item.
https://github.com/llvm/llvm-project/pull/146594
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/llvm-beanz approved this pull request.
This will have some nuanced differences from what DXC does today because of the
differences in granularity of floating point semantic controls in LLVM today vs
3.7. That said, I think this will be conservatively correct and is probably t
https://github.com/badumbatish updated
https://github.com/llvm/llvm-project/pull/144741
>From b1154b3be42660c7d9d7b6ea59bb6b59a5eacc94 Mon Sep 17 00:00:00 2001
From: badumbatish
Date: Wed, 18 Jun 2025 16:38:11 -0700
Subject: [PATCH 01/12] Precommit missed optimization test for #50142
---
.../
jhuber6 wrote:
> I see. That makes sense. Worth a release note item.
This is just an alias, doesn't do what I want it to do yet. Struggling with how
to maintain current semantics without hacking spaghetti code all over the
place. Figured this was something I could pull out to make that smoothe
https://github.com/shiltian edited
https://github.com/llvm/llvm-project/pull/146594
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vogelsgesang edited
https://github.com/llvm/llvm-project/pull/141937
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,148 @@
+; Tests that we add DILabels for the suspend points.
+;
+; We check both the generated LLVM:
+; RUN: opt < %s -passes='cgscc(coro-split)' -S | FileCheck %s
+;
+; And the debug info:
+; RUN: opt < %s -passes='cgscc(coro-split),coro-cleanup' \
+; RUN: | llc -O0
@@ -25,14 +25,19 @@ enum CXStringFlag {
/// CXString contains a 'const char *' that it doesn't own.
CXS_Unmanaged,
- /// CXString contains a 'const char *' that it allocated with malloc().
- CXS_Malloc,
+ /// CXString contains a 'CStringImpl' that it allocated with mall
Author: Haojian Wu
Date: 2025-07-01T22:33:23+02:00
New Revision: ac76e4d8a9aedc23123571b3801684babb78424f
URL:
https://github.com/llvm/llvm-project/commit/ac76e4d8a9aedc23123571b3801684babb78424f
DIFF:
https://github.com/llvm/llvm-project/commit/ac76e4d8a9aedc23123571b3801684babb78424f.diff
LO
@@ -0,0 +1,148 @@
+; Tests that we add DILabels for the suspend points.
+;
+; We check both the generated LLVM:
+; RUN: opt < %s -passes='cgscc(coro-split)' -S | FileCheck %s
+;
+; And the debug info:
+; RUN: opt < %s -passes='cgscc(coro-split),coro-cleanup' \
+; RUN: | llc -O0
https://github.com/vogelsgesang updated
https://github.com/llvm/llvm-project/pull/141937
>From 185be04e482344ce2f76eeb02859162e1838150e Mon Sep 17 00:00:00 2001
From: Adrian Vogelsgesang
Date: Tue, 27 May 2025 19:36:42 +
Subject: [PATCH 1/6] [debuginfo][coro] Emit debug info labels for coro
https://github.com/pogo59 edited
https://github.com/llvm/llvm-project/pull/141937
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
schenker wrote:
I got some fixits that do not compile, e.g.:
```
std::erase_if(numbers, [](int n) {
return n % 2 == 0;
});
```
is changed into
```
std::erase_if(numbers, [](int nconstexpr ) {
return n % 2 == 0;
});
```
https://github.com/llvm/llvm-project/pull/146553
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/146594
>From c8e633a2384760c2c6d5b56f3de6cdf9b8ebde7e Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Mon, 3 Feb 2025 12:46:27 -0600
Subject: [PATCH] [Clang] Introduce '--offload-targets' for `-fopenmp-targets`
Summ
@@ -2344,11 +2344,15 @@ void ModuleBitcodeWriter::writeDILocalVariable(
void ModuleBitcodeWriter::writeDILabel(
const DILabel *N, SmallVectorImpl &Record,
unsigned Abbrev) {
- Record.push_back((uint64_t)N->isDistinct());
+ uint64_t IsArtificialFlag = uint64_t(N->isArt
https://github.com/vogelsgesang edited
https://github.com/llvm/llvm-project/pull/141937
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2240,14 +2242,28 @@ Error
MetadataLoader::MetadataLoaderImpl::parseOneMetadata(
break;
}
case bitc::METADATA_LABEL: {
-if (Record.size() != 5)
+if (Record.size() < 5 || Record.size() > 7)
return error("Invalid record");
IsDistinct = Record[0]
https://github.com/vabridgers created
https://github.com/llvm/llvm-project/pull/146597
PR145731 corrected the analyzer test runner to consider use of z3 when used by
testcases, which exposed problems in test cases PR37855.c and crashes in
z3-crosscheck.c This change fixes those crashes and re-
@@ -715,6 +715,7 @@ static void printExtendedName(raw_ostream &OS, const DINode
*Node,
Res = V->getName();
Line = V->getLine();
} else if (const auto *L = dyn_cast(Node)) {
+// XXX what are we doing here? Adjust it?
vogelsgesang wrote:
yes. I ca
1 - 100 of 443 matches
Mail list logo