[all-commits] [llvm/llvm-project] 999fa9: [X86][NFC] Move table from getRelaxedOpcodeArith i...
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Sat Mar 12 09:06:33 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 999fa9f68788d51c109b41b9d194dd3ff9a306f5
https://github.com/llvm/llvm-project/commit/999fa9f68788d51c109b41b9d194dd3ff9a306f5
Author: Amir Ayupov <aaupov at fb.com>
Date: 2022-03-12 (Sat, 12 Mar 2022)
Changed paths:
M llvm/lib/Target/X86/MCTargetDesc/CMakeLists.txt
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
A llvm/lib/Target/X86/MCTargetDesc/X86InstrRelaxTables.cpp
A llvm/lib/Target/X86/MCTargetDesc/X86InstrRelaxTables.h
Log Message:
-----------
[X86][NFC] Move table from getRelaxedOpcodeArith into its own class
Move out the table and prepare the code to reuse it for the reverse mapping.
Follows the example of memory folding/unfolding tables in X86InstrFoldTables.cpp
Preparation step to unify `llvm::X86::getRelaxedOpcodeArith` and
`getShortArithOpcode` in BOLT X86MCPlusBuilder.cpp.
Addresses https://lists.llvm.org/pipermail/llvm-dev/2022-January/154526.html
Reviewed By: skan, MaskRay
Differential Revision: https://reviews.llvm.org/D121402
More information about the All-commits
mailing list