search for: stacki8

Displaying 2 results from an estimated 2 matches for "stacki8".

Did you mean: stack
2017 May 16
4
Which pass should be propagating memory copies
Consider the following IR example: define void @simple([4 x double] *%ptr, i64 %idx) { %stack = alloca [4 x double] %ptri8 = bitcast [4 x double] *%ptr to i8* %stacki8 = bitcast [4 x double] *%stack to i8* call void @llvm.memcpy.p0i8.p0i8.i32(i8 *%stacki8, i8 *%ptri8, i32 32, i32 0, i1 0) %dataptr = getelementptr inbounds [4 x double], [4 x double] *%ptr, i32 0, i64 %idx store double 0.0, double *%dataptr call void @llvm.memcpy.p0i8.p0i8.i32(i8 *%...
2017 May 17
4
Which pass should be propagating memory copies
...lt;mailto:llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>>> wrote: > > Consider the following IR example: > > define void @simple([4 x double] *%ptr, i64 %idx) { > %stack = alloca [4 x double] > %ptri8 = bitcast [4 x double] *%ptr to i8* > %stacki8 = bitcast [4 x double] *%stack to i8* > call void @llvm.memcpy.p0i8.p0i8.i32(i8 *%stacki8, i8 *%ptri8, i32 32, i32 0, i1 0) > %dataptr = getelementptr inbounds [4 x double], [4 x double] *%ptr, i32 0, i64 %idx > store double 0.0, double *%dataptr > call void @llvm.memcpy.p0i...