Skip to content

MachineSink creates zombie defines #11186

@llvmbot

Description

@llvmbot
Bugzilla Link 10814
Resolution FIXED
Resolved on Oct 14, 2011 12:27
Version trunk
OS All
Attachments Fix for the bug
Reporter LLVM Bugzilla Contributor
CC @asl,@efriedma-quic,@stoklund

Extended Description

After a critical edge split the flags of the successor were not reflected in the new block, which allowed later instructions to sink even though they write the EFLAGS.
The example below shows the problem. Unfortunately there is a test that relies on this bug, although the problem is that the EFLAGS are live-in when they should not be. The patch disables this test for now.

I attached a fix for the bug, however it was not accepted yet since it makes the test XFAIL, and I (still ) do not have time to fix it, but I don't want the issue ot be fogotten, so I created the bug report instead.

See:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20110725/125216.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions