[llvm] 0c623b5 - [X86] X86CompressEVEX.cpp - ensure we tie the operands on MOVBErr instructions
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 30 03:45:24 PST 2024
Author: Simon Pilgrim
Date: 2024-01-30T11:44:58Z
New Revision: 0c623b58e39cba7e67a0049dbcac87fdcc0103e1
URL: https://github.com/llvm/llvm-project/commit/0c623b58e39cba7e67a0049dbcac87fdcc0103e1
DIFF: https://github.com/llvm/llvm-project/commit/0c623b58e39cba7e67a0049dbcac87fdcc0103e1.diff
LOG: [X86] X86CompressEVEX.cpp - ensure we tie the operands on MOVBErr instructions
Minor correction for #79775 - noticed in EXPENSIVE_CHECKS builds
Added:
Modified:
llvm/lib/Target/X86/X86CompressEVEX.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86CompressEVEX.cpp b/llvm/lib/Target/X86/X86CompressEVEX.cpp
index 9132f0d1c2c0..e1404eca37fb 100644
--- a/llvm/lib/Target/X86/X86CompressEVEX.cpp
+++ b/llvm/lib/Target/X86/X86CompressEVEX.cpp
@@ -267,7 +267,7 @@ static bool CompressEVEXImpl(MachineInstr &MI, const X86Subtarget &ST) {
llvm_unreachable("Unknown EVEX compression");
}
MI.setAsmPrinterFlag(AsmComment);
- if (IsND)
+ if (IsND || IsMovberr)
MI.tieOperands(0, 1);
return true;
More information about the llvm-commits
mailing list