source: icGREP/icgrep-devel/llvm-3.5.0.src/test/CodeGen/R600/llvm.amdgpu.lrp.ll @ 4574

Last change on this file since 4574 was 4574, checked in by cameron, 4 years ago

Updating to LLVM 3.6

File size: 504 bytes
Line 
1; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s
2
3declare float @llvm.AMDGPU.lrp(float, float, float) nounwind readnone
4
5; FUNC-LABEL: {{^}}test_lrp:
6; SI: v_sub_f32
7; SI: v_mad_f32
8define void @test_lrp(float addrspace(1)* %out, float %src0, float %src1, float %src2) nounwind {
9  %mad = call float @llvm.AMDGPU.lrp(float %src0, float %src1, float %src2) nounwind readnone
10  store float %mad, float addrspace(1)* %out, align 4
11  ret void
12}
Note: See TracBrowser for help on using the repository browser.