[llvm] [SPIR-V] Allow intrinsics with aggregate return type to reach GlobalISel (PR #108893)
Nathan Gauër via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 19 06:29:26 PDT 2024
================
@@ -188,6 +188,40 @@ bool isConvergenceIntrinsic(const Instruction *I) {
II->getIntrinsicID() == Intrinsic::experimental_convergence_loop ||
II->getIntrinsicID() == Intrinsic::experimental_convergence_anchor;
}
+
+bool isInternalNonVoidIntrinsic(const Value *I) {
+ if (const auto *II = dyn_cast<IntrinsicInst>(I))
+ switch (II->getIntrinsicID()) {
----------------
Keenuts wrote:
This is supposed to be the list of internal intrinsics not returning void?
https://github.com/llvm/llvm-project/pull/108893
More information about the llvm-commits
mailing list