[llvm] [LLVM][AArch64TargetTransformInfo] Fix typos in SVEIntrinsicInfo. (PR #211230)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 22 03:44:30 PDT 2026
https://github.com/paulwalker-arm created https://github.com/llvm/llvm-project/pull/211230
Correct Propery->Property and sprinkle a couple of extra comments.
>From 40db4441926b7c30dec4331fc0624c0371e0c1b5 Mon Sep 17 00:00:00 2001
From: Paul Walker <paul.walker at arm.com>
Date: Wed, 22 Jul 2026 10:37:40 +0000
Subject: [PATCH] [LLVM][AArch64TargetTransformInfo] Fix typos in
SVEIntrinsicInfo.
Correct Propery->Property and sprinkle a couple of extra comments.
---
.../AArch64/AArch64TargetTransformInfo.cpp | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
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