[polly] r302021 - [CUDA Managed Memory] Fix regression introduced by Managed Memory

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Thu May 4 04:30:56 PDT 2017


Please use svn revision numbers, not git sha1 hashes.

Michael

2017-05-03 15:15 GMT+02:00 Siddharth Bhat via llvm-commits
<llvm-commits at lists.llvm.org>:
> Author: bollu
> Date: Wed May  3 08:15:27 2017
> New Revision: 302021
>
> URL: http://llvm.org/viewvc/llvm-project?rev=302021&view=rev
> Log:
> [CUDA Managed Memory] Fix regression introduced by Managed Memory
>
> - Fixes breakage from commit 5536f.
> - Interference with commit 764f3 caused testcase to fail. Reverting
>   764f3 allows commit 5536f to succeed.
> - Generated kernel code was slightly different due to 764f3, which
>   caused testcase to fail.
>
> Modified:
>     polly/trunk/test/GPGPU/cuda-managed-memory-simple.ll
>
> Modified: polly/trunk/test/GPGPU/cuda-managed-memory-simple.ll
> URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/GPGPU/cuda-managed-memory-simple.ll?rev=302021&r1=302020&r2=302021&view=diff
> ==============================================================================
> --- polly/trunk/test/GPGPU/cuda-managed-memory-simple.ll (original)
> +++ polly/trunk/test/GPGPU/cuda-managed-memory-simple.ll Wed May  3 08:15:27 2017
> @@ -46,7 +46,7 @@
>  ; CHECK-NEXT:  store i8* %17, i8** %polly_launch_0_param_1
>  ; CHECK-NEXT:  %19 = bitcast i8** %polly_launch_0_param_1 to i8*
>  ; CHECK-NEXT:  store i8* %19, i8** %18
> -; CHECK-NEXT:  %20 = call i8* @polly_getKernel(i8* getelementptr inbounds ([820 x i8], [820 x i8]* @kernel_0, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @kernel_0_name, i32 0, i32 0))
> +; CHECK-NEXT: %20 = call i8* @polly_getKernel(i8* getelementptr inbounds ([750 x i8], [750 x i8]* @kernel_0, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @kernel_0_name, i32 0, i32 0))
>  ; CHECK-NEXT:  call void @polly_launchKernel(i8* %20, i32 2, i32 1, i32 32, i32 1, i32 1, i8* %polly_launch_0_params_i8ptr)
>  ; CHECK-NEXT:  call void @polly_freeKernel(i8* %20)
>  ; CHECK-NEXT:  call void @polly_synchronizeDevice()
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list