summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Div-by-1 peepCliff Click2024-10-061-1/+6
|
* Fix IRPrinterCliff Click2024-10-061-21/+40
| | | | IRPrint was using a HashTable with Node keys, which calls hashCode, which sets the flag claiming the Node is locked in the GVN table. If this is not true, you later trigger the locked-but-not-in-table assert. Which means calling toString from stopping in the debugger can trigger a later assert.
* Adding TypeArrayCliff Click2024-10-064-1/+75
|
* Ch15 initial pushCliff Click2024-10-0687-6/+12148
|
* Cleanup on ch5 READMECliff Click2024-09-291-100/+116
|
* A bunch of rewording to get better flowCliff Click2024-09-291-89/+92
| | | | Fix a bunch of indent bugs.
* c will die when the scope dies.Tamas Hadhazy2024-09-291-1/+3
|
* add graph and explanationTamas Hadhazy2024-09-292-4/+246
|
* add missing ToStringTamas Hadhazy2024-09-261-0/+4
|
* update readmeHels152024-09-251-15/+17
|
* replace constant fold version to argHels152024-09-251-6/+6
|
* extend opt and projnode docsHels152024-09-253-1/+286
|
* extend chapter 2 peephole section (#118)Tamás Hadházy2024-09-214-1/+351
| | | | | | | * extend peephole section * fix bad indentatitons * Update README.md
* remove peephole from ProjNode::idealize that is already handled by computeRobert Obkircher2024-09-169-74/+43
|
* Folding loads before phis needs more work (#116)Cliff Click2024-09-1513-37/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Folding loads before phis needs more work Have to check load alias & offset/field match. Could work for stores as well, will need to check more inputs * Preserve SAR/SHL sharpness with variant shifts * phi-node cloning honors unrelated argument types * bool can never do phiCon * dont fold shifts outside the range 0-63 * Now allowed to fold Loads in Phi Because honors glb() of inputs * Correct shr of mixed sign * yank load merge again needs an anti-dep check * Stop phi-merge if it loses precision * wrap bug
* sighCliff Click2024-09-151-1/+1
|
* fix Minus wrapping MIN_LONGCliff Click2024-09-152-2/+20
|
* replace imagesTamas Hadhazy2024-09-152-4/+4
|
* b and e use different numbersTamas Hadhazy2024-09-141-4/+4
|
* revisit explanationTamas Hadhazy2024-09-141-2/+3
|
* extend explanation on scopesTamas Hadhazy2024-09-143-0/+288
|
* move x-x check up frontCliff Click2024-09-1311-34/+44
|
* x-x==0Cliff Click2024-09-1321-50/+99
| | | | | | Move x-x==0 to compute. Add x/1 ==> x All chapters
* Fix GCM of CSE storesCliff Click2024-09-1223-54/+104
| | | | | Stop CSE of stores. Backports to ch11,12,13,14
* Support transpiling more test features: iterate, IRPrinter, assertions, ↵Robert Obkircher2024-09-094-57/+158
| | | | GraphEvaluator
* Add transpiler for JUnit testsRobert Obkircher2024-09-0911-0/+473
|
* Remove commutative peepholes for shiftsThalia Archibald2024-09-073-18/+3
|
* Fix typos in chapter 14Thalia Archibald2024-09-074-15/+15
|
* README includes more design decisions for type names.Cliff Click2024-09-078-4/+161
| | | | Add Or,Xor for completeness.
* Update README.mdCliff Click2024-09-071-3/+2
|
* better monotone check for dead loopsCliff Click2024-09-074-24/+32
|
* Correct err msgCliff Click2024-09-072-4/+4
|
* Fix bugsCliff Click2024-09-075-1/+44
| | | | | AND on floats Shift-extend idiom smartly makes sharper int types.
* Fix possible monotonicity bugCliff Click2024-09-074-0/+12
| | | | Allow Add to smartly add ranges.
* Updates READMECliff Click2024-09-073-22/+31
| | | | More on Types, pushed out Arrays one more chapter
* Cleanup comments to match designCliff Click2024-09-072-22/+26
| | | | Went through several iterations, one where a null _obj was allowed, but settled on using TypeStruct.BOT instead.
* And-masking sharpens narrowed intsCliff Click2024-09-073-3/+38
| | | | Needed to recognize narrowed expressions
* minus is sane for high rangesCliff Click2024-09-071-1/+3
|
* Add READMECliff Click2024-09-071-1/+65
|
* All the remaining narrow typesCliff Click2024-09-076-34/+135
| | | | Narrow f32, requires a Round node.
* Backport empty statement fixCliff Click2024-09-0717-228/+351
| | | | | Split Ch13 tests from Chapter12Test.java Handle forward refs never defined.
* Update fuzzer for chapter 14. (#107)XmiliaH2024-09-072-51/+138
| | | | | * Update fuzzer for chapter 14. * Add and operator to evaluator
* Shift operators; sign extensionCliff Click2024-09-077-8/+228
|
* handle all unsigned int variantsCliff Click2024-09-078-19/+249
| | | | and-masking and typenames for all!
* Correct constant fold with ranges for most primitivesCliff Click2024-09-079-14/+17
|
* Add TypeInteger rangesCliff Click2024-09-078-70/+119
|
* #98 Chapter 14 arraysdibyendumajumdar2024-09-074-0/+26
|
* #98 Chapter 14 arraysdibyendumajumdar2024-09-0776-0/+11080
|
* Fix chapter 1 link and mis-spelling (#102)Dibyendu Majumdar2024-09-031-1/+1
|
* Update fuzzer for chapter 13. (#105)XmiliaH2024-09-032-50/+114
|