This is an archive of the discontinued LLVM Phabricator instance.

[flang] Run MathToLLVM conversion as part of math conversion PM.
ClosedPublic

Authored by vzakhari on Feb 21 2023, 3:08 PM.

Details

Summary

We used to specify benefit=0 for MathToLibm patterns so that
MathToLLVM patterns are more preferable. D144450 removed
the benefit parameter, so we have to run MathToLLVM separately now.

This resolves Intrinsics/math-codegen failure caused by D144450.

Diff Detail

Event Timeline

vzakhari created this revision.Feb 21 2023, 3:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 21 2023, 3:08 PM
PeteSteinfeld accepted this revision.Feb 21 2023, 3:57 PM

All builds and tests correctly and looks good.

Thanks for hopping on this!

This revision is now accepted and ready to land.Feb 21 2023, 3:57 PM

Thank you for the review, Pete!