Commit d6c0198 1 parent f473d1b commit d6c0198 Copy full SHA for d6c0198
File tree 1 file changed +16
-17
lines changed
compiler/noirc_evaluator/src/ssa/opt
1 file changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -1300,24 +1300,23 @@ mod test {
1300
1300
v9 = add v7, Field 1
1301
1301
v10 = cast v9 as u8
1302
1302
v11 = load v6 -> u8
1303
- v12 = not v5
1304
- v13 = cast v4 as Field
1305
- v14 = cast v11 as Field
1306
- v15 = sub v9 , v14
1307
- v16 = mul v13, v15
1308
- v17 = add v14, v16
1309
- v18 = cast v17 as u8
1310
- store v18 at v6
1311
- v19 = not v5
1312
- enable_side_effects v19
1313
- v20 = load v6 -> u8
1303
+ v12 = cast v4 as Field
1304
+ v13 = cast v11 as Field
1305
+ v14 = sub v9, v13
1306
+ v15 = mul v12 , v14
1307
+ v16 = add v13, v15
1308
+ v17 = cast v16 as u8
1309
+ store v17 at v6
1310
+ v18 = not v5
1311
+ enable_side_effects v18
1312
+ v19 = load v6 -> u8
1313
+ v20 = cast v18 as Field
1314
1314
v21 = cast v19 as Field
1315
- v22 = cast v20 as Field
1316
- v24 = sub Field 0, v22
1317
- v25 = mul v21, v24
1318
- v26 = add v22, v25
1319
- v27 = cast v26 as u8
1320
- store v27 at v6
1315
+ v23 = sub Field 0, v21
1316
+ v24 = mul v20, v23
1317
+ v25 = add v21, v24
1318
+ v26 = cast v25 as u8
1319
+ store v26 at v6
1321
1320
enable_side_effects u1 1
1322
1321
constrain v5 == u1 1
1323
1322
return
You can’t perform that action at this time.
0 commit comments