[llvm] fix template compilation issue in flang-rt, fix issue #160534 (PR #161250)
Valentin Clement バレンタイン クレメン via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 29 12:51:38 PDT 2025
================
@@ -340,8 +340,8 @@ struct MatmulTransposeHelper {
RUNTIME_CHECK(terminator, xCatKind.has_value() && yCatKind.has_value());
RUNTIME_CHECK(terminator, xCatKind->first == XCAT);
RUNTIME_CHECK(terminator, yCatKind->first == YCAT);
- if constexpr (constexpr ResultTy resultType{
- GetResultType(XCAT, XKIND, YCAT, YKIND)}) {
+ constexpr ResultTy resultType{GetResultType(XCAT, XKIND, YCAT, YKIND)};
+ if constexpr (resultType) {
----------------
clementval wrote:
This might be ok to change.
https://github.com/llvm/llvm-project/pull/161250
More information about the llvm-commits
mailing list