[llvm] [X86][CodeGen] Support EVEX compression: NDD to nonNDD (PR #77731)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 11 00:24:26 PST 2024
================
@@ -241,26 +264,37 @@ static bool CompressEVEXImpl(MachineInstr &MI, const X86Subtarget &ST) {
//
// For AVX512 cases, EVEX prefix is needed in order to carry this information
// thus preventing the transformation to VEX encoding.
- if (TSFlags & X86II::EVEX_B)
+ bool IsND = X86II::hasNewDataDest(TSFlags);
+ if (TSFlags & X86II::EVEX_B && !IsND)
----------------
phoebewang wrote:
`(TSFlags & X86II::EVEX_B)`
https://github.com/llvm/llvm-project/pull/77731
More information about the llvm-commits
mailing list