File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
clang/lib/StaticAnalyzer/Checkers
llvm/lib/Transforms/Scalar Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 30
30
// was not consciously intended, and therefore it might have been unreachable.
31
31
//
32
32
// This checker uses eval::Call for modeling pure functions (functions without
33
- // side effets ), for which their `Summary' is a precise model. This avoids
33
+ // side effects ), for which their `Summary' is a precise model. This avoids
34
34
// unnecessary invalidation passes. Conflicts with other checkers are unlikely
35
35
// because if the function has no other effects, other checkers would probably
36
36
// never want to improve upon the modeling done by this checker.
Original file line number Diff line number Diff line change @@ -4019,7 +4019,7 @@ bool NewGVN::eliminateInstructions(Function &F) {
4019
4019
// dominated defs as dead.
4020
4020
if (Def) {
4021
4021
// For anything in this case, what and how we value number
4022
- // guarantees that any side-effets that would have occurred (ie
4022
+ // guarantees that any side-effects that would have occurred (ie
4023
4023
// throwing, etc) can be proven to either still occur (because it's
4024
4024
// dominated by something that has the same side-effects), or never
4025
4025
// occur. Otherwise, we would not have been able to prove it value
You can’t perform that action at this time.
0 commit comments