[clang] [CIR] Upstream handling for delete array (PR #165225)

2025-11-03 Thread Shawn K via cfe-commits
kimsh02 wrote: @andykaylor Okay, thanks for the description of the issue. I'll start taking a look at it. It may take me a while because I'm very inexperienced and don't know much of anything 😅 https://github.com/llvm/llvm-project/pull/165225 ___ cfe

[clang] [CIR] Upstream handling for delete array (PR #165225)

2025-11-03 Thread Shawn K via cfe-commits
https://github.com/kimsh02 converted_to_draft https://github.com/llvm/llvm-project/pull/165225 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream handling for __builtin_prefetch (Typo Fix) (PR #165209)

2025-10-30 Thread Shawn K via cfe-commits
kimsh02 wrote: @Lancern Thanks https://github.com/llvm/llvm-project/pull/165209 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream handling for __builtin_prefetch (Typo Fix) (PR #165209)

2025-10-27 Thread Shawn K via cfe-commits
kimsh02 wrote: @andykaylor https://github.com/llvm/llvm-project/pull/165209 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream handling for delete array (PR #165225)

2025-10-27 Thread Shawn K via cfe-commits
kimsh02 wrote: I referenced https://godbolt.org/z/63K4779ej https://github.com/llvm/llvm-project/pull/165225 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream handling for delete array (PR #165225)

2025-10-27 Thread Shawn K via cfe-commits
https://github.com/kimsh02 created https://github.com/llvm/llvm-project/pull/165225 Upstream `DeleteArrayOp` and `clang/test/CIR/CodeGen/delete-array.cpp` >From c42f2e6f43219a49dc6f4d1780286234904192ed Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 27 Oct 2025 02:58:25 -0700 Subject: [PATC

[clang] [CIR] Upstream handling for __builtin_prefetch (Typo Fix) (PR #165209)

2025-10-27 Thread Shawn K via cfe-commits
https://github.com/kimsh02 edited https://github.com/llvm/llvm-project/pull/165209 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream handling for __builtin_prefetch (Typo FIx) (PR #165209)

2025-10-27 Thread Shawn K via cfe-commits
https://github.com/kimsh02 created https://github.com/llvm/llvm-project/pull/165209 Not sure if this warrants a PR, but I realized there was a typo in a test filename from my previous PR #164387. >From a5f2c803f28cb3f32d2eb172d2b18616c74bbb07 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Sun,

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow MMX/SSE/AVX2 PSIGN intrinsics to be used in constexpr (PR #163685)

2025-10-23 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163685 >From 71542e71f09e2bcbcedc3c54b6b8d4234645624f Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 20 Oct 2025 11:32:46 -0700 Subject: [PATCH 1/6] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 22 +++

[clang] [CIR] Upstream handling for __builtin_prefetch (PR #164387)

2025-10-22 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/164387 >From 0b07a4aaeb2fa0f51c4700ff1047e6cda1b1543f Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Tue, 21 Oct 2025 03:26:03 -0700 Subject: [PATCH 1/2] [CIR] Upstream handling for __builtin_prefetch --- clang/include

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow MMX/SSE/AVX2 PSIGN intrinsics to be used in constexpr (PR #163685)

2025-10-21 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163685 >From f236b64c916c862ecc8d9bc3f10bbdfb45741bb9 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 20 Oct 2025 11:32:46 -0700 Subject: [PATCH 1/5] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 22 +++

[clang] [CIR] Upstream handling for __builtin_prefetch (PR #164387)

2025-10-21 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/164387 >From 0b07a4aaeb2fa0f51c4700ff1047e6cda1b1543f Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Tue, 21 Oct 2025 03:26:03 -0700 Subject: [PATCH 1/2] [CIR] Upstream handling for __builtin_prefetch --- clang/include

[clang] [CIR] Upstream handling for __builtin_prefetch (PR #164387)

2025-10-21 Thread Shawn K via cfe-commits
https://github.com/kimsh02 created https://github.com/llvm/llvm-project/pull/164387 Fix #163886 >From 760e039d06efed1b3459e48b3946be0bbab934bc Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Tue, 21 Oct 2025 03:26:03 -0700 Subject: [PATCH] [CIR] Upstream handling for __builtin_prefetch --- clan

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow MMX/SSE/AVX2 PSIGN intrinsics to be used in constexpr (PR #163685)

2025-10-21 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163685 >From f236b64c916c862ecc8d9bc3f10bbdfb45741bb9 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 20 Oct 2025 11:32:46 -0700 Subject: [PATCH 1/3] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 22 +++

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow MMX/SSE/AVX2 PSIGN intrinsics to be used in constexpr (PR #163685)

2025-10-21 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163685 >From f236b64c916c862ecc8d9bc3f10bbdfb45741bb9 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 20 Oct 2025 11:32:46 -0700 Subject: [PATCH 1/3] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 22 +++

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow MMX/SSE/AVX2 PSIGN intrinsics to be used in constexpr (PR #163685)

2025-10-20 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163685 >From f236b64c916c862ecc8d9bc3f10bbdfb45741bb9 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 20 Oct 2025 11:32:46 -0700 Subject: [PATCH 1/2] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 22 +++

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow MMX/SSE/AVX2 PSIGN intrinsics to be used in constexpr (PR #163685)

2025-10-20 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163685 >From f236b64c916c862ecc8d9bc3f10bbdfb45741bb9 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 20 Oct 2025 11:32:46 -0700 Subject: [PATCH] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 22 +++

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow MMX/SSE/AVX2 PSIGN intrinsics to be used in constexpr (PR #163685)

2025-10-20 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163685 >From b1b44153a4fd24b13e1d4d468ff1667de2a51147 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 20 Oct 2025 09:52:51 -0700 Subject: [PATCH 1/2] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - a

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow MMX/SSE/AVX2 PSIGN intrinsics to be used in constexpr (PR #163685)

2025-10-20 Thread Shawn K via cfe-commits
https://github.com/kimsh02 ready_for_review https://github.com/llvm/llvm-project/pull/163685 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow MMX/SSE/AVX2 PSIGN intrinsics to be used in constexpr (PR #163685)

2025-10-20 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163685 >From b1b44153a4fd24b13e1d4d468ff1667de2a51147 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 20 Oct 2025 09:52:51 -0700 Subject: [PATCH] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow SSE41 phminposuw intrinsic to be used in constexp (PR #163041)

2025-10-20 Thread Shawn K via cfe-commits
kimsh02 wrote: Good to know https://github.com/llvm/llvm-project/pull/163041 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-20 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161914 >From ec8329119e2aba36d05d508a02f4c9745c962205 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 20 Oct 2025 05:21:04 -0700 Subject: [PATCH 1/3] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-20 Thread Shawn K via cfe-commits
kimsh02 wrote: There doesn't seem to be a build artifact for Linux AArch64 so I'll assume my PR is passing? https://github.com/llvm/llvm-project/pull/161914 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow SSE41 phminposuw intrinsic to be used in constexp (PR #163041)

2025-10-20 Thread Shawn K via cfe-commits
kimsh02 wrote: @RKSimon https://github.com/llvm/llvm-project/pull/163041 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-20 Thread Shawn K via cfe-commits
kimsh02 wrote: @RKSimon https://github.com/llvm/llvm-project/pull/161914 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-20 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161914 >From ec8329119e2aba36d05d508a02f4c9745c962205 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 20 Oct 2025 05:21:04 -0700 Subject: [PATCH 1/3] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-20 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161914 >From ec8329119e2aba36d05d508a02f4c9745c962205 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 20 Oct 2025 05:21:04 -0700 Subject: [PATCH 1/3] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow SSE41 phminposuw intrinsic to be used in constexp (PR #163041)

2025-10-20 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163041 >From 13c9d31683a39b60f02c56cd512e86fcf39d7389 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Tue, 14 Oct 2025 11:16:21 -0700 Subject: [PATCH 1/3] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 5 +-- cl

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-20 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161914 >From ec8329119e2aba36d05d508a02f4c9745c962205 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 20 Oct 2025 05:21:04 -0700 Subject: [PATCH 1/2] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow SSE41 phminposuw intrinsic to be used in constexp (PR #163041)

2025-10-20 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163041 >From 13c9d31683a39b60f02c56cd512e86fcf39d7389 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Tue, 14 Oct 2025 11:16:21 -0700 Subject: [PATCH 1/3] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 5 +-- cl

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add AVX512 VPTERNLOGD/VPTERNLOGQ intrinsics to be used in constexpr (PR #158703)

2025-10-18 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/158703 >From fc9a28f2aa7aa5d2d69b36b6582dd67bd9a6faf2 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 10:49:20 -0700 Subject: [PATCH 1/6] Squash commits for rebase --- clang/include/clang/Basic/BuiltinsX

[clang] Draft (PR #163685)

2025-10-18 Thread Shawn K via cfe-commits
https://github.com/kimsh02 created https://github.com/llvm/llvm-project/pull/163685 Fix #155812 >From 5c58df9dce4491a1cf2f6bedd8a222a5a1746d09 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Wed, 15 Oct 2025 19:45:55 -0700 Subject: [PATCH] Draft --- clang/include/clang/Basic/BuiltinsX86.td | 29

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-18 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161914 >From ccc7f4ed8640f8bc4726dac5d91e044bd8cc533b Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Tue, 14 Oct 2025 11:07:32 -0700 Subject: [PATCH 1/2] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 18 ---

[clang] [CIR] Upstream pointer subtraction handling (PR #163306)

2025-10-18 Thread Shawn K via cfe-commits
@@ -4044,6 +4044,37 @@ def CIR_ExpectOp : CIR_Op<"expect", [ }]; } +//===--===// +// PtrDiffOp +//===--===// + +def CIR_PtrDiffOp : CIR_Op<

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-18 Thread Shawn K via cfe-commits
@@ -2817,6 +2817,46 @@ static bool interp__builtin_ia32_pshuf(InterpState &S, CodePtr OpPC, return true; } +static bool interp__builtin_ia32_movmsk_op(InterpState &S, CodePtr OpPC, + const CallExpr *Call) { + assert(Call->getNumArg

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow AVX512 mask broadcast intrinsics to be used in constexpr (PR #163475)

2025-10-18 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163475 >From 070790e17f0450601415d1804e4088010bf20bc7 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Tue, 14 Oct 2025 16:58:04 -0700 Subject: [PATCH 1/2] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - a

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add AVX512 VPTERNLOGD/VPTERNLOGQ intrinsics to be used in constexpr (PR #158703)

2025-10-18 Thread Shawn K via cfe-commits
kimsh02 wrote: ``` if (Value.isSigned()) return this->emitConst(Value.getSExtValue(), Ty, E); return this->emitConst(Value.getZExtValue(), Ty, E); ``` ❤️ https://github.com/llvm/llvm-project/pull/158703 ___ cfe-commits mailing list cfe-commits

[clang] [CIR] Upstream pointer subtraction handling (PR #163306)

2025-10-18 Thread Shawn K via cfe-commits
kimsh02 wrote: @mmha Alright, thanks 👍 https://github.com/llvm/llvm-project/pull/163306 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

2025-10-18 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161653 >From eec6869a048bb92fd58efbe811412196a8d9d783 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 04:37:05 -0700 Subject: [PATCH 1/5] [CIR] Upstream handling of integral-to-pointer casts --- .../clan

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add SSE/AVX VPTEST/VTESTPD/VTESTPS intrinsics to be used in constexpr (PR #160428)

2025-10-18 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/160428 >From 4da56170ff4b363c97aa98a4f06946173366823d Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 05:44:38 -0700 Subject: [PATCH 1/3] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 27 +--

[clang] [CIR] Upstream pointer subtraction handling (PR #163306)

2025-10-18 Thread Shawn K via cfe-commits
kimsh02 wrote: The code gen checks were made with LLM assistance. I apologize if they look weird or need to be fixed, I am not familiar with IR. https://github.com/llvm/llvm-project/pull/163306 ___ cfe-commits mailing list [email protected] h

[clang] [CIR] Upstream pointer subtraction handling (PR #163306)

2025-10-18 Thread Shawn K via cfe-commits
https://github.com/kimsh02 ready_for_review https://github.com/llvm/llvm-project/pull/163306 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow SSE41 phminposuw intrinsic to be used in constexp (PR #163041)

2025-10-18 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163041 >From 13c9d31683a39b60f02c56cd512e86fcf39d7389 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Tue, 14 Oct 2025 11:16:21 -0700 Subject: [PATCH 1/3] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 5 +-- cl

[clang] [CIR] Upstream pointer subtraction handling (PR #163306)

2025-10-18 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163306 >From 9f2ec3c40d9c4f28531e4a18f392703ca16ab2d7 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 13 Oct 2025 13:18:28 -0700 Subject: [PATCH 1/6] Copy incubator tests --- clang/test/CIR/CodeGen/ptrdiff.c | 18

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add AVX512 VPTERNLOGD/VPTERNLOGQ intrinsics to be used in constexpr (PR #158703)

2025-10-18 Thread Shawn K via cfe-commits
kimsh02 wrote: As an update, I made better test cases with varying ternary operations and values, but I was not able to debug the handling in the new evaluator. There are three tests which pass from the old evaluator but does not pass from the new evaluator, and I have commented these failing

[clang] [CIR] Upstream pointer subtraction handling (PR #163306)

2025-10-18 Thread Shawn K via cfe-commits
kimsh02 wrote: Applied feedback 👍 https://github.com/llvm/llvm-project/pull/163306 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add AVX512 VPTERNLOGD/VPTERNLOGQ intrinsics to be used in constexpr (PR #158703)

2025-10-18 Thread Shawn K via cfe-commits
kimsh02 wrote: @tbaederr 👍 https://github.com/llvm/llvm-project/pull/158703 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-18 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161914 >From ccc7f4ed8640f8bc4726dac5d91e044bd8cc533b Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Tue, 14 Oct 2025 11:07:32 -0700 Subject: [PATCH 1/2] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 18 ---

[clang] [CIR] Upstream pointer subtraction handling (PR #163306)

2025-10-18 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163306 >From 9f2ec3c40d9c4f28531e4a18f392703ca16ab2d7 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 13 Oct 2025 13:18:28 -0700 Subject: [PATCH 1/5] Copy incubator tests --- clang/test/CIR/CodeGen/ptrdiff.c | 18

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add AVX512 VPTERNLOGD/VPTERNLOGQ intrinsics to be used in constexpr (PR #158703)

2025-10-18 Thread Shawn K via cfe-commits
@@ -6273,40 +6273,350 @@ __m512i test_mm512_ternarylogic_epi32(__m512i __A, __m512i __B, __m512i __C) { // CHECK: @llvm.x86.avx512.pternlog.d.512({{.*}}, i32 240) return _mm512_ternarylogic_epi32(__A, __B, __C, _MM_TERNLOG_A); } +TEST_CONSTEXPR(match_v16si( + _mm512_terna

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-18 Thread Shawn K via cfe-commits
@@ -2817,6 +2817,46 @@ static bool interp__builtin_ia32_pshuf(InterpState &S, CodePtr OpPC, return true; } +static bool interp__builtin_ia32_movmsk_op(InterpState &S, CodePtr OpPC, + const CallExpr *Call) { + assert(Call->getNumArg

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-18 Thread Shawn K via cfe-commits
@@ -2817,6 +2817,46 @@ static bool interp__builtin_ia32_pshuf(InterpState &S, CodePtr OpPC, return true; } +static bool interp__builtin_ia32_movmsk_op(InterpState &S, CodePtr OpPC, + const CallExpr *Call) { + assert(Call->getNumArg

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add AVX512 VPTERNLOGD/VPTERNLOGQ intrinsics to be used in constexpr (PR #158703)

2025-10-18 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/158703 >From f0d96c20136c789812ec1bf961c7130e98f37a1d Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 10:49:20 -0700 Subject: [PATCH 1/4] Squash commits for rebase --- clang/include/clang/Basic/BuiltinsX

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add AVX512 VPTERNLOGD/VPTERNLOGQ intrinsics to be used in constexpr (PR #158703)

2025-10-18 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/158703 >From f0d96c20136c789812ec1bf961c7130e98f37a1d Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 10:49:20 -0700 Subject: [PATCH 1/6] Squash commits for rebase --- clang/include/clang/Basic/BuiltinsX

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-17 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161914 >From 79006fe91ed7d53329a956a65fb753dad2c8c6e2 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Fri, 3 Oct 2025 09:30:23 -0700 Subject: [PATCH 1/3] Stash --- clang/include/clang/Basic/BuiltinsX86.td | 16 ++---

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add SSE/AVX VPTEST/VTESTPD/VTESTPS intrinsics to be used in constexpr (PR #160428)

2025-10-17 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/160428 >From 4da56170ff4b363c97aa98a4f06946173366823d Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 05:44:38 -0700 Subject: [PATCH 1/8] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 27 +--

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-17 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161914 >From 79006fe91ed7d53329a956a65fb753dad2c8c6e2 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Fri, 3 Oct 2025 09:30:23 -0700 Subject: [PATCH 1/7] Stash --- clang/include/clang/Basic/BuiltinsX86.td | 16 ++---

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add AVX512 VPTERNLOGD/VPTERNLOGQ intrinsics to be used in constexpr (PR #158703)

2025-10-17 Thread Shawn K via cfe-commits
@@ -6273,40 +6273,350 @@ __m512i test_mm512_ternarylogic_epi32(__m512i __A, __m512i __B, __m512i __C) { // CHECK: @llvm.x86.avx512.pternlog.d.512({{.*}}, i32 240) return _mm512_ternarylogic_epi32(__A, __B, __C, _MM_TERNLOG_A); } +TEST_CONSTEXPR(match_v16si( + _mm512_terna

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add SSE/AVX VPTEST/VTESTPD/VTESTPS intrinsics to be used in constexpr (PR #160428)

2025-10-17 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/160428 >From ce61f477ee24f0e3c9c2a4c08e0a8f0978a958f8 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 05:44:38 -0700 Subject: [PATCH] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 27 +-- cla

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-17 Thread Shawn K via cfe-commits
kimsh02 wrote: @RKSimon I realize it's probably helpful to be able to look back at the past feedback you put down for my PR, so I unresolved the threads for the issue you brought up twice 👍 https://github.com/llvm/llvm-project/pull/161914 ___ cfe-com

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-17 Thread Shawn K via cfe-commits
@@ -2817,6 +2817,46 @@ static bool interp__builtin_ia32_pshuf(InterpState &S, CodePtr OpPC, return true; } +static bool interp__builtin_ia32_movmsk_op(InterpState &S, CodePtr OpPC, + const CallExpr *Call) { + assert(Call->getNumArg

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow AVX512 mask broadcast intrinsics to be used in constexpr (PR #163475)

2025-10-17 Thread Shawn K via cfe-commits
https://github.com/kimsh02 created https://github.com/llvm/llvm-project/pull/163475 Fix #161334 >From 070790e17f0450601415d1804e4088010bf20bc7 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Tue, 14 Oct 2025 16:58:04 -0700 Subject: [PATCH] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBui

[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

2025-10-17 Thread Shawn K via cfe-commits
kimsh02 wrote: @AmrDeveloper Thanks! https://github.com/llvm/llvm-project/pull/161653 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Draft (PR #163685)

2025-10-17 Thread Shawn K via cfe-commits
kimsh02 wrote: @RKSimon 🙏 https://github.com/llvm/llvm-project/pull/163685 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow SSE41 phminposuw intrinsic to be used in constexp (PR #163041)

2025-10-17 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163041 >From 13c9d31683a39b60f02c56cd512e86fcf39d7389 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Tue, 14 Oct 2025 11:16:21 -0700 Subject: [PATCH 1/3] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 5 +-- cl

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-17 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161914 >From ccc7f4ed8640f8bc4726dac5d91e044bd8cc533b Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Tue, 14 Oct 2025 11:07:32 -0700 Subject: [PATCH 1/2] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 18 ---

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow SSE41 phminposuw intrinsic to be used in constexp (PR #163041)

2025-10-17 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163041 >From 13c9d31683a39b60f02c56cd512e86fcf39d7389 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Tue, 14 Oct 2025 11:16:21 -0700 Subject: [PATCH 1/2] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 5 +-- cl

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-17 Thread Shawn K via cfe-commits
https://github.com/kimsh02 edited https://github.com/llvm/llvm-project/pull/161914 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-17 Thread Shawn K via cfe-commits
kimsh02 wrote: @RKSimon My PR could take a look 🫡 https://github.com/llvm/llvm-project/pull/161914 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add AVX512 VPTERNLOGD/VPTERNLOGQ intrinsics to be used in constexpr (PR #158703)

2025-10-17 Thread Shawn K via cfe-commits
kimsh02 wrote: @tbaederr Is the branch fine now? https://github.com/llvm/llvm-project/pull/158703 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow SSE41 phminposuw intrinsic to be used in constexp (PR #163041)

2025-10-17 Thread Shawn K via cfe-commits
kimsh02 wrote: @RKSimon This PR can take a look https://github.com/llvm/llvm-project/pull/163041 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream pointer subtraction handling (PR #163306)

2025-10-17 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163306 >From 9f2ec3c40d9c4f28531e4a18f392703ca16ab2d7 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 13 Oct 2025 13:18:28 -0700 Subject: [PATCH 1/7] Copy incubator tests --- clang/test/CIR/CodeGen/ptrdiff.c | 18

[clang] [CIR] Upstream pointer subtraction handling (PR #163306)

2025-10-15 Thread Shawn K via cfe-commits
https://github.com/kimsh02 edited https://github.com/llvm/llvm-project/pull/163306 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream pointer subtraction handling (PR #163306)

2025-10-15 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/163306 >From 9f2ec3c40d9c4f28531e4a18f392703ca16ab2d7 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Mon, 13 Oct 2025 13:18:28 -0700 Subject: [PATCH 1/9] Copy incubator tests --- clang/test/CIR/CodeGen/ptrdiff.c | 18

[clang] [CIR] Upstream pointer subtraction handling (PR #163306)

2025-10-14 Thread Shawn K via cfe-commits
@@ -0,0 +1,13 @@ +// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o %t.cir +// RUN: FileCheck --input-file=%t.cir %s --check-prefix=CIR + +typedef unsigned long size_type; + +size_type size(unsigned long *_start, unsigned long *_finish) { +

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-14 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161914 >From ccc7f4ed8640f8bc4726dac5d91e044bd8cc533b Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Tue, 14 Oct 2025 11:07:32 -0700 Subject: [PATCH] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 18 -

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow SSE41 phminposuw intrinsic to be used in constexp (PR #163041)

2025-10-14 Thread Shawn K via cfe-commits
@@ -2899,6 +2899,45 @@ static bool interp__builtin_x86_insert_subvector(InterpState &S, CodePtr OpPC, return true; } +static bool interp__builtin_ia32_phminposuw(InterpState &S, CodePtr OpPC, +const CallExpr *Call) { + assert(Cal

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add SSE/AVX VPTEST/VTESTPD/VTESTPS intrinsics to be used in constexpr (PR #160428)

2025-10-10 Thread Shawn K via cfe-commits
kimsh02 wrote: @RKSimon Fixed testcase https://github.com/llvm/llvm-project/pull/160428 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-10 Thread Shawn K via cfe-commits
kimsh02 wrote: @RKSimon Fixed rebase https://github.com/llvm/llvm-project/pull/161914 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)

2025-10-03 Thread Shawn K via cfe-commits
https://github.com/kimsh02 edited https://github.com/llvm/llvm-project/pull/161914 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] X86 movemask constexpr (PR #161914)

2025-10-03 Thread Shawn K via cfe-commits
https://github.com/kimsh02 created https://github.com/llvm/llvm-project/pull/161914 Fix #154520 >From ef9799014ee593114b7ca67e3d4d034cff99420b Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Fri, 3 Oct 2025 09:30:23 -0700 Subject: [PATCH 1/3] Stash --- clang/include/clang/Basic/BuiltinsX86.td |

[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

2025-10-03 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161653 >From eec6869a048bb92fd58efbe811412196a8d9d783 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 04:37:05 -0700 Subject: [PATCH 01/11] [CIR] Upstream handling of integral-to-pointer casts --- .../cl

[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

2025-10-03 Thread Shawn K via cfe-commits
kimsh02 wrote: @andykaylor Yes, thanks for heads up. I will be properly revisiting everything. https://github.com/llvm/llvm-project/pull/161653 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-

[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

2025-10-03 Thread Shawn K via cfe-commits
kimsh02 wrote: Thanks, @AmrDeveloper ! I've applied the suggested commits. https://github.com/llvm/llvm-project/pull/161653 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

2025-10-03 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161653 >From eec6869a048bb92fd58efbe811412196a8d9d783 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 04:37:05 -0700 Subject: [PATCH 01/12] [CIR] Upstream handling of integral-to-pointer casts --- .../cl

[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

2025-10-03 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161653 >From eec6869a048bb92fd58efbe811412196a8d9d783 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 04:37:05 -0700 Subject: [PATCH 01/10] [CIR] Upstream handling of integral-to-pointer casts --- .../cl

[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

2025-10-03 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161653 >From eec6869a048bb92fd58efbe811412196a8d9d783 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 04:37:05 -0700 Subject: [PATCH 1/9] [CIR] Upstream handling of integral-to-pointer casts --- .../clan

[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

2025-10-03 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161653 >From eec6869a048bb92fd58efbe811412196a8d9d783 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 04:37:05 -0700 Subject: [PATCH 1/8] [CIR] Upstream handling of integral-to-pointer casts --- .../clan

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add AVX512 VPTERNLOGD/VPTERNLOGQ intrinsics to be used in constexpr (PR #158703)

2025-10-02 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/158703 >From f0d96c20136c789812ec1bf961c7130e98f37a1d Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 10:49:20 -0700 Subject: [PATCH 1/5] Squash commits for rebase --- clang/include/clang/Basic/BuiltinsX

[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add AVX512 VPTERNLOGD/VPTERNLOGQ intrinsics to be used in constexpr (PR #158703)

2025-10-02 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/158703 >From ae7ddf1d897344b9095946e5fa4f65bb2a5d26ee Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 10:49:20 -0700 Subject: [PATCH 1/2] Squash commits for rebase --- clang/include/clang/Basic/BuiltinsX

[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

2025-10-02 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161653 >From eec6869a048bb92fd58efbe811412196a8d9d783 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 04:37:05 -0700 Subject: [PATCH 1/6] [CIR] Upstream handling of integral-to-pointer casts --- .../clan

[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

2025-10-02 Thread Shawn K via cfe-commits
kimsh02 wrote: Thanks for all the helpful feedback! I've applied the suggested commits, and I'll revisit the headers and IR checks. https://github.com/llvm/llvm-project/pull/161653 ___ cfe-commits mailing list [email protected] https://lists.

[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

2025-10-02 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161653 >From eec6869a048bb92fd58efbe811412196a8d9d783 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 04:37:05 -0700 Subject: [PATCH 1/7] [CIR] Upstream handling of integral-to-pointer casts --- .../clan

[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

2025-10-02 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161653 >From eec6869a048bb92fd58efbe811412196a8d9d783 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 04:37:05 -0700 Subject: [PATCH 1/4] [CIR] Upstream handling of integral-to-pointer casts --- .../clan

[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

2025-10-02 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/161653 >From eec6869a048bb92fd58efbe811412196a8d9d783 Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 04:37:05 -0700 Subject: [PATCH 1/3] [CIR] Upstream handling of integral-to-pointer casts --- .../clan

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add SSE/AVX VPTEST/VTESTPD/VTESTPS intrinsics to be used in constexpr (PR #160428)

2025-10-02 Thread Shawn K via cfe-commits
https://github.com/kimsh02 ready_for_review https://github.com/llvm/llvm-project/pull/160428 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add SSE/AVX VPTEST/VTESTPD/VTESTPS intrinsics to be used in constexpr (PR #160428)

2025-10-02 Thread Shawn K via cfe-commits
kimsh02 wrote: Applied feedback and pushed less code. https://github.com/llvm/llvm-project/pull/160428 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add SSE/AVX VPTEST/VTESTPD/VTESTPS intrinsics to be used in constexpr (PR #160428)

2025-10-02 Thread Shawn K via cfe-commits
https://github.com/kimsh02 updated https://github.com/llvm/llvm-project/pull/160428 >From 68df3b7879fe7a167cba1108b64bfdd9283bb02d Mon Sep 17 00:00:00 2001 From: kimsh02 Date: Thu, 2 Oct 2025 05:44:38 -0700 Subject: [PATCH 1/2] Squash --- clang/include/clang/Basic/BuiltinsX86.td | 27 +--

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add SSE/AVX VPTEST/VTESTPD/VTESTPS intrinsics to be used in constexpr (PR #160428)

2025-10-02 Thread Shawn K via cfe-commits
kimsh02 wrote: Thanks for another round of feedback, I'll try to incorporate all of the changes soon. https://github.com/llvm/llvm-project/pull/160428 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listi

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add SSE/AVX VPTEST/VTESTPD/VTESTPS intrinsics to be used in constexpr (PR #160428)

2025-10-02 Thread Shawn K via cfe-commits
kimsh02 wrote: I squashed my commits for a rebase, but haven't applied the feedback yet just fyi. https://github.com/llvm/llvm-project/pull/160428 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/

  1   2   >