Skip to content

Commit 0c623b5

Browse files
committed
[X86] X86CompressEVEX.cpp - ensure we tie the operands on MOVBErr instructions
Minor correction for llvm#79775 - noticed in EXPENSIVE_CHECKS builds
1 parent 70ae109 commit 0c623b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86CompressEVEX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ static bool CompressEVEXImpl(MachineInstr &MI, const X86Subtarget &ST) {
267267
llvm_unreachable("Unknown EVEX compression");
268268
}
269269
MI.setAsmPrinterFlag(AsmComment);
270-
if (IsND)
270+
if (IsND || IsMovberr)
271271
MI.tieOperands(0, 1);
272272

273273
return true;

0 commit comments

Comments
 (0)