|
1 | 1 | // RUN: mlir-opt %s | mlir-opt | FileCheck %s |
2 | 2 |
|
3 | 3 | module { |
4 | | - llvm.module_flags [#llvm.mlir.module_flag<1 : i64, "wchar_size", 4 : i32>, |
5 | | - #llvm.mlir.module_flag<8 : i64, "PIC Level", 2 : i32>, |
6 | | - #llvm.mlir.module_flag<7 : i64, "PIE Level", 2 : i32>, |
7 | | - #llvm.mlir.module_flag<7 : i64, "uwtable", 2 : i32>, |
8 | | - #llvm.mlir.module_flag<7 : i64, "frame-pointer", 1 : i32>] |
| 4 | + llvm.module_flags [#llvm.mlir.module_flag<error, "wchar_size", 4>, |
| 5 | + #llvm.mlir.module_flag<min, "PIC Level", 2>, |
| 6 | + #llvm.mlir.module_flag<max, "PIE Level", 2>, |
| 7 | + #llvm.mlir.module_flag<max, "uwtable", 2>, |
| 8 | + #llvm.mlir.module_flag<max, "frame-pointer", 1>] |
9 | 9 | } |
10 | 10 |
|
11 | 11 | // CHECK: llvm.module_flags [ |
12 | | -// CHECK-SAME: #llvm.mlir.module_flag<1 : i64, "wchar_size", 4 : i32>, |
13 | | -// CHECK-SAME: #llvm.mlir.module_flag<8 : i64, "PIC Level", 2 : i32>, |
14 | | -// CHECK-SAME: #llvm.mlir.module_flag<7 : i64, "PIE Level", 2 : i32>, |
15 | | -// CHECK-SAME: #llvm.mlir.module_flag<7 : i64, "uwtable", 2 : i32>, |
16 | | -// CHECK-SAME: #llvm.mlir.module_flag<7 : i64, "frame-pointer", 1 : i32>] |
| 12 | +// CHECK-SAME: #llvm.mlir.module_flag<error, "wchar_size", 4>, |
| 13 | +// CHECK-SAME: #llvm.mlir.module_flag<min, "PIC Level", 2>, |
| 14 | +// CHECK-SAME: #llvm.mlir.module_flag<max, "PIE Level", 2>, |
| 15 | +// CHECK-SAME: #llvm.mlir.module_flag<max, "uwtable", 2>, |
| 16 | +// CHECK-SAME: #llvm.mlir.module_flag<max, "frame-pointer", 1>] |
0 commit comments