================
@@ -346,8 +346,9 @@ bool sampledTypeIsSignedInteger(const llvm::Type 
*HandleType) {
   if (TET->getTargetExtName() == "spirv.Image") {
     return false;
   }
-  return TET->getTypeParameter(0)->isIntegerTy();
-}
+  assert(TET->getTargetExtName() == "spirv.SignedImage") {
+    return TET->getTypeParameter(0)->isIntegerTy();
+  }
----------------
s-perron wrote:

I pushed before I was support to. This does not even compile.

https://github.com/llvm/llvm-project/pull/144774
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to