summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-05-25 18:07:36 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-05-25 18:07:36 +0000
commite57206d81b52ab5f9189e4951ba4e6f75e5f6ea4 (patch)
treebf59417cbb10b4b751b8411769e09921e9ad64c2 /llvm/lib
parentd89c99c26aec6dc0181dc59b8318ec811dc013c5 (diff)
downloadbcm5719-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.td2
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>;
OpenPOWER on IntegriCloud