File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1813,11 +1813,6 @@ bool RISCVInsertVSETVLI::runOnMachineFunction(MachineFunction &MF) {
1813
1813
for (MachineBasicBlock &MBB : MF)
1814
1814
emitVSETVLIs (MBB);
1815
1815
1816
- // Insert PseudoReadVL after VLEFF/VLSEGFF and replace it with the vl output
1817
- // of VLEFF/VLSEGFF.
1818
- for (MachineBasicBlock &MBB : MF)
1819
- insertReadVL (MBB);
1820
-
1821
1816
// Now that all vsetvlis are explicit, go through and do block local
1822
1817
// DSE and peephole based demanded fields based transforms. Note that
1823
1818
// this *must* be done outside the main dataflow so long as we allow
@@ -1827,6 +1822,11 @@ bool RISCVInsertVSETVLI::runOnMachineFunction(MachineFunction &MF) {
1827
1822
for (MachineBasicBlock &MBB : MF)
1828
1823
coalesceVSETVLIs (MBB);
1829
1824
1825
+ // Insert PseudoReadVL after VLEFF/VLSEGFF and replace it with the vl output
1826
+ // of VLEFF/VLSEGFF.
1827
+ for (MachineBasicBlock &MBB : MF)
1828
+ insertReadVL (MBB);
1829
+
1830
1830
BlockInfo.clear ();
1831
1831
return HaveVectorOp;
1832
1832
}
You can’t perform that action at this time.
0 commit comments