Skip to content

Commit

Permalink
Relax 'must match' assertion in ppc's g1StoreN after limiting pinning…
Browse files Browse the repository at this point in the history
… bypass optimization
  • Loading branch information
robcasloz committed Sep 25, 2024
1 parent 2c7f374 commit 6fb36e5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/hotspot/cpu/ppc/gc/g1/g1_ppc.ad
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ instruct g1StoreN(indirect mem, iRegNsrc src, iRegPdst tmp1, iRegPdst tmp2, flag
ins_cost(2 * MEMORY_REF_COST);
format %{ "stw $mem, $src\t# ptr" %}
ins_encode %{
assert(!in(operand_index(2))->is_Mach() ||
(in(operand_index(2))->as_Mach()->ideal_Opcode() != Op_EncodeP),
"EncodeP src nodes should be matched with their corresponding StoreN nodes");
pre_write_barrier(masm, this,
$mem$$Register,
$tmp1$$Register,
Expand Down

0 comments on commit 6fb36e5

Please sign in to comment.