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
58 lines
2.1 KiB
Plaintext
58 lines
2.1 KiB
Plaintext
OpCapability GenericPointer
|
|
OpCapability Linkage
|
|
OpCapability Addresses
|
|
OpCapability Kernel
|
|
OpCapability Int8
|
|
OpCapability Int16
|
|
OpCapability Int64
|
|
OpCapability Float16
|
|
OpCapability Float64
|
|
%29 = OpExtInstImport "OpenCL.std"
|
|
OpMemoryModel Physical64 OpenCL
|
|
OpEntryPoint Kernel %1 "bra"
|
|
%void = OpTypeVoid
|
|
%ulong = OpTypeInt 64 0
|
|
%32 = OpTypeFunction %void %ulong %ulong
|
|
%_ptr_Function_ulong = OpTypePointer Function %ulong
|
|
%_ptr_Generic_ulong = OpTypePointer Generic %ulong
|
|
%ulong_1 = OpConstant %ulong 1
|
|
%ulong_2 = OpConstant %ulong 2
|
|
%1 = OpFunction %void None %32
|
|
%11 = OpFunctionParameter %ulong
|
|
%12 = OpFunctionParameter %ulong
|
|
%27 = OpLabel
|
|
%2 = OpVariable %_ptr_Function_ulong Function
|
|
%3 = OpVariable %_ptr_Function_ulong Function
|
|
%7 = OpVariable %_ptr_Function_ulong Function
|
|
%8 = OpVariable %_ptr_Function_ulong Function
|
|
%9 = OpVariable %_ptr_Function_ulong Function
|
|
%10 = OpVariable %_ptr_Function_ulong Function
|
|
OpStore %2 %11
|
|
OpStore %3 %12
|
|
%13 = OpLoad %ulong %2 Aligned 8
|
|
OpStore %7 %13
|
|
%14 = OpLoad %ulong %3 Aligned 8
|
|
OpStore %8 %14
|
|
%16 = OpLoad %ulong %7
|
|
%25 = OpConvertUToPtr %_ptr_Generic_ulong %16
|
|
%15 = OpLoad %ulong %25 Aligned 8
|
|
OpStore %9 %15
|
|
OpBranch %4
|
|
%4 = OpLabel
|
|
%18 = OpLoad %ulong %9
|
|
%17 = OpIAdd %ulong %18 %ulong_1
|
|
OpStore %10 %17
|
|
OpBranch %6
|
|
%35 = OpLabel
|
|
%20 = OpLoad %ulong %9
|
|
%19 = OpIAdd %ulong %20 %ulong_2
|
|
OpStore %10 %19
|
|
OpBranch %6
|
|
%6 = OpLabel
|
|
%21 = OpLoad %ulong %8
|
|
%22 = OpLoad %ulong %10
|
|
%26 = OpConvertUToPtr %_ptr_Generic_ulong %21
|
|
OpStore %26 %22 Aligned 8
|
|
OpReturn
|
|
OpFunctionEnd
|