diff options
author | Quentin Colombet <qcolombet@apple.com> | 2015-05-22 18:10:47 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2015-05-22 18:10:47 +0000 |
commit | 494eb606cdeba7935bd0f6591b95aefa412ccff9 (patch) | |
tree | 03933cca8cd626fc808d8f5f0e530a95b5d4ab47 /llvm/lib/Support/TargetParser.cpp | |
parent | ebcc0dcad1c148f603f3746afa3f00a9caefbc56 (diff) | |
download | llvm-494eb606cdeba7935bd0f6591b95aefa412ccff9.zip llvm-494eb606cdeba7935bd0f6591b95aefa412ccff9.tar.gz llvm-494eb606cdeba7935bd0f6591b95aefa412ccff9.tar.bz2 |
Reapply r238011 with a fix for the trap instruction.
The problem was that I slipped a change required for shrink-wrapping, namely I
used getFirstTerminator instead of the getLastNonDebugInstr that was here before
the refactoring, whereas the surrounding code is not yet patched for that.
Original message:
[X86] Refactor the prologue emission to prepare for shrink-wrapping.
- Add a late pass to expand pseudo instructions (tail call and EH returns).
Instead of doing it in the prologue emission.
- Factor some static methods in X86FrameLowering to ease code sharing.
NFC.
Related to <rdar://problem/20821487>
llvm-svn: 238035
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions