Join GitHub today
add safety for noalias on a parameter #476
When you call a function with pointer arguments marked as
This should work for slices too, and it should ensure that the slices do not overlap. In order for the optimizer to potentially be able to use this information, we should probably pass slices as 2 parameters, the pointer and the length. This way we can add parameter attributes to the pointer parameter.