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
7 lines
269 B
MLIR
7 lines
269 B
MLIR
// RUN: mlir-opt -convert-func-to-llvm %s | FileCheck %s
|
|
// RUN-32: mlir-opt -convert-func-to-llvm='data-layout=p:32:32:32' %s | FileCheck %s
|
|
|
|
// CHECK: module attributes {llvm.data_layout = ""}
|
|
// CHECK-32: module attributes {llvm.data_layout ="p:32:32:32"}
|
|
module {}
|