xref: /llvm-project/mlir/test/Conversion/FuncToLLVM/convert-data-layout.mlir (revision 6cc1c2c6f32ec31235f4a6abbf015e5e91dfdb57)
1// RUN: mlir-opt -set-llvm-module-datalayout -convert-func-to-llvm %s | FileCheck %s
2
3// RUN-32: mlir-opt -set-llvm-module-datalayout='data-layout=p:32:32:32' -convert-func-to-llvm %s \
4// RUN-32: | FileCheck %s
5
6// CHECK: module attributes {llvm.data_layout = ""}
7// CHECK-32: module attributes {llvm.data_layout ="p:32:32:32"}
8module {}
9