This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Fix IRTranslator for constexpr fcmp
ClosedPublic

Authored by kschwarz on Dec 9 2021, 8:32 AM.

Details

Summary

The existing code assumed fcmp to always be an Instruction, but it can also be a ConstExpr.

Diff Detail

Event Timeline

kschwarz created this revision.Dec 9 2021, 8:32 AM
kschwarz requested review of this revision.Dec 9 2021, 8:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 9 2021, 8:32 AM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm accepted this revision.Dec 9 2021, 8:33 AM
This revision is now accepted and ready to land.Dec 9 2021, 8:33 AM
This revision was automatically updated to reflect the committed changes.