This patch adds ABI support for v1i128 data type.
[oota-llvm.git] / lib / Target / PowerPC / PPCInstrVSX.td
index 44f4e8ae46740e5baafa4f29be6de366b82e4390..3cff14c594fe7aa34d5ce37576a294ab162e4a40 100644 (file)
@@ -890,6 +890,11 @@ def : Pat<(v2f64 (bitconvert v2i64:$A)),
 def : Pat<(v2i64 (bitconvert v2f64:$A)),
           (COPY_TO_REGCLASS $A, VRRC)>;
 
+def : Pat<(v2f64 (bitconvert v1i128:$A)),
+          (COPY_TO_REGCLASS $A, VRRC)>;
+def : Pat<(v1i128 (bitconvert v2f64:$A)),
+          (COPY_TO_REGCLASS $A, VRRC)>;
+
 // sign extension patterns
 // To extend "in place" from v2i32 to v2i64, we have input data like:
 // | undef | i32 | undef | i32 |