Skip to content
Snippets Groups Projects
Commit 252d4872 authored by Andre Maroneze's avatar Andre Maroneze Committed by Valentin Perrelle
Browse files

[Eva] rename debug key to "-loop-unroll" for better consistency

parent a6134293
No related branches found
No related tags found
No related merge requests found
...@@ -3289,7 +3289,7 @@ remaining \lstinline|-eva-slevel| may be used to unroll more iterations. ...@@ -3289,7 +3289,7 @@ remaining \lstinline|-eva-slevel| may be used to unroll more iterations.
While it is sometimes useful to unroll only the first iterations, the usual While it is sometimes useful to unroll only the first iterations, the usual
objective is full unrolling; the user can enable option objective is full unrolling; the user can enable option
\lstinline|-value-msg-key=loop-unrolling| to be informed whenever the specified \lstinline|-value-msg-key=loop-unroll| to be informed whenever the specified
unrolling value is insufficient to unroll the loop entirely: unrolling value is insufficient to unroll the loop entirely:
\begin{lstlisting} \begin{lstlisting}
...@@ -3301,7 +3301,7 @@ void main() { ...@@ -3301,7 +3301,7 @@ void main() {
\end{lstlisting} \end{lstlisting}
\begin{lstlisting} \begin{lstlisting}
[eva:loop-unrolling] insuf-loop.c:3: loop not completely unrolled [eva:loop-unroll] insuf-loop.c:3: loop not completely unrolled
\end{lstlisting} \end{lstlisting}
Note that using an unrolling parameter which is higher than the actual number Note that using an unrolling parameter which is higher than the actual number
......
...@@ -522,7 +522,7 @@ struct ...@@ -522,7 +522,7 @@ struct
let merge t1 t2 = let merge t1 t2 =
if not (is_empty_propagation_tree t2) then if not (is_empty_propagation_tree t2) then
Value_parameters.warning ~once:true ~current:true Value_parameters.warning ~once:true ~current:true
~wkey:Value_parameters.wkey_loop_unrolling ~wkey:Value_parameters.wkey_loop_unroll
"loop not completely unrolled"; "loop not completely unrolled";
join_propagation_tree t1 t2 join_propagation_tree t1 t2
in in
......
...@@ -90,8 +90,8 @@ let () = set_warn_status wkey_garbled_mix Log.Winactive ...@@ -90,8 +90,8 @@ let () = set_warn_status wkey_garbled_mix Log.Winactive
let wkey_builtins_missing_spec = register_warn_category "builtins:missing-spec" let wkey_builtins_missing_spec = register_warn_category "builtins:missing-spec"
let wkey_builtins_override = register_warn_category "builtins:override" let wkey_builtins_override = register_warn_category "builtins:override"
let wkey_libc_unsupported_spec = register_warn_category "libc:unsupported-spec" let wkey_libc_unsupported_spec = register_warn_category "libc:unsupported-spec"
let wkey_loop_unrolling = register_warn_category "loop-unrolling" let wkey_loop_unroll = register_warn_category "loop-unroll"
let () = set_warn_status wkey_loop_unrolling Log.Wfeedback let () = set_warn_status wkey_loop_unroll Log.Wfeedback
let wkey_missing_loop_unroll = register_warn_category "missing-loop-unroll" let wkey_missing_loop_unroll = register_warn_category "missing-loop-unroll"
let () = set_warn_status wkey_missing_loop_unroll Log.Winactive let () = set_warn_status wkey_missing_loop_unroll Log.Winactive
let wkey_missing_loop_unroll_for = register_warn_category "missing-loop-unroll:for" let wkey_missing_loop_unroll_for = register_warn_category "missing-loop-unroll:for"
......
...@@ -180,7 +180,7 @@ val wkey_builtins_override: warn_category ...@@ -180,7 +180,7 @@ val wkey_builtins_override: warn_category
val wkey_libc_unsupported_spec : warn_category val wkey_libc_unsupported_spec : warn_category
(** Warning category used for "loop not completely unrolled" *) (** Warning category used for "loop not completely unrolled" *)
val wkey_loop_unrolling : warn_category val wkey_loop_unroll : warn_category
(** Warning category used to identify loops without unroll annotations *) (** Warning category used to identify loops without unroll annotations *)
val wkey_missing_loop_unroll : warn_category val wkey_missing_loop_unroll : warn_category
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
[eva:initial-state] Values of globals at initialization [eva:initial-state] Values of globals at initialization
a[0..9] ∈ {0} a[0..9] ∈ {0}
b[0..9] ∈ {0} b[0..9] ∈ {0}
[eva:loop-unrolling] tests/misc/unroll_annots.c:8: loop not completely unrolled [eva:loop-unroll] tests/misc/unroll_annots.c:8: loop not completely unrolled
[eva] tests/misc/unroll_annots.c:8: starting to merge loop iterations [eva] tests/misc/unroll_annots.c:8: starting to merge loop iterations
[eva:loop-unrolling] tests/misc/unroll_annots.c:14: loop not completely unrolled [eva:loop-unroll] tests/misc/unroll_annots.c:14: loop not completely unrolled
[eva] tests/misc/unroll_annots.c:14: starting to merge loop iterations [eva] tests/misc/unroll_annots.c:14: starting to merge loop iterations
[eva] tests/misc/unroll_annots.c:16: starting to merge loop iterations [eva] tests/misc/unroll_annots.c:16: starting to merge loop iterations
[eva] Recording results for main [eva] Recording results for main
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment