You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement ASR pass that checks every signed and unsigned integer arithmetic and casts #2183
This pass will only be run in Debug mode, but not in Release mode. The pass replaces IntegerBinOp with a function call to ASR functions (that the pass generates) such as add_checked(u32, u32) -> u32 which internally checks that the operation fits into u32, otherwise gives a runtime error.
Activity
ubaidsk commentedon Jul 19, 2023
Related #2176 (comment).