Check-in [9e16d3b8d6]

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.445
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
Unified Diff Ignore Whitespace Patch
Changes to quadcode/transformer.tcl.
316
317
318
319
320
321
322



323
324
325
326
327
328
329
330
331
332
333



334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
	foreach pass {
	    bbpartition
	    constJumpPeephole
	    sortbb
	    loopinv
	    ssa
	    ud_du_chain



	    copyprop
	    fqcmd
	    varargs
	    deadbb
	    bbidom
	    bblevel
	    rewriteParamChecks
	    deconstructSSA
	    narrow
	    ssa
	    ud_du_chain



	    copyprop
	} {
	    my debug-transform {
		puts "Run: $pass"
	    }
	    lappend timings $pass [lindex [time [list my $pass]] 0]
	}
	my debug-timings {
	    foreach {pass usec} $timings {
		puts "$pass: $usec microseconds"
	    }
	}
	my debug-transform {
	    puts "after initial transform:"
	    my dump-bb
	}







>
>
>











>
>
>





<
<
|
|







316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344


345
346
347
348
349
350
351
352
353
	foreach pass {
	    bbpartition
	    constJumpPeephole
	    sortbb
	    loopinv
	    ssa
	    ud_du_chain
	    deadbb
	    deadvars
	    uselessphis
	    copyprop
	    fqcmd
	    varargs
	    deadbb
	    bbidom
	    bblevel
	    rewriteParamChecks
	    deconstructSSA
	    narrow
	    ssa
	    ud_du_chain
	    deadbb
	    deadvars
	    uselessphis
	    copyprop
	} {
	    my debug-transform {
		puts "Run: $pass"
	    }


	    my debug-timings {
		set usec [lindex [time [list my $pass]] 0]
		puts "$pass: $usec microseconds"
	    }
	}
	my debug-transform {
	    puts "after initial transform:"
	    my dump-bb
	}