Check-in [3e49a05889]

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

Overview
Comment:Restore the 'timings' list - if 'transform' doesn't produce it, there's a crash.
Timelines: family | ancestors | descendants | both | notworking | kbk-refactor-callframe
Files: files | file ages | folders
SHA3-256: 3e49a058893d2ea9a94529dda501015f34cbae3968e584ec949f3466d6f0d7e7
User & Date: kbk 2019-01-22 02:52:15.788
Context
2019-01-23
02:12
Add conversion to IMPURE ZEROONE INT, needed in booltest. Keep code motion from messing with the callframe for now. Patch out the handful of remaining tests that abort. Next up: fix the dictest tests involving 'dict update', lsetest, and re-add support for direct ops. check-in: 27339e7e0c user: kbk tags: notworking, kbk-refactor-callframe
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
Changes
Unified Diff Ignore Whitespace Patch
Changes to quadcode/transformer.tcl.
338
339
340
341
342
343
344
345
346


347
348
349
350
351
352
353
	    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
	}







<
|
>
>







338
339
340
341
342
343
344

345
346
347
348
349
350
351
352
353
354
	    deadvars
	    uselessphis
	    copyprop
	} {
	    my debug-transform {
		puts "Run: $pass"
	    }

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