Skip to content

Conversation

@bradcray
Copy link
Member

While looking at some generated code that used lo..<hi ranges today, I was surprised to find a function call to compute the hi-1 implied by <hi, which seems like overkill in the generated C code. This changes the non-param versions of the routine to be inlined which seems like it can only help, and likely not hurt, the ability of the back-end compiler to optimize the code.

While looking at some generated code that used lo..<hi ranges today, I
was surprised to find a function call to compute the "hi-1" implied by
"hi", which seems like overkill in the generated C code.  This changes
the non-param versions of the routine to be inlined which seems like
it can only help, and likely not hurt, the compiler back-end.

---
Signed-off-by: Brad Chamberlain <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant