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