summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/ScalarEvolutionExpressions.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/ScalarEvolutionExpressions.h b/include/llvm/Analysis/ScalarEvolutionExpressions.h
index bc6fb578f1f..ff24cafbe68 100644
--- a/include/llvm/Analysis/ScalarEvolutionExpressions.h
+++ b/include/llvm/Analysis/ScalarEvolutionExpressions.h
@@ -155,15 +155,15 @@ namespace llvm {
}
bool hasNoUnsignedWrap() const {
- return getNoWrapFlags(SCEV::FlagNUW) != SCEV::FlagAnyWrap;
+ return getNoWrapFlags(FlagNUW) != FlagAnyWrap;
}
bool hasNoSignedWrap() const {
- return getNoWrapFlags(SCEV::FlagNSW) != SCEV::FlagAnyWrap;
+ return getNoWrapFlags(FlagNSW) != FlagAnyWrap;
}
bool hasNoSelfWrap() const {
- return getNoWrapFlags(SCEV::FlagNW) != SCEV::FlagAnyWrap;
+ return getNoWrapFlags(FlagNW) != FlagAnyWrap;
}
/// Methods for support type inquiry through isa, cast, and dyn_cast: