forked from OSchip/llvm-project
parent
6d776eb1e8
commit
d7a3550a5e
|
@ -442,8 +442,8 @@ unsigned ARMFastISel::ARMMaterializeInt(const Constant *C, EVT VT) {
|
|||
if (Subtarget->hasV6T2Ops() && isUInt<16>(CI->getSExtValue())) {
|
||||
unsigned Opc = isThumb ? ARM::t2MOVi16 : ARM::MOVi16;
|
||||
AddOptionalDefs(BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
|
||||
TII.get(Opc), DestReg)
|
||||
.addImm(CI->getSExtValue()));
|
||||
TII.get(Opc), DestReg)
|
||||
.addImm(CI->getSExtValue()));
|
||||
return DestReg;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue