TermiNexus f95eb8016b fix(mlir): i1 常量物化用裸布尔关键字(true/false 不带 : i1)
mlir-opt 报:
  error: expected ')'
      %c7 = llvm.mlir.constant(false : i1) : i1

`true`/`false` 是 MLIR 的裸布尔关键字,不能再带类型后缀(其余标量必须写
`值 : 类型`)。

修复两处常量物化:
- `_MlirEmitOneConst`(函数内常量);
- `_MlirGvEmitConst`(全局初值 region 叶子 op)。

README §2.3 常量表补 i1 行。
2026-10-03 22:11:45 +08:00
2026-09-30 00:25:55 +08:00
2026-08-17 11:01:35 +08:00
2026-09-29 17:00:36 +08:00
2026-09-29 17:00:20 +08:00
2026-09-29 16:59:46 +08:00
2026-09-29 16:59:21 +08:00
2026-09-29 16:47:50 +08:00
2026-09-29 16:47:20 +08:00
S
Description
GVSDS(TM) Viper SE Runtime Environment and Library (VRTE)
15 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 76.8%
C 22%
CMake 1.2%