This is an archive of the discontinued LLVM Phabricator instance.

X86: relax EFLAGS liveness check when generating stack probes.
ClosedPublic

Authored by t.p.northover on Nov 22 2022, 3:29 AM.

Details

Reviewers
RKSimon
pengfei
Summary

The probes are all inserted at the iterator passed into the functions, so that's where any EFLAGS clobbering will happen and where we need it to be dead.

Fixes: https://github.com/llvm/llvm-project/issues/59121

Diff Detail

Event Timeline

t.p.northover created this revision.Nov 22 2022, 3:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 22 2022, 3:29 AM
t.p.northover requested review of this revision.Nov 22 2022, 3:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 22 2022, 3:29 AM

Put the issue number in summary or test comments?

Put the issue number in summary or test comments?

Good idea, I've added it to the commit message and I'll update the description for completeness.

t.p.northover edited the summary of this revision. (Show Details)Nov 23 2022, 1:50 AM
pengfei accepted this revision.Nov 29 2022, 1:01 AM

LGTM.

This revision is now accepted and ready to land.Nov 29 2022, 1:01 AM
t.p.northover closed this revision.Nov 30 2022, 3:44 AM

Thanks, committed as b32280baf9ef