================
@@ -1086,6 +1098,13 @@ bool isSSERegisterClass(mlir::Type ty) {
 
 } // namespace
 
+cir::FuncType cir::getIndirectCalleeType(cir::CIRCallOpInterface call) {
+  if (!call.isIndirect())
----------------
andykaylor wrote:

It seems like it would be better to assert that the call is indirect and not 
use this function to test for that.

https://github.com/llvm/llvm-project/pull/227477
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to