[llvm] 05daf2a - [LLVM][AArch64TargetTransformInfo] Fix typos in SVEIntrinsicInfo. (#211230)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 22 04:52:59 PDT 2026
Author: Paul Walker
Date: 2026-07-22T12:52:55+01:00
New Revision: 05daf2a85768d51dbe96953c5704dea1e45fe0b3
URL: https://github.com/llvm/llvm-project/commit/05daf2a85768d51dbe96953c5704dea1e45fe0b3
DIFF: https://github.com/llvm/llvm-project/commit/05daf2a85768d51dbe96953c5704dea1e45fe0b3.diff
LOG: [LLVM][AArch64TargetTransformInfo] Fix typos in SVEIntrinsicInfo. (#211230)
Correct Propery->Property and sprinkle a couple of extra comments.
Added:
Modified:
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
index f462ef8b2c295..960d50fb039f7 100644
--- a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
@@ -1370,7 +1370,7 @@ struct SVEIntrinsicInfo {
}
unsigned getGoverningPredicateOperandIdx() const {
- assert(hasGoverningPredicate() && "Propery not set!");
+ assert(hasGoverningPredicate() && "Property not set!");
return GoverningPredicateIdx;
}
@@ -1388,12 +1388,16 @@ struct SVEIntrinsicInfo {
// simplification can be used to optimise an intrinsic's active lanes.
//
+ //
+ // Intrinsic that produces the same result for active lanes.
+ //
+
bool hasMatchingUndefIntrinsic() const {
return UndefIntrinsic != Intrinsic::not_intrinsic;
}
Intrinsic::ID getMatchingUndefIntrinsic() const {
- assert(hasMatchingUndefIntrinsic() && "Propery not set!");
+ assert(hasMatchingUndefIntrinsic() && "Property not set!");
return UndefIntrinsic;
}
@@ -1403,10 +1407,14 @@ struct SVEIntrinsicInfo {
return *this;
}
+ //
+ // Instruction where active lanes produce the same result.
+ //
+
bool hasMatchingIROpode() const { return IROpcode != 0; }
unsigned getMatchingIROpode() const {
- assert(hasMatchingIROpode() && "Propery not set!");
+ assert(hasMatchingIROpode() && "Property not set!");
return IROpcode;
}
@@ -1425,7 +1433,7 @@ struct SVEIntrinsicInfo {
}
unsigned getOperandIdxInactiveLanesTakenFrom() const {
- assert(inactiveLanesTakenFromOperand() && "Propery not set!");
+ assert(inactiveLanesTakenFromOperand() && "Property not set!");
return OperandIdxForInactiveLanes;
}
@@ -1477,7 +1485,7 @@ struct SVEIntrinsicInfo {
}
unsigned getOperandIdxWithNoActiveLanes() const {
- assert(hasOperandWithNoActiveLanes() && "Propery not set!");
+ assert(hasOperandWithNoActiveLanes() && "Property not set!");
return OperandIdxWithNoActiveLanes;
}
More information about the llvm-commits
mailing list