boolean not expression tweaks and optimizations

This commit is contained in:
Irmen de Jong
2024-01-05 13:32:16 +01:00
parent 37638e7ed0
commit 6d9fccacb1
15 changed files with 129 additions and 132 deletions

View File

@@ -1,7 +1,11 @@
TODO
====
[on branch 'booleans']: keep Bool alive longer until codegen? (don't replace by UBYTE so quickly?)
consolidate the various type-to-string tables, look for: DataType.BOOL -> "bool"
"all other not(x) --> x==0" SOMETIMES if removed, improves code, sometimes it makes it worse.
Find out what is what! (paint)
ALSO: when adding a expr.issimple to that, it crashes with a parent node mismatch error. FIX THAT.
...