Reviewed-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Pierre Moreau <dev@pmoreau.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10711>
bool isLoad = true;
next = ldst->next;
+ // TODO: Handle combining sub 4-bytes loads/stores.
+ if (ldst->op == OP_STORE && typeSizeof(ldst->dType) < 4) {
+ purgeRecords(ldst, ldst->src(0).getFile());
+ continue;
+ }
+
if (ldst->op == OP_LOAD || ldst->op == OP_VFETCH) {
if (ldst->subOp == NV50_IR_SUBOP_LOAD_LOCKED) {
purgeRecords(ldst, ldst->src(0).getFile());