[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow AVX512 kmov intrinsics to be used in constexp (PR #169895)

2025-11-28 Thread Muhammad Abdul via cfe-commits
https://github.com/0xzre created https://github.com/llvm/llvm-project/pull/169895 Resolves https://github.com/llvm/llvm-project/issues/166975 >From 8af38c0b21f6a5b6094a3ca5be6b59ec997db654 Mon Sep 17 00:00:00 2001 From: 0xzre Date: Fri, 28 Nov 2025 11:28:17 +0700 Subject: [PATCH] [X86][Clang]

[clang] [clang][X86] Allow VALIGND/Q element-shift intrinsics in constexpr evaluation (PR #168206)

2025-11-22 Thread Muhammad Abdul via cfe-commits
0xzre wrote: > LGTM - cheers Thank you for the guidance 🙏 https://github.com/llvm/llvm-project/pull/168206 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][X86] Allow VALIGND/Q element-shift intrinsics in constexpr evaluation (PR #168206)

2025-11-21 Thread Muhammad Abdul via cfe-commits
https://github.com/0xzre updated https://github.com/llvm/llvm-project/pull/168206 >From 5e69309e94d0146759018f44e254acf9aff5b572 Mon Sep 17 00:00:00 2001 From: 0xzre Date: Sat, 15 Nov 2025 15:18:13 +0700 Subject: [PATCH 1/7] [clang][X86] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin -

[clang] [clang][X86] Allow VALIGND/Q element-shift intrinsics in constexpr evaluation (PR #168206)

2025-11-19 Thread Muhammad Abdul via cfe-commits
@@ -4774,6 +4774,26 @@ bool InterpretBuiltin(InterpState &S, CodePtr OpPC, const CallExpr *Call, return std::pair{VecIdx, ElemIdx}; }); + case X86::BI__builtin_ia32_alignd128: + case X86::BI__builtin_ia32_alignd256: + case X86::BI__builtin_ia32_alignd512:

[clang] [clang][X86] Allow VALIGND/Q element-shift intrinsics in constexpr evaluation (PR #168206)

2025-11-19 Thread Muhammad Abdul via cfe-commits
https://github.com/0xzre updated https://github.com/llvm/llvm-project/pull/168206 >From 5e69309e94d0146759018f44e254acf9aff5b572 Mon Sep 17 00:00:00 2001 From: 0xzre Date: Sat, 15 Nov 2025 15:18:13 +0700 Subject: [PATCH 1/5] [clang][X86] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin -

[clang] [clang][X86] Allow VALIGND/Q element-shift intrinsics in constexpr evaluation (PR #168206)

2025-11-19 Thread Muhammad Abdul via cfe-commits
0xzre wrote: > Tests should be added to the existing avx512*builtins.cpp files next to the > corresponding intrinsics test coverage using the TEST_CONSTEXPR helpers - see > #164078 for an example Implemented the tests 👍 https://github.com/llvm/llvm-project/pull/168206

[clang] [clang][X86] Allow VALIGND/Q element-shift intrinsics in constexpr evaluation (PR #168206)

2025-11-19 Thread Muhammad Abdul via cfe-commits
https://github.com/0xzre updated https://github.com/llvm/llvm-project/pull/168206 >From 5e69309e94d0146759018f44e254acf9aff5b572 Mon Sep 17 00:00:00 2001 From: 0xzre Date: Sat, 15 Nov 2025 15:18:13 +0700 Subject: [PATCH 1/4] [clang][X86] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin -

[clang] [clang][X86] Allow VALIGND/Q element-shift intrinsics in constexpr evaluation (PR #168206)

2025-11-19 Thread Muhammad Abdul via cfe-commits
https://github.com/0xzre edited https://github.com/llvm/llvm-project/pull/168206 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][AST] Add Test Cases for Reference Qualifiers in Opr Overload (PR #102878)

2024-08-28 Thread Muhammad Abdul via cfe-commits
0xzre wrote: > FYI the tests are failing @cor3ntin The solution here #79748 doesn't pass the test too. Kinda expected not to pass the test clang https://github.com/llvm/llvm-project/pull/102878 ___ cfe-commits mailing list [email protected]

[clang] [Clang][AST] Add Test Cases for Reference Qualifiers in Opr Overload (PR #102878)

2024-08-27 Thread Muhammad Abdul via cfe-commits
https://github.com/0xzre updated https://github.com/llvm/llvm-project/pull/102878 >From 11b625354ff05c4384603932e6acca347df2132b Mon Sep 17 00:00:00 2001 From: 0xzre Date: Mon, 12 Aug 2024 17:42:37 +0700 Subject: [PATCH 1/2] [Clang][AST] Add Test Cases for Reference Qualifiers in Operator Over

[clang] [Clang][AST] Add Test Cases for Reference Qualifiers in Opr Overload (PR #102878)

2024-08-12 Thread Muhammad Abdul via cfe-commits
https://github.com/0xzre updated https://github.com/llvm/llvm-project/pull/102878 >From 11b625354ff05c4384603932e6acca347df2132b Mon Sep 17 00:00:00 2001 From: 0xzre Date: Mon, 12 Aug 2024 17:42:37 +0700 Subject: [PATCH 1/2] [Clang][AST] Add Test Cases for Reference Qualifiers in Operator Over

[clang] [Clang][AST] Add Test Cases for Reference Qualifiers in Opr Overload (PR #102878)

2024-08-12 Thread Muhammad Abdul via cfe-commits
https://github.com/0xzre created https://github.com/llvm/llvm-project/pull/102878 Follow up of issue #102422 >From 11b625354ff05c4384603932e6acca347df2132b Mon Sep 17 00:00:00 2001 From: 0xzre Date: Mon, 12 Aug 2024 17:42:37 +0700 Subject: [PATCH] [Clang][AST] Add Test Cases for Reference Qu