forked from OSchip/llvm-project
[WebAssembly] Delete an unnecessary line in RegStackify
`OneUseInst` is set outside of the loop before and `OneUse` does not change throughout the loop, so this line is not necessary. llvm-svn: 350076
This commit is contained in:
parent
99d3946398
commit
ce1d50f9d7
|
@ -414,7 +414,6 @@ static bool OneUseDominatesOtherUses(unsigned Reg, const MachineOperand &OneUse,
|
|||
if (UseVNI != OneUseVNI)
|
||||
continue;
|
||||
|
||||
const MachineInstr *OneUseInst = OneUse.getParent();
|
||||
if (UseInst == OneUseInst) {
|
||||
// Another use in the same instruction. We need to ensure that the one
|
||||
// selected use happens "before" it.
|
||||
|
|
Loading…
Reference in New Issue