public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/loop-unswitching-switch-v5)] Add tree-dump times. Date: Mon, 8 Nov 2021 15:42:40 +0000 (GMT) [thread overview] Message-ID: <20211108154240.A11763858038@sourceware.org> (raw) https://gcc.gnu.org/g:a19c463ff704eaadc9b6a7ca328bfde13e0375f7 commit a19c463ff704eaadc9b6a7ca328bfde13e0375f7 Author: Martin Liska <mliska@suse.cz> Date: Mon Nov 8 16:42:24 2021 +0100 Add tree-dump times. Diff: --- gcc/testsuite/gcc.dg/loop-unswitch-6.c | 8 ++++---- gcc/testsuite/gcc.dg/loop-unswitch-7.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gcc/testsuite/gcc.dg/loop-unswitch-6.c b/gcc/testsuite/gcc.dg/loop-unswitch-6.c index 8a022e0f200..315d6850877 100644 --- a/gcc/testsuite/gcc.dg/loop-unswitch-6.c +++ b/gcc/testsuite/gcc.dg/loop-unswitch-6.c @@ -50,7 +50,7 @@ int main() /* Test that we actually unswitched something. */ -/* { dg-final { scan-tree-dump ";; Unswitching loop with condition: order.* == 0" "unswitch" } } */ -/* { dg-final { scan-tree-dump ";; Unswitching loop with condition: order.* == 1" "unswitch" } } */ -/* { dg-final { scan-tree-dump ";; Unswitching loop with condition: order.* == 2" "unswitch" } } */ -/* { dg-final { scan-tree-dump ";; Unswitching loop with condition: order.* == 3" "unswitch" } } */ +/* { dg-final { scan-tree-dump-times ";; Unswitching loop with condition: order.* == 0" 1 "unswitch" } } */ +/* { dg-final { scan-tree-dump-times ";; Unswitching loop with condition: order.* == 1" 1 "unswitch" } } */ +/* { dg-final { scan-tree-dump-times ";; Unswitching loop with condition: order.* == 2" 1 "unswitch" } } */ +/* { dg-final { scan-tree-dump-times ";; Unswitching loop with condition: order.* == 3" 1 "unswitch" } } */ diff --git a/gcc/testsuite/gcc.dg/loop-unswitch-7.c b/gcc/testsuite/gcc.dg/loop-unswitch-7.c index 00f2fcff64b..efabd52886c 100644 --- a/gcc/testsuite/gcc.dg/loop-unswitch-7.c +++ b/gcc/testsuite/gcc.dg/loop-unswitch-7.c @@ -39,7 +39,7 @@ foo(double *a, double *b, double *c, double *d, double *r, int size, int order) return 0; } -/* { dg-final { scan-tree-dump ";; Unswitching loop with condition: order_.* >= 5 & order_.* <= 6 | order_.* == 9" "unswitch" } } */ -/* { dg-final { scan-tree-dump ";; Unswitching loop with condition: order.* == 1" "unswitch" } } */ -/* { dg-final { scan-tree-dump ";; Unswitching loop with condition: order.* == 2" "unswitch" } } */ -/* { dg-final { scan-tree-dump ";; Unswitching loop with condition: order.* == 3" "unswitch" } } */ +/* { dg-final { scan-tree-dump-times ";; Unswitching loop with condition: order_.* >= 5 & order_.* <= 6 \\| order_.* == 9" 1 "unswitch" } } */ +/* { dg-final { scan-tree-dump-times ";; Unswitching loop with condition: order.* == 1" 1 "unswitch" } } */ +/* { dg-final { scan-tree-dump-times ";; Unswitching loop with condition: order.* == 2" 1 "unswitch" } } */ +/* { dg-final { scan-tree-dump-times ";; Unswitching loop with condition: order.* == 3" 1 "unswitch" } } */
reply other threads:[~2021-11-08 15:42 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211108154240.A11763858038@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).