llvm-project
12 строк · 389.0 Байт
1// Test that tco tool sets a target independent data layout when none is
2// provided. LLVM default data layout aligns i64 with 32 bits.
3// RUN: tco -emit-fir %s | FileCheck %s
4
5module {
6}
7// CHECK: module attributes {
8// CHECK-SAME: dlti.dl_spec = #dlti.dl_spec<
9// ...
10// CHECK-SAME: #dlti.dl_entry<i64, dense<[32, 64]> : vector<2xi64>>,
11// ...
12// CHECK-SAME: llvm.data_layout = ""
13