... 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.
| Paths 
 |  Differential  D143894  
[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 
Diff Detail Event Timeline
 Comment Actions 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 This revision was landed with ongoing or failed builds.Mar 30 2023, 6:38 AM Closed by commit rG99e57f06c4df: [CodeGenPrepare] Increase the limit on the number of instructions to scan (authored by chill).  ·  Explain Why This revision was automatically updated to reflect the committed changes. chill removed a child revision: D143895: [AArch64] Fix incorrect `isLegalAddressingMode`.Mar 30 2023, 6:39 AM 
Revision Contents 
Diff 509329 llvm/lib/CodeGen/CodeGenPrepare.cpp
 
 llvm/test/CodeGen/Generic/addr-use-count.ll
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Make it an option?