Home | History | Annotate | Download | only in R600
      1 ; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs< %s | FileCheck -check-prefix=SI %s
      2 
      3 ; SI-LABEL: @unaligned_load_store_i32:
      4 ; DS_READ_U32 {{v[0-9]+}}, 0, [[REG]]
      5 define void @unaligned_load_store_i32(i32 addrspace(3)* %p, i32 addrspace(3)* %r) nounwind {
      6   %v = load i32 addrspace(3)* %p, align 1
      7   store i32 %v, i32 addrspace(3)* %r, align 1
      8   ret void
      9 }
     10 
     11 ; SI-LABEL: @unaligned_load_store_v4i32:
     12 ; DS_READ_U32 {{v[0-9]+}}, 0, [[REG]]
     13 define void @unaligned_load_store_v4i32(<4 x i32> addrspace(3)* %p, <4 x i32> addrspace(3)* %r) nounwind {
     14   %v = load <4 x i32> addrspace(3)* %p, align 1
     15   store <4 x i32> %v, <4 x i32> addrspace(3)* %r, align 1
     16   ret void
     17 }
     18