Displaying 1 result from an estimated 1 matches for "loaded_value".
Did you mean:
load_value
2018 Jan 29
0
Alias Analysis and backend specific memory intrinsic
...nsic with the signature {i32,
i8*}<return value> {i8*, i32}<arguments>.
The intrinsic is similar to a post increment load but does some thing extra.
It returns the value that is loaded from the memory and the updates the base
pointer.
void foo (int *restrict ptr, int *output, int loaded_value, int N) {
// This updates loaded_value and updates the ptr to ptr+N
ptr = intrinsic_call( ptr,&loaded_value, N);
*output = N;
}
The ScheduleDAG creates an ordered memory dependency from the intrinsic_call
to the unrelated store from "output".
which is causing a perf...