1 ; Tests if addrspacecast is handled in Hexagon backend
5 ; RUN: llc -march=hexagon %s -o /dev/null
7 define double @f(ptr %G, ptr %x) {
9 %Castaddrspacecast = addrspacecast ptr %x to ptr addrspace(1)
10 store ptr addrspace(1) %Castaddrspacecast, ptr %G, align 8
11 ret double 0.000000e+00