[clang] [clang] Support constexpr alignment of __builtin_assume_aligned. (PR #127223)

2025-02-14 Thread Tang Jiajun via cfe-commits
https://github.com/tangjj11 updated https://github.com/llvm/llvm-project/pull/127223 >From 5c83ee47a5927645ded9ec0af061ff21c094f008 Mon Sep 17 00:00:00 2001 From: Tang Jiajun <1220586...@qq.com> Date: Sat, 15 Feb 2025 00:35:34 +0800 Subject: [PATCH 1/3] Add test. --- clang/test/CodeGen/builtin

[clang] [clang] Support constexpr alignment of __builtin_assume_aligned. (PR #127223)

2025-02-14 Thread Tang Jiajun via cfe-commits
https://github.com/tangjj11 closed https://github.com/llvm/llvm-project/pull/127223 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Support constexpr alignment of __builtin_assume_aligned. (PR #127223)

2025-02-14 Thread Tang Jiajun via cfe-commits
https://github.com/tangjj11 created https://github.com/llvm/llvm-project/pull/127223 None >From 5c83ee47a5927645ded9ec0af061ff21c094f008 Mon Sep 17 00:00:00 2001 From: Tang Jiajun <1220586...@qq.com> Date: Sat, 15 Feb 2025 00:35:34 +0800 Subject: [PATCH 1/2] Add test. --- clang/test/CodeGen/b

[clang] [clang] Support constexpr alignment of __builtin_assume_aligned. (PR #127223)

2025-02-14 Thread Tang Jiajun via cfe-commits
https://github.com/tangjj11 updated https://github.com/llvm/llvm-project/pull/127223 >From 5c83ee47a5927645ded9ec0af061ff21c094f008 Mon Sep 17 00:00:00 2001 From: Tang Jiajun <1220586...@qq.com> Date: Sat, 15 Feb 2025 00:35:34 +0800 Subject: [PATCH 1/3] Add test. --- clang/test/CodeGen/builtin

[clang] [clang] Support constexpr alignment of __builtin_assume_aligned. (PR #127223)

2025-02-14 Thread Tang Jiajun via cfe-commits
https://github.com/tangjj11 updated https://github.com/llvm/llvm-project/pull/127223 >From 5c83ee47a5927645ded9ec0af061ff21c094f008 Mon Sep 17 00:00:00 2001 From: Tang Jiajun <1220586...@qq.com> Date: Sat, 15 Feb 2025 00:35:34 +0800 Subject: [PATCH 1/3] Add test. --- clang/test/CodeGen/builtin

[clang] [clang] Support constexpr alignment of __builtin_assume_aligned. (PR #127223)

2025-02-14 Thread Tang Jiajun via cfe-commits
tangjj11 wrote: > This is not the right fix. > > After we check the constant expression in Sema, we should create a > ConstantExpr containing the the evaluated value, so we don't need to > re-evaluate it later. thanks, I will close the PR. https://github.com/llvm/llvm-project/pull/127223 ___

[clang] [clang] [CUDA] Support calling `consteval` function between different target. (PR #158688)

2025-09-16 Thread Tang Jiajun via cfe-commits
tangjj11 wrote: > Thank you for this PR! Will you need us to land it for you? Yes, thanks. https://github.com/llvm/llvm-project/pull/158688 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com

[clang] [clang] [CUDA] Support calling consteval function between different target. (PR #158688)

2025-09-15 Thread Tang Jiajun via cfe-commits
https://github.com/tangjj11 edited https://github.com/llvm/llvm-project/pull/158688 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] [CUDA] Support calling consteval function between different target. (PR #158688)

2025-09-15 Thread Tang Jiajun via cfe-commits
https://github.com/tangjj11 created https://github.com/llvm/llvm-project/pull/158688 None >From bea389e7b7706470ec021cf027f6433ed2b16774 Mon Sep 17 00:00:00 2001 From: tangjj11 <1220586...@qq.com> Date: Mon, 15 Sep 2025 22:57:52 +0800 Subject: [PATCH] [clang] [CUDA] Support calling consteval fu

[clang] [clang] [CUDA] Support calling `consteval` function between different target. (PR #158688)

2025-09-16 Thread Tang Jiajun via cfe-commits
https://github.com/tangjj11 updated https://github.com/llvm/llvm-project/pull/158688 >From bea389e7b7706470ec021cf027f6433ed2b16774 Mon Sep 17 00:00:00 2001 From: tangjj11 <1220586...@qq.com> Date: Mon, 15 Sep 2025 22:57:52 +0800 Subject: [PATCH 1/2] [clang] [CUDA] Support calling consteval func

[clang] [clang] [CUDA] Support calling `consteval` function between different target. (PR #158688)

2025-09-16 Thread Tang Jiajun via cfe-commits
https://github.com/tangjj11 edited https://github.com/llvm/llvm-project/pull/158688 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits