Files
clang-p2996/mlir/test/Conversion/FuncToLLVM/invalid.mlir
Christian Ulmann fcb9a8a5ee Reland "[MLIR][FuncToLLVM] Remove typed pointer support" (#70717)
This relands 6a0f6dd835 that was reverted
due to a missing integration test change.
 
This commit removes the support for lowering Func to LLVM dialect with
typed pointers. Typed pointers have been deprecated for a while now and
it's planned to soon remove them from the LLVM dialect.

Original PR: https://github.com/llvm/llvm-project/pull/70574
2023-10-31 07:36:11 +01:00

10 lines
312 B
MLIR

// RUN: mlir-opt %s -convert-func-to-llvm -verify-diagnostics -split-input-file
// Should not crash on unsupported types in function signatures.
func.func private @unsupported_signature() -> tensor<10 x i32>
// -----
func.func private @partially_supported_signature() -> (vector<10 x i32>, tensor<10 x i32>)