diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMBaseInstrInfo.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.cpp b/lib/Target/ARM/ARMBaseInstrInfo.cpp index 64d80dc..29033e5 100644 --- a/lib/Target/ARM/ARMBaseInstrInfo.cpp +++ b/lib/Target/ARM/ARMBaseInstrInfo.cpp @@ -3464,13 +3464,11 @@ ARMBaseInstrInfo::setExecutionDomain(MachineInstr *MI, unsigned Domain) const { MI->RemoveOperand(0); MI->setDesc(get(ARM::VSETLNi32)); - MIB.addReg(DReg); - MIB.addReg(DReg); + MIB.addReg(DReg, RegState::Define); + MIB.addReg(DReg, RegState::Undef); MIB.addReg(SrcReg); MIB.addImm(Lane); - MIB->getOperand(1).setIsUndef(); - if (isKill) MIB->addRegisterKilled(DstReg, TRI, true); MIB->addRegisterDefined(DstReg, TRI); |