llvm.org GIT mirror llvm / 3abd23b test / CodeGen / R600 / store.ll
3abd23b

Tree @3abd23b (Download .tar.gz)

store.ll @3abd23b

17ea10c
 
 
3abd23b
 
17ea10c
3abd23b
17ea10c
 
3abd23b
17ea10c
 
 
; RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck --check-prefix=EG-CHECK %s
; RUN: llc < %s -march=r600 -mcpu=verde | FileCheck --check-prefix=SI-CHECK %s

; floating-point store
; EG-CHECK: @store_f32
; EG-CHECK: RAT_WRITE_CACHELESS_32_eg T{{[0-9]+\.X, T[0-9]+\.X}}, 1
; SI-CHECK: @store_f32
; SI-CHECK: BUFFER_STORE_DWORD

define void @store_f32(float addrspace(1)* %out, float %in) {
  store float %in, float addrspace(1)* %out
  ret void
}