[llvm] [X86][CodeGen] Support folding memory broadcast in X86InstrInfo::foldMemoryOperandImpl (PR #79761)
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 29 07:57:22 PST 2024
================
@@ -8191,7 +8330,11 @@ bool X86InstrInfo::unfoldMemoryOperand(
unsigned Index = I->Flags & TB_INDEX_MASK;
bool FoldedLoad = I->Flags & TB_FOLDED_LOAD;
bool FoldedStore = I->Flags & TB_FOLDED_STORE;
- bool FoldedBCast = I->Flags & TB_FOLDED_BCAST;
+ unsigned BCastType = I->Flags & TB_FOLDED_BCAST;
----------------
KanRobert wrote:
It seems we should use `TB_BCAST_MASK` instead of `TB_FOLDED_BCAST` here, I will fix.
https://github.com/llvm/llvm-project/pull/79761
More information about the llvm-commits
mailing list