[PATCH] Handle some cases of mismatched types in IRCE
hfinkel at anl.gov
hfinkel at anl.gov
Thu Jan 22 21:44:26 PST 2015
> I have not added a test case that exercises the CIVComparedToSCEV->getType() != LatchCount->getType()) part of the change. That part of the change is needed when -indvars widens the induction variable, but leaves behind the old cached value for a loop's backedge taken count in scalar evolution (so the types mismatch but the actual value of the backedge-taken-count is still accurate). So far I have not managed to reproduce this problem outside of clang.
This sounds like a bug in indvars. Is it obvious how to fix it there?
REPOSITORY
rL LLVM
http://reviews.llvm.org/D7082
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list