aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2021-10-06 16:44:24 -0700
committerPhilip Reames <listmail@philipreames.com>2021-10-07 13:39:26 -0700
commit09cb376d27aeca4b2539b31e16706c32cda82a4e (patch)
treedada6254dc8f4d53a02af63bfe296d32192521db
parente996cf7dce2c86d40fec263d82545dd363d9f445 (diff)
downloadllvm-09cb376d27aeca4b2539b31e16706c32cda82a4e.zip
llvm-09cb376d27aeca4b2539b31e16706c32cda82a4e.tar.gz
llvm-09cb376d27aeca4b2539b31e16706c32cda82a4e.tar.bz2
[scev] Put comments on the right fields [nfc]
-rw-r--r--llvm/include/llvm/Analysis/ScalarEvolution.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/Analysis/ScalarEvolution.h b/llvm/include/llvm/Analysis/ScalarEvolution.h
index fc9c9a4..9c47bc0 100644
--- a/llvm/include/llvm/Analysis/ScalarEvolution.h
+++ b/llvm/include/llvm/Analysis/ScalarEvolution.h
@@ -1456,15 +1456,15 @@ private:
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;
};