This is an archive of the discontinued LLVM Phabricator instance.

[clang][OpenMP] Fix mangling of linear parameters.
ClosedPublic

Authored by fpetrogalli on Apr 27 2020, 2:19 PM.

Details

Summary

The linear parameter token in the mangling function must be multiplied
by the pointee size in bytes when the parameter is a pointer.

Diff Detail

Event Timeline

fpetrogalli created this revision.Apr 27 2020, 2:19 PM
Herald added a project: Restricted Project. · View Herald Transcript
jdoerfert accepted this revision.Apr 30 2020, 6:17 AM

Code LGTM. I trust you know about mangling.

clang/lib/CodeGen/CGOpenMPRuntime.cpp
11466

Nit: auto *P

This revision is now accepted and ready to land.Apr 30 2020, 6:17 AM

Address review.

This revision was automatically updated to reflect the committed changes.