This is an archive of the discontinued LLVM Phabricator instance.

Fold F08 parity intrinsic
ClosedPublic

Authored by tarunprabhu on Jul 14 2022, 9:26 AM.

Details

Summary

This patch implements compile-time folding for the F08 parity intrinsic.

Diff Detail

Event Timeline

tarunprabhu created this revision.Jul 14 2022, 9:26 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
tarunprabhu requested review of this revision.Jul 14 2022, 9:26 AM
klausler added inline comments.Jul 14 2022, 9:30 AM
flang/lib/Evaluate/fold-logical.cpp
25

"ALL, ANY, & PARITY"

Fixed typo.

I noticed it before submitting, regenerated the patch, and yet somehow managed to upload the old one ... (sigh)

tarunprabhu marked an inline comment as done.Jul 14 2022, 9:43 AM
klausler accepted this revision.Jul 14 2022, 9:55 AM
This revision is now accepted and ready to land.Jul 14 2022, 9:55 AM

Apologies. There was a bug in the test that caused it to always pass.

This has been fixed with this update.

Fix test that was causing build failure.

This revision was automatically updated to reflect the committed changes.