Skip to content

Commit e64e15e

Browse files
committed
[RISCV] Move the RISCVSchedule.td include after RISCVRegisterInfo.td. NFC
Registers shouldn't depend on the scheduler, but a scheduler predicate could depend on a register. This would make it possible to move VLDSX0Pred out of the SiFive7 scheduler model to RISCVSchedule.td if another model needed it.
1 parent 83e9697 commit e64e15e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCV.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ include "RISCVSystemOperands.td"
2424
// Registers, calling conventions, instruction descriptions.
2525
//===----------------------------------------------------------------------===//
2626

27-
include "RISCVSchedule.td"
2827
include "RISCVRegisterInfo.td"
28+
include "RISCVSchedule.td"
2929
include "RISCVCallingConv.td"
3030
include "RISCVInstrInfo.td"
3131
include "GISel/RISCVRegisterBanks.td"

0 commit comments

Comments
 (0)