[llvm] [X86][CodeGen] Support folding memory broadcast in X86InstrInfo::foldMemoryOperandImpl (PR #79761)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 29 07:49:39 PST 2024
================
@@ -8377,7 +8523,7 @@ bool X86InstrInfo::unfoldMemoryOperand(
// memory access is slow above.
unsigned Opc;
- if (FoldedBCast) {
+ if (BCastType) {
----------------
RKSimon wrote:
Won't this fail on TB_BCAST_W?
```c
TB_BCAST_W = 0 << TB_BCAST_TYPE_SHIFT
```
https://github.com/llvm/llvm-project/pull/79761
More information about the llvm-commits
mailing list