summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/SIInstructions.td
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/R600/SIInstructions.td')
-rw-r--r--llvm/lib/Target/R600/SIInstructions.td5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/SIInstructions.td b/llvm/lib/Target/R600/SIInstructions.td
index 8c3f1403ca2..463287eaa97 100644
--- a/llvm/lib/Target/R600/SIInstructions.td
+++ b/llvm/lib/Target/R600/SIInstructions.td
@@ -2572,6 +2572,11 @@ def : Pat <
(S_MOV_B64 (i64 (as_i64imm $imm)))
>;
+def : Pat <
+ (f64 InlineFPImm<f64>:$imm),
+ (S_MOV_B64 InlineFPImm<f64>:$imm)
+>;
+
/********** ===================== **********/
/********** Interpolation Paterns **********/
/********** ===================== **********/
OpenPOWER on IntegriCloud