[all-commits] [llvm/llvm-project] 51b5b2: [X86][mem-fold] Refine the code in X86FoldTablesEm...
KanRobert via All-commits
all-commits at lists.llvm.org
Wed Apr 5 22:41:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 51b5b299f9fecf052a7973b2c05fa129229834fd
https://github.com/llvm/llvm-project/commit/51b5b299f9fecf052a7973b2c05fa129229834fd
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2023-04-06 (Thu, 06 Apr 2023)
Changed paths:
M llvm/utils/TableGen/X86FoldTablesEmitter.cpp
Log Message:
-----------
[X86][mem-fold] Refine the code in X86FoldTablesEmitter.cpp, NFCI
1. Construct RecognizableInstrBase for Mem Inst only once in IsMatch
2. Correct the comments
3. Use std::make_tuple to simplify the compare
More information about the All-commits
mailing list