Index: llvm/trunk/lib/Target/Mips/Mips16InstrInfo.td =================================================================== --- llvm/trunk/lib/Target/Mips/Mips16InstrInfo.td +++ llvm/trunk/lib/Target/Mips/Mips16InstrInfo.td @@ -1551,7 +1551,7 @@ // 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)>; Index: llvm/trunk/test/CodeGen/Mips/mips16fpe.ll =================================================================== --- llvm/trunk/test/CodeGen/Mips/mips16fpe.ll +++ llvm/trunk/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