File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -660,7 +660,7 @@ bool RISCVVLOptimizer::isCandidate(const MachineInstr &MI) const {
660660 // If we're not using VLMAX, then we need to be careful whether we are using
661661 // TA/TU when there is a non-undef Passthru. But when we are using VLMAX, it
662662 // does not matter whether we are using TA/TU with a non-undef Passthru, since
663- // there are no tail elements to be perserved .
663+ // there are no tail elements to be preserved .
664664 unsigned VLOpNum = RISCVII::getVLOpNum (Desc);
665665 const MachineOperand &VLOp = MI.getOperand (VLOpNum);
666666 if (VLOp.isReg () || VLOp.getImm () != RISCV::VLMaxSentinel) {
@@ -693,7 +693,7 @@ bool RISCVVLOptimizer::isCandidate(const MachineInstr &MI) const {
693693 // lower lanes using data from higher lanes. There may be other complex
694694 // semantics not mentioned here that make it hard to determine whether
695695 // the VL can be optimized. As a result, a white-list of supported
696- // instructions is used. Over time, more instructions cam be supported
696+ // instructions is used. Over time, more instructions can be supported
697697 // upon careful examination of their semantics under the logic in this
698698 // optimization.
699699 // TODO: Use a better approach than a white-list, such as adding
You can’t perform that action at this time.
0 commit comments