Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit f3c5f2b

Browse files
author
Marina Yatsina
committed
Fix bug in commit 323096 exposed by test in test-suite-verify-machineinstrs-x86_64h-O3
Change-Id: I0a4b10d0d6c8de606d989c567ec07944ae283a87 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323126 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 971d988 commit f3c5f2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Target/X86/X86InstrInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8336,7 +8336,7 @@ void X86InstrInfo::breakPartialRegDependency(
83368336
// Using XOR32rr because it has shorter encoding and zeros up the upper bits
83378337
// as well.
83388338
unsigned XReg = TRI->getSubReg(Reg, X86::sub_32bit);
8339-
BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), get(X86::XOR32rr), Reg)
8339+
BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), get(X86::XOR32rr), XReg)
83408340
.addReg(XReg, RegState::Undef)
83418341
.addReg(XReg, RegState::Undef)
83428342
.addReg(Reg, RegState::ImplicitDefine);

0 commit comments

Comments
 (0)