Needed for emitting asserts from frontends.
Activity
Add std.assert -> vm.fail lowering.
Add std.assert -> vm.fail lowering.
Add std.assert -> vm.fail lowering. (#5926)
stellaraccident commentedon May 17, 2021
Re-opening because the ghose of Ben pointed out:
there's a vm.cond_fail that does the condition and such for youSo this can be simplified.
Changing std.assert lowering to go to vm.cond_fail.
Changing std.assert lowering to go to vm.cond_fail.
Changing std.assert lowering to go to vm.cond_fail. (#6914)