| commit | c2b772351ead0a567203493e7d3de6b9ce0f4ca0 | [log] [tgz] |
|---|---|---|
| author | Lang Hames <lhames@gmail.com> | Mon Nov 11 23:00:41 2013 +0000 |
| committer | Lang Hames <lhames@gmail.com> | Mon Nov 11 23:00:41 2013 +0000 |
| tree | 5f59e11bec55cf636038c7cfa10e81c26795d765 | |
| parent | 50e1f0095f93e4a836b6f92703ade0d1706164e1 [diff] |
Lower X86::MORESTACK_RET and X86::MORESTACK_RET_RESTORE_R10 in X86AsmPrinter::EmitInstruction, rather than X86MCInstLower::Lower. The aim is to improve the reusability of the X86MCInstLower class by making it more function-like. The X86::MORESTACK_RET_RESTORE_R10 pseudo broke the function model by emitting an extra instruction to the MCStreamer attached to the AsmPrinter. The patch should have no impact on generated code. llvm-svn: 194431