OSDN Git Service

[X86] Update folding table generator to properly detect RMW arithmetic instructions.
authorCraig Topper <craig.topper@intel.com>
Tue, 12 Jun 2018 07:32:15 +0000 (07:32 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 12 Jun 2018 07:32:15 +0000 (07:32 +0000)
commita742c5256279e7f6942f488b661f595c51054562
treedbf7a37a7bdd6d627cc8a0a3d84ffd3fc250921e
parent7253cd85800ac2f28b10d2d7b498449e4060a4a4
[X86] Update folding table generator to properly detect RMW arithmetic instructions.

The RMW instructions are detected by reading the SchedRW data, but the RMW instructions have had their SchedRW changed in recent months. This broke the expectation.

We probably should fix this to use the mayLoad/mayStore flags if possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334478 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/X86FoldTablesEmitter.cpp