This is an archive of the discontinued LLVM Phabricator instance.

[flang] Allow runtime build with AVOID_NATIVE_INT128_T=1
ClosedPublic

Authored by klausler on Jul 6 2023, 3:07 PM.

Details

Summary

This patch enables the Fortran runtime support library to be
built without native 128-bit integer support in the C++ compiler.
Use -DAVOID_NATIVE_INT128_T or modify flang/include/flang/Common/uint128.h to test.

Experimental: do not merge yet.

Diff Detail

Event Timeline

klausler created this revision.Jul 6 2023, 3:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2023, 3:07 PM
klausler requested review of this revision.Jul 6 2023, 3:07 PM

Looks good to me.

Just to note that we've gotten things to run based on this patch, so from our POV it would be good to merge this, and perhaps even backport it to 17.0.x

This revision was not accepted when it landed; it landed in state Needs Review.Sep 1 2023, 8:54 AM
This revision was automatically updated to reflect the committed changes.