diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-06-11 19:31:13 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-06-11 19:31:13 +0000 |
commit | 7fa80b45ebcb3ecde309e048fc207aa4c4858680 (patch) | |
tree | 77dd40ca85648ea363970853e8a0ad2696959dd0 /lib | |
parent | 7acd886ecfa0adc8a14476eafe8cf1fa981cfe18 (diff) | |
download | llvm-7fa80b45ebcb3ecde309e048fc207aa4c4858680.tar.gz llvm-7fa80b45ebcb3ecde309e048fc207aa4c4858680.tar.bz2 llvm-7fa80b45ebcb3ecde309e048fc207aa4c4858680.tar.xz |
R600/SI: Fix bitcast between v2i32 and f64
This is the same problem fixed in r210664 for more types.
The test passes without this fix. For some reason
I'm only hitting this when creating selects lowered
to v2i32 selects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/R600/SIInstructions.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td index 9558540bce..0283e06d57 100644 --- a/lib/Target/R600/SIInstructions.td +++ b/lib/Target/R600/SIInstructions.td @@ -1973,6 +1973,8 @@ def : BitConvert <v2i32, i64, VReg_64>; def : BitConvert <i64, v2i32, VReg_64>; def : BitConvert <v2f32, i64, VReg_64>; def : BitConvert <i64, v2f32, VReg_64>; +def : BitConvert <v2i32, f64, VReg_64>; +def : BitConvert <f64, v2i32, VReg_64>; def : BitConvert <v4f32, v4i32, VReg_128>; def : BitConvert <v4i32, v4f32, VReg_128>; |