Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vectorizer: improve debug printout #3445

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions backend/cfg/vectorize.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2119,7 +2119,7 @@ end = struct
= Simd_selection.vector_width_in_bits);
Format.(
State.dump_debug (Dependencies.state deps) "Group.init\n%a\n"
(pp_print_list ~pp_sep:pp_print_newline Instruction.print_id)
(pp_print_list ~pp_sep:pp_print_newline Instruction.print)
instructions);
match instructions with
| [] -> assert false
Expand All @@ -2142,7 +2142,10 @@ end = struct
~res_count cfg_ops
in
match vector_instructions with
| None -> None
| None ->
State.dump_debug (Dependencies.state deps)
"Group.init: cannot vectorize operation\n";
None
| Some vector_instructions ->
let non_address_arg_count =
match mem_op with
Expand Down
Loading