This is an archive of the discontinued LLVM Phabricator instance.

[Assignment Tracking] Don't run declare-to-assign on functions marked optnone
ClosedPublic

Authored by Orlando on Mar 29 2023, 2:46 AM.

Details

Summary

Assignment tracking doesn't add value when optimisations are disabled - don't apply it to functions marked optnone.

Diff Detail

Event Timeline

Orlando created this revision.Mar 29 2023, 2:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 29 2023, 2:47 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
Orlando requested review of this revision.Mar 29 2023, 2:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 29 2023, 2:47 AM
jryans accepted this revision.Mar 29 2023, 2:50 AM

Seems straightforward, thanks! 🙂

This revision is now accepted and ready to land.Mar 29 2023, 2:50 AM
This revision was landed with ongoing or failed builds.Mar 29 2023, 4:58 AM
This revision was automatically updated to reflect the committed changes.

Thanks! N.B. I added an --implicit-check-not to the test.