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 | 2acc7a457033f53bb4ba432dc7719c39f6c99339 (patch) | |
| tree | 2b250077cc762d6cf435557d7ae105af32e63ac7 /llvm/lib/Target | |
| parent | 60e466f4d81e5d75dc8cb79f20268a8565390973 (diff) | |
| download | bcm5719-llvm-2acc7a457033f53bb4ba432dc7719c39f6c99339.tar.gz bcm5719-llvm-2acc7a457033f53bb4ba432dc7719c39f6c99339.zip | |
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.
llvm-svn: 210692
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/R600/SIInstructions.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/SIInstructions.td b/llvm/lib/Target/R600/SIInstructions.td index 9558540bce8..0283e06d570 100644 --- a/llvm/lib/Target/R600/SIInstructions.td +++ b/llvm/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>; |

