aboutsummaryrefslogtreecommitdiffstats
path: root/src/hls/RTLBlockInstr.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/hls/RTLBlockInstr.v')
-rw-r--r--src/hls/RTLBlockInstr.v2
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) :=