[PATCH] Mark vastart_save_xmm_regs as changing EFLAGS

Duncan P. N. Exon Smith dexonsmith at apple.com
Sun Dec 15 00:25:18 PST 2013

This patch marks vastart_save_xmm_regs as changing EFLAGS.

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 turned on the MI Scheduler
for X86.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vastart-defs-eflags.patch
Type: application/octet-stream
Size: 2107 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131215/a925c623/attachment.obj>

More information about the llvm-commits mailing list