v3d: tlb loads cannot be removed
Loads from the tile buffer are emitted in ordered sequences so we cannot eliminate or reorder any of them. Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -75,6 +75,8 @@ vir_has_side_effects(struct v3d_compile *c, struct qinst *inst)
|
||||
|
||||
if (inst->qpu.sig.ldtmu ||
|
||||
inst->qpu.sig.ldvary ||
|
||||
inst->qpu.sig.ldtlbu ||
|
||||
inst->qpu.sig.ldtlb ||
|
||||
inst->qpu.sig.wrtmuc ||
|
||||
inst->qpu.sig.thrsw) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user