commit | f86e4b72660390bde899306bb1879da994281b2a | [log] [tgz] |
---|---|---|
author | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | Sun Nov 13 07:01:11 2016 +0000 |
committer | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | Sun Nov 13 07:01:11 2016 +0000 |
tree | 59ac334f56039064686b2973accfabfa84e3f4e3 | |
parent | d9445c49ad47c227f5981ad1f8f211dff9aaa9f1 [diff] [blame] |
[AMDGPU] Add f16 support (VI+) Differential Revision: https://reviews.llvm.org/D25975 llvm-svn: 286753
diff --git a/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp b/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp index 7f9e9cd..9ee2ede 100644 --- a/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp +++ b/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
@@ -91,6 +91,7 @@ default: return false; case AMDGPU::V_MAC_F32_e64: + case AMDGPU::V_MAC_F16_e64: if (!isVGPR(Src2, TRI, MRI) || TII->hasModifiersSet(MI, AMDGPU::OpName::src2_modifiers)) return false;