This is an archive of the discontinued LLVM Phabricator instance.

[flang] Correct overflow detection in folding of real->integer conversions
ClosedPublic

Authored by klausler on Sep 16 2021, 1:45 PM.

Details

Summary

INT, NINT, FLOOR, and CEILING were failing to report overflow as an
error while folding operations with constant operands.

Diff Detail

Event Timeline

klausler requested review of this revision.Sep 16 2021, 1:45 PM
klausler created this revision.
jeanPerier accepted this revision.Sep 17 2021, 1:47 AM
This revision is now accepted and ready to land.Sep 17 2021, 1:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 17 2021, 9:50 AM