Skip to content

Commit a7206a6

Browse files
[RISCV] ReadStoreData is read later in the pipeline for SiFive7 (#86454)
Store data is read later in the pipeline, so we use SiFive7AnyToGPRBypass to model that a store instruction can begin some cycles before that data is ready.
1 parent 41afef9 commit a7206a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVSchedSiFive7.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ def : InstRW<[WriteIALU], (instrs COPY)>;
950950
def : SiFive7AnyToGPRBypass<ReadJmp>;
951951
def : SiFive7AnyToGPRBypass<ReadJalr>;
952952
def : ReadAdvance<ReadCSR, 0>;
953-
def : ReadAdvance<ReadStoreData, 0>;
953+
def : SiFive7AnyToGPRBypass<ReadStoreData>;
954954
def : ReadAdvance<ReadMemBase, 0>;
955955
def : SiFive7AnyToGPRBypass<ReadIALU>;
956956
def : SiFive7AnyToGPRBypass<ReadIALU32>;

0 commit comments

Comments
 (0)