diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2015-07-13 15:47:57 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2015-07-13 15:47:57 +0000 |
commit | db5a11f698cead8bd97b0942cadd29b001bcdf65 (patch) | |
tree | f911d36fff459fbaa57c6568b244e02a03ed442f /llvm/test/CodeGen/AMDGPU/llvm.amdgpu.lrp.ll | |
parent | 0a43abc9f841246ba2974fe189628d7c45484cb6 (diff) | |
download | bcm5719-llvm-db5a11f698cead8bd97b0942cadd29b001bcdf65.tar.gz bcm5719-llvm-db5a11f698cead8bd97b0942cadd29b001bcdf65.zip |
AMDGPU/SI: Select mad patterns to v_mac_f32
The two-address instruction pass will convert these back to v_mad_f32
if necessary.
Differential Revision: http://reviews.llvm.org/D11060
llvm-svn: 242038
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/llvm.amdgpu.lrp.ll')
-rw-r--r-- | llvm/test/CodeGen/AMDGPU/llvm.amdgpu.lrp.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/llvm.amdgpu.lrp.ll b/llvm/test/CodeGen/AMDGPU/llvm.amdgpu.lrp.ll index 4e4c2ec7791..a64dd0ebd2d 100644 --- a/llvm/test/CodeGen/AMDGPU/llvm.amdgpu.lrp.ll +++ b/llvm/test/CodeGen/AMDGPU/llvm.amdgpu.lrp.ll @@ -5,7 +5,7 @@ declare float @llvm.AMDGPU.lrp(float, float, float) nounwind readnone ; FUNC-LABEL: {{^}}test_lrp: ; SI: v_sub_f32 -; SI: v_mad_f32 +; SI: v_mac_f32_e32 define void @test_lrp(float addrspace(1)* %out, float %src0, float %src1, float %src2) nounwind { %mad = call float @llvm.AMDGPU.lrp(float %src0, float %src1, float %src2) nounwind readnone store float %mad, float addrspace(1)* %out, align 4 |