This is an archive of the discontinued LLVM Phabricator instance.

[CodeGenPrepare] Increase the limit on the number of instructions to scan
ClosedPublic

Authored by chill on Feb 13 2023, 2:47 AM.

Details

Summary

... when finding all memory uses for an address and make it a parameter.

Now that we have avoided potentially exponential run time of FindAllMemoryUses
in D143893. it'd be beneficial to increase the limit up from 20.

Diff Detail

Event Timeline

chill created this revision.Feb 13 2023, 2:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 13 2023, 2:47 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
chill requested review of this revision.Feb 13 2023, 2:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 13 2023, 2:47 AM
chill edited the summary of this revision. (Show Details)Feb 13 2023, 6:31 AM
chill updated this revision to Diff 503838.Mar 9 2023, 10:29 AM
mkazantsev added inline comments.Mar 28 2023, 9:59 AM
llvm/lib/CodeGen/CodeGenPrepare.cpp
4967–4968

Make it an option?

mkazantsev accepted this revision.Mar 28 2023, 10:00 AM

I don't mind default setting change, but think this should be an option, unless there is a reason why it shouldn't.

This revision is now accepted and ready to land.Mar 28 2023, 10:00 AM
chill updated this revision to Diff 509329.Mar 29 2023, 6:03 AM
chill edited the summary of this revision. (Show Details)
chill marked an inline comment as done.Mar 29 2023, 6:11 AM
This revision was landed with ongoing or failed builds.Mar 30 2023, 6:38 AM
This revision was automatically updated to reflect the committed changes.