[clang] [OpenCL] Support for inline asm (PR #165214)

2025-11-10 Thread Hongyu Chen via cfe-commits
XChy wrote: @whisperity, do you have other review advice? https://github.com/llvm/llvm-project/pull/165214 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenCL] Support for inline asm (PR #165214)

2025-10-27 Thread Hongyu Chen via cfe-commits
https://github.com/XChy edited https://github.com/llvm/llvm-project/pull/165214 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenCL] Support for inline asm (PR #165214)

2025-10-27 Thread Hongyu Chen via cfe-commits
https://github.com/XChy created https://github.com/llvm/llvm-project/pull/165214 Currently, we don't support inline asm and asm goto in OpenCL. But it's a widely used feature in many scenarios. This patch enables the asm keyword to support it. >From 9739e831b083fb4e711ec2e8b7970e9f87949a24 Mon

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-10-04 Thread Hongyu Chen via cfe-commits
https://github.com/XChy commented: APInt calculation looks good to me. Please wait for @RKSimon to approve the frontend-specific part. https://github.com/llvm/llvm-project/pull/161056 ___ cfe-commits mailing list [email protected] https://lis

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-10-02 Thread Hongyu Chen via cfe-commits
@@ -11869,6 +11869,52 @@ bool VectorExprEvaluator::VisitCallExpr(const CallExpr *E) { return Success(APValue(ResultElements.data(), ResultElements.size()), E); } + case X86::BI__builtin_ia32_vpmadd52luq128: + case X86::BI__builtin_ia32_vpmadd52luq256: + case X86::BI_

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-10-02 Thread Hongyu Chen via cfe-commits
@@ -3523,6 +3523,21 @@ bool InterpretBuiltin(InterpState &S, CodePtr OpPC, const CallExpr *Call, return F; }); + case X86::BI__builtin_ia32_vpmadd52luq128: + case X86::BI__builtin_ia32_vpmadd52luq256: + case X86::BI__builtin_ia32_vpmadd52luq512: +retu

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-10-02 Thread Hongyu Chen via cfe-commits
@@ -3523,6 +3523,24 @@ bool InterpretBuiltin(InterpState &S, CodePtr OpPC, const CallExpr *Call, return F; }); + case X86::BI__builtin_ia32_vpmadd52luq128: + case X86::BI__builtin_ia32_vpmadd52luq256: + case X86::BI__builtin_ia32_vpmadd52luq512: +retu