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
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>)
|
|
|