[all-commits] [llvm/llvm-project] 81b10f: [X86][tablgen] Consider the mnemonic when auto-gen...
KanRobert via All-commits
all-commits at lists.llvm.org
Tue Apr 5 21:53:19 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 81b10f8200ae65d3e54b3899cdaa25ea59938148
https://github.com/llvm/llvm-project/commit/81b10f8200ae65d3e54b3899cdaa25ea59938148
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2022-04-06 (Wed, 06 Apr 2022)
Changed paths:
M llvm/lib/Target/X86/CMakeLists.txt
M llvm/lib/Target/X86/X86InstrInfo.td
M llvm/utils/TableGen/X86FoldTablesEmitter.cpp
Log Message:
-----------
[X86][tablgen] Consider the mnemonic when auto-generating memory folding table
Intuitively, the memory folding pair should have the same mnemonic.
This patch removes
```
{X86::SENDUIPI,X86::VMXON}
```
in the auto-generated table.
And `NotMemoryFoldable` for `TPAUSE` and `CLWB` can be saved.
```
{X86::MOVLHPSrr,X86::MOVHPSrm}
{X86::VMOVLHPSZrr,X86::VMOVHPSZ128rm}
{X86::VMOVLHPSrr,X86::VMOVHPSrm}
```
It seems the three pairs above are mistakenly killed.
But we can add them back manually later.
Reviewed By: Amir
Differential Revision: https://reviews.llvm.org/D122477
More information about the All-commits
mailing list