[llvm] [SPIR-V] Fixup storage class for global private (PR #116636)

Dmitry Sidorov via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 09:11:49 PST 2024


Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/116636 at github.com>


================
@@ -11,7 +11,11 @@
 ; CHECK-DAG: %[[TyFun:.*]] = OpTypeFunction %[[TyInt64]] %[[TyInt64]]
 ; CHECK-DAG: %[[TyInt8:.*]] = OpTypeInt 8 0
 ; CHECK-DAG: %[[TyPtrFun:.*]] = OpTypePointer Function %[[TyFun]]
-; CHECK-DAG: %[[ConstFunFp:.*]] = OpConstantFunctionPointerINTEL %[[TyPtrFun]] %[[DefFunFp:.*]]
+
+; FIXME: OpConstantFunctionPointerINTEL requires a CodeSectionINTEL ptr.
----------------
MrSidims wrote:

I'm fine with breaking it until we fix it by introducing CodeSectionINTEL storage class in SPIR-V backend.

https://github.com/llvm/llvm-project/pull/116636


More information about the llvm-commits mailing list