OSDN Git Service

[x86] Add the test for folding stack spills into pextrw.
authorChandler Carruth <chandlerc@gmail.com>
Tue, 6 Jun 2017 02:16:01 +0000 (02:16 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 6 Jun 2017 02:16:01 +0000 (02:16 +0000)
commit446c2e7b477d9a55e7ec4ea14d2e7533c8d6ec8e
treefabd65aa5824e242766730aa1c042ddf63bfbef4
parent565cfe059ca2918f20441b7ad02e624a4078451a
[x86] Add the test for folding stack spills into pextrw.

This is a negative test as pextrw doesn't write to all 32-bits of the
spilled GPR. This fold ended up happening when D32684 was landed and
covers the regression that motivated reverting it in r304762.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304763 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/stack-folding-int-sse42.ll