Stream: cranelift

Topic: How to see bb code on assertion failure?


view this post on Zulip osa1 (May 15 2020 at 20:54):

I'm currently getting block1 failed basic block invariants on store.i64 v1, v7 error in a block. How do I see the block code (and ideally with any code generated before?) when this happens?

view this post on Zulip osa1 (May 15 2020 at 20:54):

It's also not clear from the error message what the invariant is.

view this post on Zulip osa1 (May 15 2020 at 20:58):

Nvm just found the display method

view this post on Zulip osa1 (May 15 2020 at 21:03):

Anyone know what the invariants are around store instructions? Not sure what's wrong in this line

view this post on Zulip osa1 (May 15 2020 at 21:07):

I wonder why the cranelift ignores the actual error message here, which is post-branch instruction not fallthrough or jump


Last updated: Dec 23 2024 at 13:07 UTC