aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorJatin Bhateja <jatin.bhateja@gmail.com>2017-10-18 01:36:16 +0000
committerJatin Bhateja <jatin.bhateja@gmail.com>2017-10-18 01:36:16 +0000
commit1fc49627e498eeaedcc79ae301df1adf47592583 (patch)
treed30f400700370123be7caec68e639640df9e41df /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent9e148e95905a78de95eaa8220c49988d44756fc2 (diff)
downloadllvm-1fc49627e498eeaedcc79ae301df1adf47592583.zip
llvm-1fc49627e498eeaedcc79ae301df1adf47592583.tar.gz
llvm-1fc49627e498eeaedcc79ae301df1adf47592583.tar.bz2
[ScalarEvolution] Handling for ICmp occuring in the evolution chain.
Summary: If a compare instruction is same or inverse of the compare in the branch of the loop latch, then return a constant evolution node. Currently scope of evaluation is limited to SCEV computation for PHI nodes. This shall facilitate computations of loop exit counts in cases where compare appears in the evolution chain of induction variables. Will fix PR 34538 Reviewers: sanjoy, hfinkel, junryoungju Reviewed By: junryoungju Subscribers: javed.absar, llvm-commits Differential Revision: https://reviews.llvm.org/D38494 llvm-svn: 316054
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions