diff options
author | Daniil Fukalov <daniil.fukalov@amd.com> | 2016-11-17 16:07:52 +0000 |
---|---|---|
committer | Daniil Fukalov <daniil.fukalov@amd.com> | 2016-11-17 16:07:52 +0000 |
commit | 4c3322cc843c6233e78a123259808eeb37198aa9 (patch) | |
tree | f538fec3bb3e41daac70f391f6a879990fd0f6b5 /llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | |
parent | 74fa2822f6ab87eb163d38ac117eb088fe8c3c5a (diff) | |
download | bcm5719-llvm-4c3322cc843c6233e78a123259808eeb37198aa9.tar.gz bcm5719-llvm-4c3322cc843c6233e78a123259808eeb37198aa9.zip |
[SCEV] limit recursion depth of CompareSCEVComplexity
Summary:
CompareSCEVComplexity goes too deep (50+ on a quite a big unrolled loop) and runs almost infinite time.
Added cache of "equal" SCEV pairs to earlier cutoff of further estimation. Recursion depth limit was also introduced as a parameter.
Reviewers: sanjoy
Subscribers: mzolotukhin, tstellarAMD, llvm-commits
Differential Revision: https://reviews.llvm.org/D26389
llvm-svn: 287232
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions