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