Commit graph

9 commits

Author SHA1 Message Date
Andrzej Janik
115f3f2d58 Improve recovery from unknown directive 2024-11-01 19:59:35 +00:00
Andrzej Janik
454ed3cc0d Also report unrecognized directives 2024-11-01 19:49:28 +00:00
Andrzej Janik
848398ea15 Report unknown instructions 2024-10-31 23:39:58 +00:00
Andrzej Janik
0f3b990dfa Fix compilation errors 2024-10-31 20:06:08 +00:00
Andrzej Janik
6f5d20af71 Track spans alongside tokens 2024-10-31 14:55:14 +01:00
Andrzej Janik
3870a96592
Re-enable all failing PTX tests (#277)
Additionally remove unused compilation paths
2024-10-16 03:15:48 +02:00
Andrzej Janik
c92abba2bb
Refactor compilation passes (#270)
The overarching goal is to refactor all passes so they are module-scoped and not function-scoped. Additionally, make improvements to the most egregiously buggy/unfit passes (so the code is ready for the next major features: linking, ftz handling) and continue adding more code to the LLVM backend
2024-09-23 16:33:46 +02:00
Andrzej Janik
46def3e7e0
Connect new parser to LLVM bitcode backend (#269)
This is very incomplete. Just enough code to emit LLVM bitcode and continue further development
2024-09-13 01:07:31 +02:00
Andrzej Janik
193eb29be8
PTX parser rewrite (#267)
Replaces traditional LALRPOP-based parser with winnow-based parser to handle out-of-order instruction modifer. Generate instruction type and instruction visitor from a macro instead of writing by hand. Add separate compilation path using the new parser that only works in tests for now
2024-09-04 15:47:42 +02:00