This is a follow-up on r174446, now taking Atom processors into
authorEli Bendersky <eliben@google.com>
Wed, 6 Feb 2013 20:43:57 +0000 (20:43 +0000)
committerEli Bendersky <eliben@google.com>
Wed, 6 Feb 2013 20:43:57 +0000 (20:43 +0000)
commitef4558abd3e8d56b87bbf4408a831b312685337e
tree513f3db9e1b39f74d4e2cd916cd4397927ab2a35
parent5ea04c385fc5b6aeb6404ec9a992ea8e2d149f1e
This is a follow-up on r174446, now taking Atom processors into
account. Atoms use LEA for updating SP in prologs/epilogs, and the
exact LEA opcode depends on the data model.

Also reapplying the test case which was added and then reverted
(because of Atom failures), this time specifying explicitly the CPU in
addition to the triple. The test case now checks all variations (data
mode, cpu Atom vs. Core).

llvm-svn: 174542
llvm/lib/Target/X86/X86FrameLowering.cpp
llvm/test/CodeGen/X86/stack-update-frame-opcode.ll [new file with mode: 0644]