Skip to content

Commit

Permalink
Added a comment in fill emitter
Browse files Browse the repository at this point in the history
  • Loading branch information
v-Golubev committed Jan 31, 2024
1 parent 06cf646 commit 526e41c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ void jit_fill_emitter::emit_isa(const std::vector<size_t> &in, const std::vector
const size_t supported_et_size = 4;
const auto register_capacity = (src_vmm.getBit() / 8) / supported_et_size;
if (offset == register_capacity) {
// WA: since AssignRegisters doesn't support inplace logic, Fill ops with offset = register_capacity can't be removed from the LIR
// TODO: when inplace is supported, remove such Fill ops from the LIR and remove this logic.
// Ticket: 126270
if (src_vmm.getIdx() != dst_vmm.getIdx())
h->uni_vmovups(dst_vmm, src_vmm);
} else if (is_full_reg()) {
Expand Down

0 comments on commit 526e41c

Please sign in to comment.