aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-05-12 09:31:04 -0700
committerCraig Topper <craig.topper@sifive.com>2023-05-12 09:31:08 -0700
commit54fd5cf926c56d255c4757af838edbe37e6ae5d9 (patch)
tree4152f91209dfd14b82cc6ff2751e625f76d71393 /llvm/lib
parent0047b1779eca0fc97e75eac4c3f99d161b1c28da (diff)
downloadllvm-54fd5cf926c56d255c4757af838edbe37e6ae5d9.zip
llvm-54fd5cf926c56d255c4757af838edbe37e6ae5d9.tar.gz
llvm-54fd5cf926c56d255c4757af838edbe37e6ae5d9.tar.bz2
[RISCV] Fix typo in comment. NFC
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp b/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
index 9126bdf..76c4a59 100644
--- a/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
@@ -3175,8 +3175,9 @@ bool RISCVDAGToDAGISel::doPeepholeMaskedRVV(SDNode *N) {
unsigned Opc = IsTA ? I->UnmaskedPseudo : I->UnmaskedTUPseudo;
// Check that we're dropping the mask operand and any policy operand
- // when we transform to this unmasked pseudo. Additionally, if this insturtion
- // is tail agnostic, the unmasked instruction should not have a merge op.
+ // when we transform to this unmasked pseudo. Additionally, if this
+ // instruction is tail agnostic, the unmasked instruction should not have a
+ // merge op.
uint64_t TSFlags = TII.get(Opc).TSFlags;
assert((IsTA != RISCVII::hasMergeOp(TSFlags)) &&
RISCVII::hasDummyMaskOp(TSFlags) &&