This is an archive of the discontinued LLVM Phabricator instance.

Set the floating point status register as reserved
ClosedPublic

Authored by LiuChen3 on Nov 3 2019, 10:48 PM.

Details

Summary

This patch sets the FPSW (X87 floating-point status register) as a reserved
physical register and fix the test failure caused by D68854.

Before this patch, some tests will fail because it implicit uses FPSW without
define it. Setting the FPSW as a reserved physical register will skip liveness
analysis because it is always live.

Diff Detail

Event Timeline

LiuChen3 created this revision.Nov 3 2019, 10:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 3 2019, 10:48 PM
craig.topper accepted this revision.Nov 3 2019, 11:09 PM
craig.topper added a subscriber: craig.topper.

LGTM

This revision is now accepted and ready to land.Nov 3 2019, 11:09 PM
This revision was automatically updated to reflect the committed changes.