diff options
author | Keno Fischer <kfischer@college.harvard.edu> | 2016-12-05 21:25:03 +0000 |
---|---|---|
committer | Keno Fischer <kfischer@college.harvard.edu> | 2016-12-05 21:25:03 +0000 |
commit | 92f377bd74aa89dadfa51521f5065f9d9b931349 (patch) | |
tree | c2fa8b068769cd4321da7f48bec902e384e5fea9 /llvm/tools/llvm-diff/DiffConsumer.h | |
parent | 7b4dd875df05d8f8102503a3d309f4c1fcb45925 (diff) | |
download | bcm5719-llvm-92f377bd74aa89dadfa51521f5065f9d9b931349.tar.gz bcm5719-llvm-92f377bd74aa89dadfa51521f5065f9d9b931349.zip |
[LAA] Prevent invalid IR for loop-invariant bound in loop body
Summary:
If LAA expands a bound that is loop invariant, but not hoisted out
of the loop body, it used to use that value anyway, causing a
non-domination error, because the memcheck block is of course not
dominated by the scalar loop body. Detect this situation and expand
the SCEV expression instead.
Fixes PR31251
Reviewers: anemet
Subscribers: mzolotukhin, llvm-commits
Differential Revision: https://reviews.llvm.org/D27397
llvm-svn: 288705
Diffstat (limited to 'llvm/tools/llvm-diff/DiffConsumer.h')
0 files changed, 0 insertions, 0 deletions