I'd build the same tiny program with the C and QBE backends and compare their output. Start with a call into C that takes both a float and an integer. If the results differ, you've got a small calling-convention test you can debug without pulling in the whole Pong demo.
1
u/Discordbothost 1d ago
I'd build the same tiny program with the C and QBE backends and compare their output. Start with a call into C that takes both a float and an integer. If the results differ, you've got a small calling-convention test you can debug without pulling in the whole Pong demo.