The current StandardToLLVM conversion patterns only really handle the Func dialect. The pass itself adds patterns for Arithmetic/CFToLLVM, but those should be/will be split out in a followup. This commit focuses solely on being an NFC rename. Aside from the directory change, the pattern and pass creation API have been renamed: * populateStdToLLVMFuncOpConversionPattern -> populateFuncToLLVMFuncOpConversionPattern * populateStdToLLVMConversionPatterns -> populateFuncToLLVMConversionPatterns * createLowerToLLVMPass -> createConvertFuncToLLVMPass Differential Revision: https://reviews.llvm.org/D120778
10 lines
302 B
MLIR
10 lines
302 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 private @unsupported_signature() -> tensor<10 x i32>
|
|
|
|
// -----
|
|
|
|
func private @partially_supported_signature() -> (vector<10 x i32>, tensor<10 x i32>)
|
|
|