Richard Feldman
c8e647ccfc
Use is_zero_sized to remove lots of ptr_bytes
2020-08-07 20:08:06 -04:00
Richard Feldman
2babe67998
Fix stack overflow in monomorphization
2020-07-16 19:28:25 -04:00
Richard Feldman
c6a0970b73
Defer specialization by one level only
2020-07-12 23:43:55 -04:00
Richard Feldman
c2bc98ea4b
Only use pending specializations for other modules
2020-07-12 22:53:03 -04:00
Richard Feldman
9305ecc9bd
Specify which test passed or failed
2020-07-06 21:25:54 -04:00
Richard Feldman
b5ad6e17b4
Don't print subs on error
...
It's way too verbose and unhelpful!
2020-07-06 21:23:59 -04:00
Richard Feldman
e559deecbf
Improve LLVM verification error messages
2020-07-05 22:24:04 -04:00
Richard Feldman
46c43da1de
Improve debug output
2020-06-25 01:25:33 -04:00
Richard Feldman
e0fc71526e
Clean up some debugging info
2020-06-25 00:28:01 -04:00
Richard Feldman
b97c94c2da
Fix infinite loop
2020-06-21 22:29:28 -04:00
Richard Feldman
887ec9860a
wip
2020-05-26 21:19:46 -04:00
Richard Feldman
42e3d35564
Use specialize_all
2020-05-26 21:18:25 -04:00
Richard Feldman
bf11262e61
Move layout_id from mono to gen
...
This is because it's actually important that mono never use this.
It should only be used in gen, because it's only safe to use
synchronously, and it's important that mono be done in parallel.
Moving it to gen guarantees that mono will not use it, even accidentally!
2020-05-10 15:13:18 -04:00
Richard Feldman
6e05ba816f
Have CallByName use Layout
2020-05-10 15:13:18 -04:00
Richard Feldman
8572879e0d
Remove unused procs argument
2020-05-09 22:41:59 -04:00
Richard Feldman
c49abfe2de
Add layout to CallByName
2020-05-09 22:41:59 -04:00
Richard Feldman
510ab36f51
Use LayoutCache to avoid recomputing layouts
2020-05-09 22:11:32 -04:00
Richard Feldman
7e7c6ef4af
Drop obsolete symbol_counter field
2020-05-04 20:32:21 -04:00
Richard Feldman
ee31eac0c5
Code gen toplevel module functions
2020-05-01 19:30:55 -04:00
Richard Feldman
52a3e0afb5
Don't fail gen tests for unused warnings
2020-04-26 09:33:12 -04:00
Richard Feldman
d4b1c7e68a
Eagerly report more problems
2020-04-26 09:04:27 -04:00
Richard Feldman
a2e6c4ba12
Restore some things
2020-04-26 08:59:52 -04:00
Richard Feldman
afbe871e6d
wip
2020-04-26 08:45:41 -04:00
Richard Feldman
53ecf6df3e
Drop some unnecessary parens
2020-04-18 15:32:17 -04:00
Richard Feldman
ea713023e8
Add explicit OptLevel to add_passes
2020-04-16 20:26:08 -04:00
Richard Feldman
5980bc38da
Merge remote-tracking branch 'origin/trunk' into order-of-ops
2020-04-15 05:03:42 -04:00
Folkert
97c10e1211
setup for mono reports
2020-04-12 01:56:57 +02:00
Richard Feldman
37492f4aa6
Load builtins on startup
2020-03-31 23:50:55 -04:00
Richard Feldman
1609c058f6
Fix tests
2020-03-30 22:31:20 -04:00
Richard Feldman
5f817d8019
Add a basic CLI
2020-03-30 21:27:37 -04:00
Richard Feldman
0a0a736153
Move pass managers into llvm::build
2020-03-30 21:27:02 -04:00
Richard Feldman
23eafd3a75
Reorganize gen tests
2020-03-27 00:18:12 -04:00
Richard Feldman
40be7a582d
Extract eval test helpers
2020-03-27 00:18:12 -04:00