[llvm] 09cb376 - [scev] Put comments on the right fields [nfc]
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 7 13:39:39 PDT 2021
Author: Philip Reames
Date: 2021-10-07T13:39:26-07:00
New Revision: 09cb376d27aeca4b2539b31e16706c32cda82a4e
URL: https://github.com/llvm/llvm-project/commit/09cb376d27aeca4b2539b31e16706c32cda82a4e
DIFF: https://github.com/llvm/llvm-project/commit/09cb376d27aeca4b2539b31e16706c32cda82a4e.diff
LOG: [scev] Put comments on the right fields [nfc]
Added:
Modified:
llvm/include/llvm/Analysis/ScalarEvolution.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/ScalarEvolution.h b/llvm/include/llvm/Analysis/ScalarEvolution.h
index fc9c9a4c62fde..9c47bc098d9b3 100644
--- a/llvm/include/llvm/Analysis/ScalarEvolution.h
+++ b/llvm/include/llvm/Analysis/ScalarEvolution.h
@@ -1456,15 +1456,15 @@ class ScalarEvolution {
LoopDispositions;
struct LoopProperties {
- /// Set to true if the loop contains no instruction that can have side
- /// effects (i.e. via throwing an exception, volatile or atomic access).
- bool HasNoAbnormalExits;
-
/// Set to true if the loop contains no instruction that can abnormally exit
/// the loop (i.e. via throwing an exception, by terminating the thread
/// cleanly or by infinite looping in a called function). Strictly
/// speaking, the last one is not leaving the loop, but is identical to
/// leaving the loop for reasoning about undefined behavior.
+ bool HasNoAbnormalExits;
+
+ /// Set to true if the loop contains no instruction that can have side
+ /// effects (i.e. via throwing an exception, volatile or atomic access).
bool HasNoSideEffects;
};
More information about the llvm-commits
mailing list