diff options
| -rw-r--r-- | llvm/lib/Target/Mips/MipsInstrFPU.td | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrFPU.td b/llvm/lib/Target/Mips/MipsInstrFPU.td index 28cde9159ca..568cfa57083 100644 --- a/llvm/lib/Target/Mips/MipsInstrFPU.td +++ b/llvm/lib/Target/Mips/MipsInstrFPU.td @@ -337,9 +337,9 @@ let Predicates = [IsFP64bit] in {              (CVT_D64_L (DMTC1 CPU64Regs:$src))>;    def : Pat<(i32 (fp_to_sint FGR64:$src)), (MFC1 (TRUNC_W_D64 FGR64:$src))>; -  def : Pat<(i64 (fp_to_sint FGR32:$src)), (DMFC1 (TRUNC_L_S FGR32:$src))>;     +  def : Pat<(i64 (fp_to_sint FGR32:$src)), (DMFC1 (TRUNC_L_S FGR32:$src))>;    def : Pat<(i64 (fp_to_sint FGR64:$src)), (DMFC1 (TRUNC_L_D64 FGR64:$src))>;    def : Pat<(f32 (fround FGR64:$src)), (CVT_S_D64 FGR64:$src)>;    def : Pat<(f64 (fextend FGR32:$src)), (CVT_D64_S FGR32:$src)>; -}
\ No newline at end of file +}  | 

