]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Make store likely in optimize_mask_stores
authorJan Hubicka <jh@suse.cz>
Thu, 27 Jul 2023 18:14:19 +0000 (20:14 +0200)
committerJan Hubicka <jh@suse.cz>
Thu, 27 Jul 2023 18:14:19 +0000 (20:14 +0200)
gcc/ChangeLog:

* tree-vect-loop.cc (optimize_mask_stores): Make store
likely.

gcc/tree-vect-loop.cc

index 2561552fe6e41481411347de4713c1fa51b3bdd2..a83952aff60760c13f9c82dc710c9d2de32c32c8 100644 (file)
@@ -11741,7 +11741,7 @@ optimize_mask_stores (class loop *loop)
       e->flags = EDGE_TRUE_VALUE;
       efalse = make_edge (bb, store_bb, EDGE_FALSE_VALUE);
       /* Put STORE_BB to likely part.  */
-      efalse->probability = profile_probability::unlikely ();
+      efalse->probability = profile_probability::likely ();
       e->probability = efalse->probability.invert ();
       store_bb->count = efalse->count ();
       make_single_succ_edge (store_bb, join_bb, EDGE_FALLTHRU);