[PATCH] D43759: [SCEV] Smarter logic in computeConstantDifference
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 28 03:34:07 PST 2018
mkazantsev added inline comments.
Comment at: lib/Analysis/ScalarEvolution.cpp:9805
Optional<APInt> Addend = computeConstantDifference(LHS, FoundLHS);
This is incorrect. LHS and FoundLHS can have different types. I will fix this before merging this patch.
More information about the llvm-commits