This relands 6a0f6dd8359b38340442b7e6b14629c1d6c54a81 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
10 lines
312 B
MLIR
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>)
|
|
|