OSDN Git Service

[X86] Prevent folding stack reloads with instructions that have an undefined register...
authorCraig Topper <craig.topper@intel.com>
Fri, 15 Jun 2018 06:11:36 +0000 (06:11 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 15 Jun 2018 06:11:36 +0000 (06:11 +0000)
commitf26b24c48791247b6adde5ad882a6d9e3281b365
tree6a05417f4a4195c4ec38e34c0ed34a349ac3d5e2
parent055e27a2ce1cc9f4fb282bfdcdb57a475b7c4aee
[X86] Prevent folding stack reloads with instructions that have an undefined register update.

We want to keep the load unfolded so we can use the same register for both sources to avoid a false dependency.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334802 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/break-false-dep.ll
test/CodeGen/X86/stack-folding-fp-avx1.ll