OSDN Git Service

[X86] Add more instructions to the memory folding tables using the autogenerated...
authorCraig Topper <craig.topper@intel.com>
Fri, 15 Jun 2018 05:49:19 +0000 (05:49 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 15 Jun 2018 05:49:19 +0000 (05:49 +0000)
commit055e27a2ce1cc9f4fb282bfdcdb57a475b7c4aee
treea50ed9669b643bacf62cd7047c35bab4a3f96f06
parent96dcb6683ea8a23cdd9909024f3e2af3eb66612a
[X86] Add more instructions to the memory folding tables using the autogenerated table as a guide.

I think this covers most of the unmasked vector instructions. We're still missing a lot of the masked instructions.

There are some test changes here because of the new folding support. I don't think these particular cases should be folded because it creates an undef register dependency. I think the changes introduced in r334175 are not handling stack folding. They're only blocking the peephole pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334800 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/avx512-intrinsics-fast-isel.ll
test/CodeGen/X86/break-false-dep.ll
test/CodeGen/X86/fast-isel-fptrunc-fpext.ll
test/CodeGen/X86/sse-intrinsics-fast-isel.ll
test/CodeGen/X86/sse2-intrinsics-fast-isel.ll