[llvm] [NFC] [Extractor] Fix comments (PR #193769)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 23 08:06:48 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-transforms
Author: Shimin Cui (scui-ibm)
<details>
<summary>Changes</summary>
To address comments -> https://github.com/llvm/llvm-project/pull/191824#discussion_r3124068892.
---
Full diff: https://github.com/llvm/llvm-project/pull/193769.diff
1 Files Affected:
- (modified) llvm/include/llvm/Transforms/Utils/CodeExtractor.h (+2-2)
``````````diff
diff --git a/llvm/include/llvm/Transforms/Utils/CodeExtractor.h b/llvm/include/llvm/Transforms/Utils/CodeExtractor.h
index 66c9491182b16..10182ebc37773 100644
--- a/llvm/include/llvm/Transforms/Utils/CodeExtractor.h
+++ b/llvm/include/llvm/Transforms/Utils/CodeExtractor.h
@@ -155,8 +155,8 @@ class LLVM_ABI CodeExtractor {
/// the code is being extracted. If ArgsInZeroAddressSpace param is set to
/// true, then the aggregate param pointer of the outlined function is
/// declared in zero address space. If VoidReturnWithSingleOutput is set to
- /// true, then the return type of the outlined function is set void even if
- /// there is only one output.
+ /// true, then the return type of the outlined function is set void when
+ /// there is only one exit block.
CodeExtractor(ArrayRef<BasicBlock *> BBs, DominatorTree *DT = nullptr,
bool AggregateArgs = false, BlockFrequencyInfo *BFI = nullptr,
BranchProbabilityInfo *BPI = nullptr,
``````````
</details>
https://github.com/llvm/llvm-project/pull/193769
More information about the llvm-commits
mailing list