diff options
| author | Rhys Perry <pendingchaos02@gmail.com> | 2018-12-19 22:53:33 +0000 |
|---|---|---|
| committer | Rhys Perry <pendingchaos02@gmail.com> | 2018-12-19 22:53:33 +0000 |
| commit | 3931ad38b9e56ef3320951df68cbf81edd16aae6 (patch) | |
| tree | 8aa9d11f714087a8ca9a3a5c1e3e67f17b611e07 /llvm/lib | |
| parent | a69084ffa844d09d685a10b7b41a509c309687af (diff) | |
| download | bcm5719-llvm-3931ad38b9e56ef3320951df68cbf81edd16aae6.tar.gz bcm5719-llvm-3931ad38b9e56ef3320951df68cbf81edd16aae6.zip | |
AMDGPU: Add patterns for v4i16/v4f16 -> v4i16/v4f16 bitcasts
Reviewers: arsenm, tstellar
Reviewed By: arsenm
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits
Differential Revision: https://reviews.llvm.org/D55058
llvm-svn: 349694
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/AMDGPU/SIInstructions.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIInstructions.td b/llvm/lib/Target/AMDGPU/SIInstructions.td index 5f78a107275..492f0f4d6bc 100644 --- a/llvm/lib/Target/AMDGPU/SIInstructions.td +++ b/llvm/lib/Target/AMDGPU/SIInstructions.td @@ -852,6 +852,8 @@ def : BitConvert <f64, v2f32, VReg_64>; def : BitConvert <v2f32, f64, VReg_64>; def : BitConvert <f64, v2i32, VReg_64>; def : BitConvert <v2i32, f64, VReg_64>; +def : BitConvert <v4i16, v4f16, VReg_64>; +def : BitConvert <v4f16, v4i16, VReg_64>; // FIXME: Make SGPR def : BitConvert <v2i32, v4f16, VReg_64>; |

