bjorn3 commented on issue #3708:
Maybe placing it just before the : is nicer? For example
block0(v0: i8) cold:
. This would avoid ambiguity if we get more block flags like to indicate landingpads for unwinding. It would also extend better to marking whole functions as cold if we get an inliner or change the way calls are codegened if the callee is marked as cold.
cfallin commented on issue #3708:
Sure, the parsing is a little more complex but it seems reasonable to be consistent with the way function flags work. Updated.
Last updated: Nov 22 2024 at 17:03 UTC