[RFC][X86][MemFold] Upgrade the mechanism of auto-generated Memory Folding Table
authorBing1 Yu <bing1.yu@intel.com>
Mon, 20 Mar 2023 05:48:01 +0000 (13:48 +0800)
committerBing1 Yu <bing1.yu@intel.com>
Mon, 20 Mar 2023 06:42:52 +0000 (14:42 +0800)
commit0666c5983369400aab67c0876e5b987a4714381c
treee1dbd1ae0212c129613648bd115411bb29576283
parent8d2885c2ef98b81927c1f816691ec4e77cfc7f3f
[RFC][X86][MemFold] Upgrade the mechanism of auto-generated Memory Folding Table

1. Align ManualMapSet with X86MemoryFoldTableEntry instead of using UnfoldStrategy
2. ManualMapSet able to update the existing record in auto-generated MemFold table

Reviewed By: skan

Differential Revision: https://reviews.llvm.org/D142084
llvm/include/llvm/Support/X86FoldTablesUtils.h [new file with mode: 0644]
llvm/lib/Target/X86/X86InstrFoldTables.h
llvm/test/TableGen/x86-auto-memfold.td [new file with mode: 0644]
llvm/utils/TableGen/X86FoldTablesEmitter.cpp
llvm/utils/TableGen/X86FoldTablesEmitterManualMapSet.inc [new file with mode: 0644]