[llvm] [SimplifyCFG] Better aligned a comment. (PR #109307)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 19 09:19:35 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-transforms
Author: Simone Campanoni (scampanoni)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/109307.diff
1 Files Affected:
- (modified) llvm/lib/Transforms/Utils/SimplifyCFG.cpp (+3-3)
``````````diff
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
index c63618d9dd1297..2046ac4cc3ef52 100644
--- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
@@ -405,9 +405,9 @@ static InstructionCost computeSpeculationCost(const User *I,
}
/// If we have a merge point of an "if condition" as accepted above,
-/// return true if the specified value dominates the block. We
-/// don't handle the true generality of domination here, just a special case
-/// which works well enough for us.
+/// return true if the specified value dominates the block. We don't handle
+/// the true generality of domination here, just a special case which works
+/// well enough for us.
///
/// If AggressiveInsts is non-null, and if V does not dominate BB, we check to
/// see if V (which must be an instruction) and its recursive operands
``````````
</details>
https://github.com/llvm/llvm-project/pull/109307
More information about the llvm-commits
mailing list