This is an archive of the discontinued LLVM Phabricator instance.

[Flang] Add ppc64 support to Optimizer/CodeGen/Target.cpp for AIX 64 bit
ClosedPublic

Authored by madanial on Nov 20 2022, 8:02 PM.

Details

Summary

Adding support for ppc64 (big endian) in order to support flang on 64 bit AIX

Diff Detail

Event Timeline

madanial created this revision.Nov 20 2022, 8:02 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 20 2022, 8:02 PM
madanial requested review of this revision.Nov 20 2022, 8:02 PM

Can you add a the new triple here flang/test/Fir/target-rewrite-complex.fir and adapt the test?

madanial updated this revision to Diff 477157.Nov 22 2022, 6:28 AM

Add the new triple to flang/test/Fir/target-rewrite-complex.fir as requested. Changed the existing PPC label to be PPC64le and added PPC64 label for the new triple. This is to avoid future confusion with ppc 32 bit.

kiranchandramohan accepted this revision.Dec 5 2022, 6:13 AM

The change looks OK to me. Please wait for @clementval incase there are further comments.

This revision is now accepted and ready to land.Dec 5 2022, 6:13 AM
clementval accepted this revision.Dec 5 2022, 9:43 AM