[flang-commits] [flang] [flang][Runtime] Add SIGNAL intrinisic (PR #79337)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Wed Jan 24 13:55:26 PST 2024


================
@@ -137,6 +137,13 @@ constexpr TypeBuilderFunc getModel<void *>() {
   };
 }
 template <>
+constexpr TypeBuilderFunc getModel<void (*)(int)>() {
+  return [](mlir::MLIRContext *context) -> mlir::Type {
+    return fir::LLVMPointerType::get(context,
----------------
tblah wrote:

Thanks for taking a look, yeah I'll update it so that it is easier to read. But I don't think it matters. Since LLVM 17 there has been no support for typed pointers in LLVM IR: https://llvm.org/docs/OpaquePointers.html

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


More information about the flang-commits mailing list