[all-commits] [llvm/llvm-project] f5603a: [ScalarEvolution] Make sure getMinusSCEV doesn't n...
Eli Friedman via All-commits
all-commits at lists.llvm.org
Wed Jul 7 10:27:57 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f5603aa050cefff9052e9085920f3aa2d1d31b86
https://github.com/llvm/llvm-project/commit/f5603aa050cefff9052e9085920f3aa2d1d31b86
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2021-07-07 (Wed, 07 Jul 2021)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[ScalarEvolution] Make sure getMinusSCEV doesn't negate pointers.
Add a function removePointerBase that returns, essentially, S -
getPointerBase(S). Use it in getMinusSCEV instead of actually
subtracting pointers.
Differential Revision: https://reviews.llvm.org/D105503
More information about the All-commits
mailing list