[llvm] c2ab5c5 - [DAG] Fix typo in isDesirableToCommuteWithShift description. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 18 05:12:34 PDT 2022
Author: Simon Pilgrim
Date: 2022-07-18T13:11:23+01:00
New Revision: c2ab5c5514dd9e74f62d7f6bdaeed24d7d8b2c68
URL: https://github.com/llvm/llvm-project/commit/c2ab5c5514dd9e74f62d7f6bdaeed24d7d8b2c68
DIFF: https://github.com/llvm/llvm-project/commit/c2ab5c5514dd9e74f62d7f6bdaeed24d7d8b2c68.diff
LOG: [DAG] Fix typo in isDesirableToCommuteWithShift description. NFC.
Added:
Modified:
llvm/include/llvm/CodeGen/TargetLowering.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/TargetLowering.h b/llvm/include/llvm/CodeGen/TargetLowering.h
index ab5d3ba0164d2..815f0a2324b28 100644
--- a/llvm/include/llvm/CodeGen/TargetLowering.h
+++ b/llvm/include/llvm/CodeGen/TargetLowering.h
@@ -3874,7 +3874,7 @@ class TargetLowering : public TargetLoweringBase {
virtual SDValue PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const;
/// Return true if it is profitable to move this shift by a constant amount
- /// though its operand, adjusting any immediate operands as necessary to
+ /// through its operand, adjusting any immediate operands as necessary to
/// preserve semantics. This transformation may not be desirable if it
/// disrupts a particularly auspicious target-specific tree (e.g. bitfield
/// extraction in AArch64). By default, it returns true.
More information about the llvm-commits
mailing list