Check-in [9e16d3b8d6]
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Run dead code elimination before copy propagation because copyprop explodes otherwise.
Timelines: family | ancestors | descendants | both | notworking | kbk-refactor-callframe
Files: files | file ages | folders
SHA3-256: 9e16d3b8d6d4272a9ce86c558e2f50d333545e057cb11234f9b49c79ae87fd29
User & Date: kbk 2019-01-22 02:36:57
Context
2019-01-22
02:52
Restore the 'timings' list - if 'transform' doesn't produce it, there's a crash. check-in: 3e49a05889 user: kbk tags: notworking, kbk-refactor-callframe
02:36
Run dead code elimination before copy propagation because copyprop explodes otherwise. check-in: 9e16d3b8d6 user: kbk tags: notworking, kbk-refactor-callframe
02:35
Bug fixes to make all the 'expandtest' cases work check-in: 4f7b3a4d01 user: kbk tags: notworking, kbk-refactor-callframe
Changes

Changes to quadcode/transformer.tcl.

   316    316   	foreach pass {
   317    317   	    bbpartition
   318    318   	    constJumpPeephole
   319    319   	    sortbb
   320    320   	    loopinv
   321    321   	    ssa
   322    322   	    ud_du_chain
          323  +	    deadbb
          324  +	    deadvars
          325  +	    uselessphis
   323    326   	    copyprop
   324    327   	    fqcmd
   325    328   	    varargs
   326    329   	    deadbb
   327    330   	    bbidom
   328    331   	    bblevel
   329    332   	    rewriteParamChecks
   330    333   	    deconstructSSA
   331    334   	    narrow
   332    335   	    ssa
   333    336   	    ud_du_chain
          337  +	    deadbb
          338  +	    deadvars
          339  +	    uselessphis
   334    340   	    copyprop
   335    341   	} {
   336    342   	    my debug-transform {
   337    343   		puts "Run: $pass"
   338    344   	    }
   339         -	    lappend timings $pass [lindex [time [list my $pass]] 0]
   340         -	}
   341         -	my debug-timings {
   342         -	    foreach {pass usec} $timings {
          345  +	    my debug-timings {
          346  +		set usec [lindex [time [list my $pass]] 0]
   343    347   		puts "$pass: $usec microseconds"
   344    348   	    }
   345    349   	}
   346    350   	my debug-transform {
   347    351   	    puts "after initial transform:"
   348    352   	    my dump-bb
   349    353   	}