[all-commits] [llvm/llvm-project] e35049: [NFC] Promote willNotOverflow() / getStrengthenedN...
Roman Lebedev via All-commits
all-commits at lists.llvm.org
Sat Jun 5 02:18:29 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e350494fb044c5badec9cd8bfd7ab05026babf81
https://github.com/llvm/llvm-project/commit/e350494fb044c5badec9cd8bfd7ab05026babf81
Author: Roman Lebedev <lebedev.ri at gmail.com>
Date: 2021-06-05 (Sat, 05 Jun 2021)
Changed paths:
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Log Message:
-----------
[NFC] Promote willNotOverflow() / getStrengthenedNoWrapFlagsFromBinOp() from IndVars into SCEV proper
We might want to use it when creating SCEV proper in createSCEV(),
now that we don't `forgetValue()` in `SimplifyIndvar::strengthenOverflowingOperation()`,
which might have caused us to loose some optimization potential.
More information about the All-commits
mailing list