diff options
Diffstat (limited to 'llvm/lib/Target/R600/SIInstructions.td')
| -rw-r--r-- | llvm/lib/Target/R600/SIInstructions.td | 5 |
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 **********/ /********** ===================== **********/ |

