tinygo icon indicating copy to clipboard operation
tinygo copied to clipboard

TestEmulatedRISCV slowdown with LLVM 19+

Open QuLogic opened this issue 4 months ago • 1 comments

When building and testing on Fedora with LLVM 18, TestEmulatedRISCV seems to run fine, if a bit slow since it's emulated. However, bumping to LLVM 19, these tests all timeout. I added -timeout 30m and then they passed. With LLVM 20, even the 30 minute timeout is not long enough but I can see qemu-system-riscv just running continuously.

I haven't looked at the difference in compiled results yet, but just seeing if you have any ideas where this might be going wrong?

QuLogic avatar Jul 21 '25 06:07 QuLogic