From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0B4993857823; Mon, 13 Dec 2021 10:55:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0B4993857823 From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/103680] Jump threading and switch corrupts profile Date: Mon, 13 Dec 2021 10:55:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2021 10:55:16 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103680 Jan Hubicka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aldyh at gcc dot gnu.org, | |law at gcc dot gnu.org, | |marxin at gcc dot gnu.org --- Comment #1 from Jan Hubicka --- This is table to fit 80 column limit Profile consistency report: Pass dump id and name |dynamic mismatch=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 |in count |out prob=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 79i cp | 793393361 +793393361| 0=20=20=20= =20=20=20=20=20=20=20=20=20=20 83i inline | 10286436405 +9493043044| 15236 +152= 36 92t fixup_cfg | 10286436405 | 15236=20=20=20= =20=20=20=20=20=20=20=20=20=20 97t ompdevlow | 10286436405 | 15236=20=20=20= =20=20=20=20=20=20=20=20=20=20 99t adjust_alignment | 10286436405 | 15236=20=20=20= =20=20=20=20=20=20=20=20=20=20 100t ccp | 10489595202 +203158797| 1581960 +15667= 24 101t objsz | 10489595202 | 1581960=20=20=20= =20=20=20=20=20=20=20=20=20=20 103t cunrolli | 10056896600 -432698602| 1581960=20=20=20= =20=20=20=20=20=20=20=20=20=20 104t backprop | 10056896600 | 1581960=20=20=20= =20=20=20=20=20=20=20=20=20=20 105t phiprop | 10056896600 | 1581960=20=20=20= =20=20=20=20=20=20=20=20=20=20 106t forwprop | 10159477423 +102580823| 1581960=20=20=20= =20=20=20=20=20=20=20=20=20=20 107t alias | 10159477423 | 1581960=20=20=20= =20=20=20=20=20=20=20=20=20=20 108t retslot | 10159477423 | 1581960=20=20=20= =20=20=20=20=20=20=20=20=20=20 109t fre | 19869551210 +9710073787| 15236 -15667= 24 110t mergephi | 20025371186 +155819976| 15236=20=20=20= =20=20=20=20=20=20=20=20=20=20 11t threadfull | 202402568370 +182377197184| 972775135 +972759= 89 112t vrp | 216458254352 +14055685982| 1014740538 +419654= 03 113t dse | 216259198094 -199056258| 1014740522 -= 16 114t dce | 213766589405 -2492608689| 1010738219 -40023= 03 115t stdarg | 213766589405 | 1010738219=20=20=20= =20=20=20=20=20=20=20=20=20=20 116t cdce | 213766589405 | 1010738219=20=20=20= =20=20=20=20=20=20=20=20=20=20 117t cselim | 213766434213 -155192| 1010738219=20=20=20= =20=20=20=20=20=20=20=20=20=20 118t copyprop | 212518014812 -1248419401| 1003793990 -69442= 29 119t ifcombine | 215021849380 +2503834568| 1175015399 +1712214= 09 120t mergephi | 213958226983 -1063622397| 1170269374 -47460= 25 121t phiopt | 213278698412 -679528571| 1169780184 -4891= 90 122t tailr | 213591827870 +313129458| 1169780184=20=20=20= =20=20=20=20=20=20=20=20=20=20 123t ch | 231773845670 +18182017800| 1169779155 -10= 29 124t cplxlower | 231773845670 | 1169779155=20=20=20= =20=20=20=20=20=20=20=20=20=20 125t sra | 231773845670 | 1169779155=20=20=20= =20=20=20=20=20=20=20=20=20=20 126t thread | 282837813276 +51063967606| 1884527067 +7147479= 12 127t dom | 289296055849 +6458242573| 1881062486 -34645= 80 128t copyprop | 288791521291 -504534558| 1880452325 -6101= 61 129t isolate-paths | 289175243159 +383721868| 1887100849 +66485= 24 130t reassoc | 295644564738 +6469321579| 1886368237 -7326= 12 131t dce | 294937412703 -707152035| 1878493133 -78751= 04 132t forwprop | 297646371403 +2708958700| 1878493133=20=20=20= =20=20=20=20=20=20=20=20=20=20 133t phiopt | 297639291119 -7080284| 1878493133=20=20=20= =20=20=20=20=20=20=20=20=20=20 134t ccp | 297550679459 -88611660| 1893125633 +146325= 00 135t sincos | 297550679459 | 1893125633=20=20=20= =20=20=20=20=20=20=20=20=20=20 136t bswap | 297550679459 | 1893125633=20=20=20= =20=20=20=20=20=20=20=20=20=20 137t laddress | 297550679459 | 1893125633=20=20=20= =20=20=20=20=20=20=20=20=20=20 138t lim | 297859756610 +309077151| 1893125633=20=20=20= =20=20=20=20=20=20=20=20=20=20 139t walloca | 297859756610 | 1893125633=20=20=20= =20=20=20=20=20=20=20=20=20=20 140t pre | 299154507133 +1294750523| 1885986610 -71390= 23 141t sink | 299366883910 +212376777| 1855713098 -302735= 12 145t dse | 299366883910 | 1855713098=20=20=20= =20=20=20=20=20=20=20=20=20=20 146t dce | 299440495723 +73611813| 1855713098=20=20=20= =20=20=20=20=20=20=20=20=20=20 147t fix_loops | 299440495723 | 1855713098=20=20=20= =20=20=20=20=20=20=20=20=20=20 148t loop | 299440495723 | 1855713098=20=20=20= =20=20=20=20=20=20=20=20=20=20 149t loopinit | 299440495723 | 1855713098=20=20=20= =20=20=20=20=20=20=20=20=20=20 150t unswitch | 301091048942 +1650553219| 1855713098=20=20=20= =20=20=20=20=20=20=20=20=20=20 151t sccp | 301090909602 -139340| 1855713098=20=20=20= =20=20=20=20=20=20=20=20=20=20 152t lsplit | 301901055378 +810145776| 1855713098=20=20=20= =20=20=20=20=20=20=20=20=20=20 153t lversion | 301901055378 | 1855713098=20=20=20= =20=20=20=20=20=20=20=20=20=20 154t unrolljam | 301901055378 | 1855713098=20=20=20= =20=20=20=20=20=20=20=20=20=20 55t cddce | 400398657031 +98497601653| 1723477545 -1322355= 53 156t ivcanon | 400399330048 +673017| 1723477545=20=20=20= =20=20=20=20=20=20=20=20=20=20 157t ldist | 396226006072 -4173323976| 2013657886 +2901803= 41 158t linterchange | 396226006072 | 2013657886=20=20=20= =20=20=20=20=20=20=20=20=20=20 159t copyprop | 396225913851 -92221| 2013657886=20=20=20= =20=20=20=20=20=20=20=20=20=20 166t ompexpssa | 396225913851 | 2013657886=20=20=20= =20=20=20=20=20=20=20=20=20=20 167t ch_vect | 396265259912 +39346061| 2013657886=20=20=20= =20=20=20=20=20=20=20=20=20=20 168t ifcvt | 399080908207 +2815648295| 3365644947 +13519870= 61 169t vect | 395362097676 -3718810531| 2013657886 -13519870= 61 170t dce | 395133116739 -228980937| 2013657886=20=20=20= =20=20=20=20=20=20=20=20=20=20 171t pcom | 395133116739 | 2013657886=20=20=20= =20=20=20=20=20=20=20=20=20=20 172t cunroll 6| 478680255671 +83547138932| 1999297268 -14360= 61 173t fre | 478355091001 -325164670| 1999297268=20=20=20= =20=20=20=20=20=20=20=20=20=20 174t dse | 478355091001 | 1999297268=20=20=20= =20=20=20=20=20=20=20=20=20=20 175t slp | 478355091001 | 1999297268=20=20=20= =20=20=20=20=20=20=20=20=20=20 177t ivopts | 478355091001 | 1999297268=20=20=20= =20=20=20=20=20=20=20=20=20=20 178t lim | 478355091001 | 1999297268=20=20=20= =20=20=20=20=20=20=20=20=20=20 179t loopdone | 478267981458 -87109543| 1999297268=20=20=20= =20=20=20=20=20=20=20=20=20=20 180t no_loop | 478267981458 | 1999297268=20=20=20= =20=20=20=20=20=20=20=20=20=20 181t slp | 478267981458 | 1999297268=20=20=20= =20=20=20=20=20=20=20=20=20=20 183t veclower2 | 477128368553 -1139612905| 1999297226 -= 42 184t switchlower 04| 1380672969073 +903544600520| 1921470715 -77= 82 186t reassoc | 1380025901003 -647068070| 1921462330 -8= 38 187t slsr | 1380025901003 | 1921462330=20=20=20= =20=20=20=20=20=20=20=20=20 188t split-paths | 1380032502398 +6601395| 1921462330=20=20=20= =20=20=20=20=20=20=20=20=20 189t tracer | 1272463552867 -107568949531| 1909758769 -1170= 35 190t fre | 1291101339405 +18637786538| 1905694277 -4064= 49 191t thread | 1260887440991 -30213898414| 3227986771 +1322292= 49 192t dom | 1265636026287 +4748585296| 3398605099 +170618= 32 193t strlen | 1265636026287 | 3398605099=20=20=20= =20=20=20=20=20=20=20=20=20 194t threadfull | 1273228200834 +7592174547| 3495419473 +96814= 37 195t vrp | 1273076379738 -151821096| 4379683658 +884264= 18 196t ccp | 1272303409980 -772969758| 4385826012 +6142= 35 197t wrestrict | 1272303409980 | 4385826012=20=20=20= =20=20=20=20=20=20=20=20=20 198t dse | 1272023199564 -280210416| 4385816013 -9= 99 199t cddce 6| 1369149644581 +97126445017| 4385012766 -80= 32 200t forwprop | 1369582809624 +433165043| 4380754912 -4257= 85 201t phiopt | 1369413694596 -169115028| 4371615103 -9139= 80 202t fab | 1356127299769 -13286394827| 4359973464 -11641= 63 203t widening_mul | 1356127299769 | 4359973464=20=20=20= =20=20=20=20=20=20=20=20=20 204t sink | 1352510559484 -3616740285| 4359971169 -2= 29 205t store-merging | 1352510559484 | 4359971169=20=20=20= =20=20=20=20=20=20=20=20=20 206t tailc | 1352494254576 -16304908| 4359971169=20=20=20= =20=20=20=20=20=20=20=20=20 207t dce | 1350206240191 -2288014385| 4359971169=20=20=20= =20=20=20=20=20=20=20=20=20 208t crited | 1350206240191 | 4359971169=20=20=20= =20=20=20=20=20=20=20=20=20 209t uninit | 1350206240191 | 4359971169=20=20=20= =20=20=20=20=20=20=20=20=20 210t local-pure-const | 1350349863074 +143622883| 4359971169=20=20=20= =20=20=20=20=20=20=20=20=20 211t modref | 1350349863074 | 4359971169=20=20=20= =20=20=20=20=20=20=20=20=20 212t uncprop | 1350349863074 | 4359971169=20=20=20= =20=20=20=20=20=20=20=20=20 246t nrv | 1350349863074 | 4359971169=20=20=20= =20=20=20=20=20=20=20=20=20 247t isel | 1350349863074 | 4359971169=20=20=20= =20=20=20=20=20=20=20=20=20 250t optimized | 1350486491782 +136628708| 4380125028 +20153= 85 251t waccess | 1350486491782 | 4380125028=20=20=20= =20=20=20=20=20=20=20=20=20 252r expand 1| 1300300159576 -50186332206| 3055506535 -132461= 84 253r vregs | 1300300159576 | 3055506535=20=20=20= =20=20=20=20=20=20=20=20=20 254r into_cfglayout | 1300334045064 +33885488| 2856914371 -198592= 16 255r jump | 1300487250854 +153205790| 2856927565 +13= 19 256r subreg1 | 1300487250854 | 2856927565=20=20=20= =20=20=20=20=20=20=20=20=20 257r dfinit | 1300487250854 | 2856927565=20=20=20= =20=20=20=20=20=20=20=20=20 258r cse1 | 1300444468450 -42782404| 2856913789 -13= 77 259r fwprop1 | 1300444468450 | 2856913789=20=20=20= =20=20=20=20=20=20=20=20=20 260r cprop | 1302497316424 +2052847974| 2840122245 -16791= 54 261r rtl pre | 1302497316424 | 2840122245=20=20=20= =20=20=20=20=20=20=20=20=20 262r hoist | 1302497316424 | 2840122245=20=20=20= =20=20=20=20=20=20=20=20=20 263r cprop | 1301012893039 -1484423385| 2839953333 -168= 91 265r cse_local | 1301012893039 | 2839953333=20=20=20= =20=20=20=20=20=20=20=20=20 266r ce1 | 1297874035422 -3138857617| 2805149089 -34804= 24 267r reginfo | 1297874035422 | 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 268r loop2 | 1297874035422 | 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 269r loop2_init | 1297874035422 | 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 270r loop2_invariant | 1297874035422 | 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 271r loop2_unroll | 1311747865069 +13873829647| 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 273r loop2_done | 1317456278918 +5708413849| 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 276r cprop | 1334139229371 +16682950453| 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 277r stv | 1334139229371 | 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 278r cse2 | 1334078649228 -60580143| 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 279r dse1 | 1334078649228 | 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 280r fwprop2 | 1333290149948 -788499280| 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 282r init-regs | 1333290149948 | 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 283r ud_dce | 1333290149948 | 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 284r combine | 1333648234805 +358084857| 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 286r stv | 1333648234805 | 2805149089=20=20=20= =20=20=20=20=20=20=20=20=20 287r ce2 | 1333465104885 -183129920| 2804833682 -315= 40 288r jump_after_combine| 1334075792643 +610687758| 2813150500 +8316= 81 289r bbpart | 1333936023873 -139768770| 2813142257 -8= 24 290r outof_cfglayout | 1333936023873 | 2813142257=20=20=20= =20=20=20=20=20=20=20=20=20 291r split1 | 1333936023873 | 2813142257=20=20=20= =20=20=20=20=20=20=20=20=20 292r subreg3 | 1333936023873 | 2813142257=20=20=20= =20=20=20=20=20=20=20=20=20 294r mode_sw | 1333936023873 | 2813142257=20=20=20= =20=20=20=20=20=20=20=20=20 295r asmcons | 1333936023873 | 2813142257=20=20=20= =20=20=20=20=20=20=20=20=20 300r ira | 1333936023873 | 2813142257=20=20=20= =20=20=20=20=20=20=20=20=20 301r reload | 1334581013551 +644989678| 2812625999 -516= 25 303r postreload | 1334581013551 | 2812625999=20=20=20= =20=20=20=20=20=20=20=20=20 304r gcse2 | 1334581013551 | 2812625999=20=20=20= =20=20=20=20=20=20=20=20=20 305r split2 | 1334581013551 | 2812625999=20=20=20= =20=20=20=20=20=20=20=20=20 306r ree | 1334581013551 | 2812625999=20=20=20= =20=20=20=20=20=20=20=20=20 307r cmpelim | 1334581013551 | 2812625999=20=20=20= =20=20=20=20=20=20=20=20=20 309r pro_and_epilogue | 1341177127695 +6596114144| 2812611798 -14= 20 309r dse2 | 1341177127695 | 2812611798=20=20=20= =20=20=20=20=20=20=20=20=20 310r csa | 1341177127695 | 2812611798=20=20=20= =20=20=20=20=20=20=20=20=20 311r jump2 | 1394955038853 +53777911158| 2811994770 -617= 02 312r compgotos | 1394955038853 | 2811994770=20=20=20= =20=20=20=20=20=20=20=20=20 314r peephole2 | 1394955038853 | 2811994770=20=20=20= =20=20=20=20=20=20=20=20=20 315r ce3 | 1394975083423 +20044570| 2811994770=20=20=20= =20=20=20=20=20=20=20=20=20 317r cprop_hardreg | 1394975083423 | 2811994770=20=20=20= =20=20=20=20=20=20=20=20=20 318r rtl_dce | 1394975083423 | 2811994770=20=20=20= =20=20=20=20=20=20=20=20=20 319r bbro | 1358424822396 -36550261027| 2811994765 = - 320r split3 | 1358424822396 | 2811994765=20=20=20= =20=20=20=20=20=20=20=20=20 321r sched2 | 1358424822396 | 2811994765=20=20=20= =20=20=20=20=20=20=20=20=20 323r stack | 1358424822396 | 2811994765=20=20=20= =20=20=20=20=20=20=20=20=20 324r zero_call_used_reg| 1358424822396 | 2811994765=20=20=20= =20=20=20=20=20=20=20=20=20 325r alignments | 1358424822396 | 2811994765=