diff options
-rw-r--r-- | lib/Target/Mips/Mips16InstrInfo.td | 2 | ||||
-rw-r--r-- | test/CodeGen/Mips/mips16fpe.ll | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/Mips/Mips16InstrInfo.td b/lib/Target/Mips/Mips16InstrInfo.td index bd45015700c..070d89f232c 100644 --- a/lib/Target/Mips/Mips16InstrInfo.td +++ b/lib/Target/Mips/Mips16InstrInfo.td @@ -1551,7 +1551,7 @@ def: UncondBranch16_pat<br, Bimm16>; // Small immediates def: Mips16Pat<(i32 immSExt16:$in), - (AddiuRxRxImmX16 (Move32R16 ZERO), immSExt16:$in)>; + (AddiuRxRxImmX16 (MoveR3216 ZERO), immSExt16:$in)>; def: Mips16Pat<(i32 immZExt16:$in), (LiRxImmX16 immZExt16:$in)>; diff --git a/test/CodeGen/Mips/mips16fpe.ll b/test/CodeGen/Mips/mips16fpe.ll index 16695e45265..b8f1d945f35 100644 --- a/test/CodeGen/Mips/mips16fpe.ll +++ b/test/CodeGen/Mips/mips16fpe.ll @@ -1,4 +1,5 @@ -; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=16hf +; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=pic -O3 \ +; RUN: -verify-machineinstrs < %s | FileCheck %s -check-prefix=16hf @x = global float 5.000000e+00, align 4 @y = global float 1.500000e+01, align 4 |