chore(deps): bump compiler to 2022-01-04T16:08:11Z

- disable PR automerge on compiler update (too risky)
- change init file to be a namespace package
- remove version.py (infos can still be retrieved through package meta)
this avoids potential conflicts with other packages we release
- various fixes for compiler compatibility

closes #1272
This commit is contained in:
IceTDrinker
2022-01-04 16:52:55 +00:00
committed by Arthur Meyre
parent fcbf92609f
commit a48f8cb4f1
16 changed files with 69 additions and 84 deletions

View File

@@ -234,12 +234,12 @@ This file contains information about the MLIR of the function you are trying to
```
module {
func @main(%arg0: !HLFHE.eint<7>) -> !HLFHE.eint<7> {
func @main(%arg0: !FHE.eint<7>) -> !FHE.eint<7> {
%c127_i8 = arith.constant 127 : i8
%cst = arith.constant dense<"..."> : tensor<128xi64>
%0 = "HLFHE.apply_lookup_table"(%arg0, %cst) : (!HLFHE.eint<7>, tensor<128xi64>) -> !HLFHE.eint<7>
%1 = "HLFHE.sub_int_eint"(%c127_i8, %0) : (i8, !HLFHE.eint<7>) -> !HLFHE.eint<7>
return %1 : !HLFHE.eint<7>
%0 = "FHE.apply_lookup_table"(%arg0, %cst) : (!FHE.eint<7>, tensor<128xi64>) -> !FHE.eint<7>
%1 = "FHE.sub_int_eint"(%c127_i8, %0) : (i8, !FHE.eint<7>) -> !FHE.eint<7>
return %1 : !FHE.eint<7>
}
}