This is an archive of the discontinued LLVM Phabricator instance.

Support Itanium demangling of the half precision FP type.
Needs ReviewPublic

Authored by kbobrovs on Jun 28 2021, 12:06 PM.

Details

Summary

Clang mangles half type as 'DF16_', which is not recognized by the Itanium demangler today.
This patch makes the demangler recognize it and map to "_Float16" string representation, which
is the spelling supported by clang FE for e.g. spir64 target.

Diff Detail

Event Timeline

kbobrovs requested review of this revision.Jun 28 2021, 12:06 PM
kbobrovs created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJun 28 2021, 12:06 PM
bader added a subscriber: bader.Jun 28 2021, 11:00 PM
kbobrovs updated this revision to Diff 355934.Jul 1 2021, 10:30 AM

Remove usage of std::string (also fixes debug build of the unittests/Demangle/ItaniumDemangleTest.cpp)