Jon Ross-Perkins
87d4c2dfc6
Improve testing and handling of unsigned APInt values ( #3202 )
2023-09-07 18:53:38 +00:00
Richard Smith
06d9813821
Fix lowering of 8 and 9. ( #3200 )
...
IntegerLiterals are not signed, so get the zero-extended value rather
than the sign-extended value. Sometimes we use the high bit of the
`APInt`, though currently this only happens for the literals 8 and 9 due
to the way we convert decimal integers to binary.
2023-09-06 21:30:29 +00:00
Jon Ross-Perkins
ec307b18d8
Rename the lowering dir to lower ( #3172 )
...
This is continuing with #3070 , starting dir renaming with lowering
because it's at the tip. AFAICT git is catching all the file moves.
2023-08-31 15:59:49 +00:00
Jon Ross-Perkins
86aecb532f
Rename lower to lowering ( #2618 )
...
Also Lower::Make to LowerToLLVM, removing the class for now.
This is per request from chandlerc and zygoloid.
2023-02-22 12:19:35 -08:00
Jon Ross-Perkins
530541e56c
Add boilerplate framework for lowering. ( #2607 )
...
This adds boilerplate for lowering; a `dump llvm-ir` command, a `lower` directory, some files to give basic structure, and a trivial test.
2023-02-17 16:14:57 -08:00