diff options
author | Florian Hahn <flo@fhahn.com> | 2023-06-01 16:14:02 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2023-06-01 16:14:02 +0100 |
commit | 3b912e269a52f8d30c4de38487ea8319df23f85c (patch) | |
tree | 66f37a09153ac1e61995826434a9503e87643680 /clang/lib/Frontend/ModuleDependencyCollector.cpp | |
parent | cfe51dbc14b90a3fed7704a39bda215594639d2e (diff) | |
download | llvm-3b912e269a52f8d30c4de38487ea8319df23f85c.zip llvm-3b912e269a52f8d30c4de38487ea8319df23f85c.tar.gz llvm-3b912e269a52f8d30c4de38487ea8319df23f85c.tar.bz2 |
[LV] Bail out on loop-variant steps when rewriting SCEV exprs.
If the step is not loop-invariant, we cannot create a modified AddRec,
as the start needs to be loop-invariant. Mark those cases as
CannotAnalyze and bail out, to fix a crash.
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions