We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d833b9d commit d133adaCopy full SHA for d133ada
llvm/lib/Target/X86/X86InstrFoldTables.cpp
@@ -179,6 +179,10 @@ struct X86MemUnfoldTable {
179
addTableEntry(Entry, TB_INDEX_4 | TB_FOLDED_LOAD);
180
181
// Broadcast tables.
182
+ for (const X86FoldTableEntry &Entry : BroadcastTable1)
183
+ // Index 1, folded broadcast
184
+ addTableEntry(Entry, TB_INDEX_1 | TB_FOLDED_LOAD | TB_FOLDED_BCAST);
185
+
186
for (const X86FoldTableEntry &Entry : BroadcastTable2)
187
// Index 2, folded broadcast
188
addTableEntry(Entry, TB_INDEX_2 | TB_FOLDED_LOAD | TB_FOLDED_BCAST);
0 commit comments