mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-04-12 10:48:53 +03:00

In one of the previous commits we made a change to mark ld/st as aligned. This change was not propagated to test files
54 lines
2.1 KiB
Plaintext
54 lines
2.1 KiB
Plaintext
OpCapability GenericPointer
|
|
OpCapability Linkage
|
|
OpCapability Addresses
|
|
OpCapability Kernel
|
|
OpCapability Int8
|
|
OpCapability Int16
|
|
OpCapability Int64
|
|
OpCapability Float16
|
|
OpCapability Float64
|
|
%24 = OpExtInstImport "OpenCL.std"
|
|
OpMemoryModel Physical64 OpenCL
|
|
OpEntryPoint Kernel %1 "implicit_param"
|
|
%void = OpTypeVoid
|
|
%ulong = OpTypeInt 64 0
|
|
%27 = OpTypeFunction %void %ulong %ulong
|
|
%_ptr_Function_ulong = OpTypePointer Function %ulong
|
|
%float = OpTypeFloat 32
|
|
%_ptr_Function_float = OpTypePointer Function %float
|
|
%uint = OpTypeInt 32 0
|
|
%_ptr_Function_uint = OpTypePointer Function %uint
|
|
%_ptr_CrossWorkgroup_float = OpTypePointer CrossWorkgroup %float
|
|
%1 = OpFunction %void None %27
|
|
%8 = OpFunctionParameter %ulong
|
|
%9 = OpFunctionParameter %ulong
|
|
%22 = OpLabel
|
|
%2 = OpVariable %_ptr_Function_ulong Function
|
|
%3 = OpVariable %_ptr_Function_ulong Function
|
|
%4 = OpVariable %_ptr_Function_ulong Function
|
|
%5 = OpVariable %_ptr_Function_ulong Function
|
|
%6 = OpVariable %_ptr_Function_float Function
|
|
%7 = OpVariable %_ptr_Function_uint Function
|
|
OpStore %2 %8
|
|
OpStore %3 %9
|
|
%10 = OpLoad %ulong %2 Aligned 8
|
|
OpStore %4 %10
|
|
%11 = OpLoad %ulong %3 Aligned 8
|
|
OpStore %5 %11
|
|
%13 = OpLoad %ulong %4
|
|
%18 = OpConvertUToPtr %_ptr_CrossWorkgroup_float %13
|
|
%12 = OpLoad %float %18 Aligned 4
|
|
OpStore %6 %12
|
|
%14 = OpLoad %float %6
|
|
%19 = OpBitcast %_ptr_Function_float %7
|
|
OpStore %19 %14 Aligned 4
|
|
%20 = OpBitcast %_ptr_Function_float %7
|
|
%15 = OpLoad %float %20 Aligned 4
|
|
OpStore %6 %15
|
|
%16 = OpLoad %ulong %5
|
|
%17 = OpLoad %float %6
|
|
%21 = OpConvertUToPtr %_ptr_CrossWorkgroup_float %16
|
|
OpStore %21 %17 Aligned 4
|
|
OpReturn
|
|
OpFunctionEnd
|