Home | History | Annotate | Download | only in R600
      1 ;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
      2 
      3 ; CHECK: ADD T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], -T[0-9]+\.[XYZW]}}
      4 
      5 define void @test() {
      6    %r0 = call float @llvm.R600.load.input(i32 0)
      7    %r1 = call float @llvm.R600.load.input(i32 1)
      8    %r2 = fsub float %r0, %r1
      9    call void @llvm.AMDGPU.store.output(float %r2, i32 0)
     10    ret void
     11 }
     12 
     13 declare float @llvm.R600.load.input(i32) readnone
     14 
     15 declare void @llvm.AMDGPU.store.output(float, i32)
     16 
     17