diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-05-25 18:07:36 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-05-25 18:07:36 +0000 |
| commit | e57206d81b52ab5f9189e4951ba4e6f75e5f6ea4 (patch) | |
| tree | bf59417cbb10b4b751b8411769e09921e9ad64c2 /llvm/lib | |
| parent | d89c99c26aec6dc0181dc59b8318ec811dc013c5 (diff) | |
| download | bcm5719-llvm-e57206d81b52ab5f9189e4951ba4e6f75e5f6ea4.tar.gz bcm5719-llvm-e57206d81b52ab5f9189e4951ba4e6f75e5f6ea4.zip | |
AMDGPU: Fix v2i64/v2f64 bitcasts
These operations tend to get promoted away to v4i32 so
this doesn't happen often.
llvm-svn: 270740
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 af711d41539..b8e68715a41 100644 --- a/llvm/lib/Target/AMDGPU/SIInstructions.td +++ b/llvm/lib/Target/AMDGPU/SIInstructions.td @@ -2873,6 +2873,8 @@ def : BitConvert <v2f64, v4f32, VReg_128>; def : BitConvert <v2f64, v4i32, VReg_128>; def : BitConvert <v4f32, v2f64, VReg_128>; def : BitConvert <v4i32, v2f64, VReg_128>; +def : BitConvert <v2i64, v2f64, VReg_128>; +def : BitConvert <v2f64, v2i64, VReg_128>; // 256-bit bitcast def : BitConvert <v8i32, v8f32, SReg_256>; |

