This is an archive of the discontinued LLVM Phabricator instance.

[flang] Set attribute at the correct position
ClosedPublic

Authored by clementval on Aug 18 2022, 1:46 AM.

Details

Summary

The TargetRewrite pass can change the number of argument of a function.
An extra llvm.nest attribute is added and was not set at the correct position
if an extra argument was inserted before.

Diff Detail

Event Timeline

clementval created this revision.Aug 18 2022, 1:46 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 18 2022, 1:46 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Aug 18 2022, 1:46 AM
PeteSteinfeld accepted this revision.Aug 18 2022, 9:11 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Aug 18 2022, 9:11 AM
This revision was automatically updated to reflect the committed changes.