This is an archive of the discontinued LLVM Phabricator instance.

[X86] Remove isReMaterializable from X87 floating point constant loads and constant pool loads.
ClosedPublic

Authored by craig.topper on Feb 7 2019, 5:43 PM.

Details

Summary

These instructions update FPSW so they aren't generically safe to rematerialize into any location if FPSW is live for a comparison result. They also use FPCW for exception masking control. Though the only exception they can generate is stack overflow and we manage the stack ourselves so that's not really going to occur.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.Feb 7 2019, 5:43 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 7 2019, 5:43 PM
RKSimon accepted this revision.Feb 8 2019, 1:25 AM

LGTM

This revision is now accepted and ready to land.Feb 8 2019, 1:25 AM
This revision was automatically updated to reflect the committed changes.