diff options
author | Yann Herklotz <git@yannherklotz.com> | 2021-02-03 01:05:32 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2021-02-03 01:05:32 +0000 |
commit | 8d5047ca436ba42e9253d24d6b5b2c0c62dd7437 (patch) | |
tree | edb357c24b7c4a50569cdc32e6d4f17f48673ede /src/hls/RTLBlockInstr.v | |
parent | 3ddec58aa1ad7d1bd772868d34ab0e11cf8f1ad4 (diff) | |
download | vericert-8d5047ca436ba42e9253d24d6b5b2c0c62dd7437.tar.gz vericert-8d5047ca436ba42e9253d24d6b5b2c0c62dd7437.zip |
Fix state generation for if-conversion
Diffstat (limited to 'src/hls/RTLBlockInstr.v')
-rw-r--r-- | src/hls/RTLBlockInstr.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hls/RTLBlockInstr.v b/src/hls/RTLBlockInstr.v index 4d02998..345e73e 100644 --- a/src/hls/RTLBlockInstr.v +++ b/src/hls/RTLBlockInstr.v @@ -79,7 +79,7 @@ Definition max_reg_instr (m: positive) (i: instr) := | RBstore p chunk addr args src => fold_left Pos.max args (Pos.max src m) | RBsetpred c args p => - fold_left Pos.max args 1%positive + fold_left Pos.max args m end. Fixpoint max_reg_cfi (m : positive) (i : cf_instr) := |