comparison gcc/tree-ssa-ifcombine.c @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 84e7813d76e9
children 1830386684a0
comparison
equal deleted inserted replaced
130:e108057fa461 132:d34655255c78
1 /* Combining of if-expressions on trees. 1 /* Combining of if-expressions on trees.
2 Copyright (C) 2007-2017 Free Software Foundation, Inc. 2 Copyright (C) 2007-2018 Free Software Foundation, Inc.
3 Contributed by Richard Guenther <rguenther@suse.de> 3 Contributed by Richard Guenther <rguenther@suse.de>
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify 7 GCC is free software; you can redistribute it and/or modify
364 * inner_taken->probability; 364 * inner_taken->probability;
365 inner_not_taken->probability = profile_probability::always () 365 inner_not_taken->probability = profile_probability::always ()
366 - inner_taken->probability; 366 - inner_taken->probability;
367 367
368 outer_to_inner->probability = profile_probability::always (); 368 outer_to_inner->probability = profile_probability::always ();
369 inner_cond_bb->frequency = outer_cond_bb->frequency;
370 outer2->probability = profile_probability::never (); 369 outer2->probability = profile_probability::never ();
371 } 370 }
372 371
373 /* If-convert on a and pattern with a common else block. The inner 372 /* If-convert on a and pattern with a common else block. The inner
374 if is specified by its INNER_COND_BB, the outer by OUTER_COND_BB. 373 if is specified by its INNER_COND_BB, the outer by OUTER_COND_BB.