terralang / terra

Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.
terralang.org
Other
2.72k stars 201 forks source link

Fix void return in PPC64le calling convention #578

Closed elliottslaughter closed 2 years ago

elliottslaughter commented 2 years ago

After this change, I get:

=================
= FAILING tests
=================
constanttypes.t
coverage3.t
multiterra.t
vecobj.t
=================

545 tests passed. 4 tests failed.

It seems this didn't matter for the C calling convention, but it does matter for calling intrinsics that return void, where LLVM has stricter type checking.