[llvm] r194760 - Add addrspacecast instruction.

Jeroen Ketema j.ketema at imperial.ac.uk
Tue Nov 26 03:38:49 PST 2013


Hi Michele,

> I removed the illegal example and fixed the problem still present.
> Let me know if the new version of the patch has other issues.


All of my test cases now pass except for one CUDA test case:

__device__ int* bar(int* p) {
  return p;
}

__global__ void foo() {
  __shared__ int A[10];
  __shared__ int* p = A;
  bar(p);
}

Regards,

 Jeroen




More information about the llvm-commits mailing list