[PATCH] D58994: [SCEV] Use depth limit for trunc analysis
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 5 12:53:08 PST 2019
tejohnson created this revision.
tejohnson added a reviewer: mkazantsev.
Herald added subscribers: jdoerfert, sanjoy.
Herald added a project: LLVM.
This fixes an extremely long compile time caused by recursive analysis
of truncs, which were not previously subject to any depth limits unlike
some of the other ops. I decided to use the same control used for
sext/zext, since the routines analyzing these are sometimes mutually
recursive with the trunc analysis.
Repository:
rL LLVM
https://reviews.llvm.org/D58994
Files:
include/llvm/Analysis/ScalarEvolution.h
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/limit-depth.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58994.189389.patch
Type: text/x-patch
Size: 9470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190305/8b397e27/attachment.bin>
More information about the llvm-commits
mailing list