This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen][NFCI] Avoid calls to setTargetAttributes on definitions
AcceptedPublic

Authored by alexgatea on Jun 27 2023, 11:32 AM.

Details

Summary

Avoid duplicate calls to setTargetAttributes on global variable definitions.

Diff Detail

Event Timeline

alexgatea created this revision.Jun 27 2023, 11:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2023, 11:32 AM
alexgatea requested review of this revision.Jun 27 2023, 11:32 AM
alexgatea edited the summary of this revision. (Show Details)
alexgatea updated this revision to Diff 535798.Jun 29 2023, 7:42 AM
alexgatea updated this revision to Diff 535812.Jun 29 2023, 8:25 AM
cebowleratibm accepted this revision.Jul 10 2023, 9:31 AM

Suggest adding tag [NFCI] (no functional change intended)

This revision is now accepted and ready to land.Jul 10 2023, 9:31 AM

I think it's appropriate to use the tag [Clang][NFCI] or [CodeGen][NFCI]

alexgatea retitled this revision from [CodeGenModule] Avoid calls to setTargetAttributes on definitions to [NFC] [CodeGenModule] Avoid calls to setTargetAttributes on definitions.Jul 10 2023, 9:35 AM
alexgatea retitled this revision from [NFC] [CodeGenModule] Avoid calls to setTargetAttributes on definitions to [CodeGen][NFCI] Avoid calls to setTargetAttributes on definitions.
alexgatea edited the summary of this revision. (Show Details)Jul 11 2023, 10:39 AM