projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Attempt to update the shadow stack GC pass to the new EH model.
[oota-llvm.git]
/
lib
/
Analysis
/
ScalarEvolutionNormalization.cpp
diff --git
a/lib/Analysis/ScalarEvolutionNormalization.cpp
b/lib/Analysis/ScalarEvolutionNormalization.cpp
index ac36cef89ebb585cb46f8e9cba1a8bfd3fa26f5d..60e630aaab8893b27345ac3caa41c5acbf61d484 100644
(file)
--- a/
lib/Analysis/ScalarEvolutionNormalization.cpp
+++ b/
lib/Analysis/ScalarEvolutionNormalization.cpp
@@
-97,7
+97,8
@@
const SCEV *llvm::TransformForPostIncUse(TransformKind Kind,
const SCEV *N = TransformForPostIncUse(Kind, O, LUser, 0, Loops, SE, DT);
Operands.push_back(N);
}
const SCEV *N = TransformForPostIncUse(Kind, O, LUser, 0, Loops, SE, DT);
Operands.push_back(N);
}
- const SCEV *Result = SE.getAddRecExpr(Operands, L);
+ // Conservatively use AnyWrap until/unless we need FlagNW.
+ const SCEV *Result = SE.getAddRecExpr(Operands, L, SCEV::FlagAnyWrap);
switch (Kind) {
default: llvm_unreachable("Unexpected transform name!");
case NormalizeAutodetect:
switch (Kind) {
default: llvm_unreachable("Unexpected transform name!");
case NormalizeAutodetect: