[all-commits] [llvm/llvm-project] f3d2a3: [X86][CodeGen] Cleanup code for EVEX2VEX pass, NFCI
Shengchen Kan via All-commits
all-commits at lists.llvm.org
Mon Nov 27 21:12:03 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f3d2a31d7d433f9c843a61caa7b025f3b7188ddf
https://github.com/llvm/llvm-project/commit/f3d2a31d7d433f9c843a61caa7b025f3b7188ddf
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2023-11-28 (Tue, 28 Nov 2023)
Changed paths:
M llvm/lib/Target/X86/X86EvexToVex.cpp
M llvm/lib/Target/X86/X86InstrFormats.td
M llvm/lib/Target/X86/X86InstrSSE.td
M llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
Log Message:
-----------
[X86][CodeGen] Cleanup code for EVEX2VEX pass, NFCI
1. Remove unused variables, e.g X86Subtarget object in performCustomAdjustments
2. Define checkVEXInstPredicate directly instead of generating it b/c
the function is small and it's unlikely we have more instructions to
check the predicate in the future
3. Check the tables are sorted only once for each function
4. Remove some blanks and clang-format code
More information about the All-commits
mailing list