diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2013-12-17 15:54:45 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2013-12-17 15:54:45 +0000 |
| commit | 512601d77fdd35a592f4d3189542cf4e85b5a47a (patch) | |
| tree | c246c05185fe645b46270719d39584c2383ea8f8 /clang/lib | |
| parent | 12256302cfbd0ff383816fd843dca954791ebdb2 (diff) | |
| download | bcm5719-llvm-512601d77fdd35a592f4d3189542cf4e85b5a47a.tar.gz bcm5719-llvm-512601d77fdd35a592f4d3189542cf4e85b5a47a.zip | |
Revert "Revert "Mark vastart_save_xmm_regs as changing EFLAGS""
This reverts commit r197481, recommiting r197469 with an extra fix.
The vastart_save_xmm_regs pseudo-instruction expands to a test and a
branch, so it modifies EFLAGS. Mark it so, or else the scheduler might
place it in the middle of another test+branch.
This fixes a bug exposed by r192750, which changed the initial scheduler
to source-order as part of enabling the MI Scheduler for X86.
This re-commit changes the VASTART_SAVE_XMM_REGS custom inserter not to
try to save %flags, and adds a test that catches the bad behavior of
r197469.
<rdar://problem/15627766>
llvm-svn: 197503
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions

