forked from OSchip/llvm-project
[riscv] Minor style cleanup so that code more obviously matches comments [nfc]
This commit is contained in:
parent
0dbaef61b5
commit
413052310a
|
@ -1156,8 +1156,7 @@ void RISCVInsertVSETVLI::emitVSETVLIs(MachineBasicBlock &MBB) {
|
|||
NewInfo.getAVLReg() == PrevVSETVLIMI->getOperand(0).getReg());
|
||||
// If these two VSETVLI have the same AVL and the same VLMAX,
|
||||
// we could merge these two VSETVLI.
|
||||
if (HasSameAVL &&
|
||||
CurInfo.getSEWLMULRatio() == NewInfo.getSEWLMULRatio()) {
|
||||
if (HasSameAVL && CurInfo.hasSameVLMAX(NewInfo)) {
|
||||
PrevVSETVLIMI->getOperand(2).setImm(NewInfo.encodeVTYPE());
|
||||
NeedInsertVSETVLI = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue