Skip to content

Commit

Permalink
[Backport] 8266962: Add arch supporting check for "Op_VectorLoadConst…
Browse files Browse the repository at this point in the history
…" before creating the node

Summary: [Backport] 8266962: Add arch supporting check for "Op_VectorLoadConst" before creating the node

Test Plan: ci jtreg

Reviewed-by: JoshuaZhuwj

Issue: #592
  • Loading branch information
JinZhonghui authored and JoshuaZhuwj committed Nov 13, 2023
1 parent 2d038b6 commit 2c575f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hotspot/share/opto/vectorIntrinsics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ bool LibraryCallKit::inline_vector_shuffle_iota() {
if (!arch_supports_vector(Op_AndV, num_elem, elem_bt, VecMaskNotUsed)) {
return false;
}
if (!arch_supports_vector(Op_VectorLoadConst, num_elem, elem_bt, VecMaskNotUsed)) {
return false;
}
if (!arch_supports_vector(Op_VectorBlend, num_elem, elem_bt, VecMaskUseLoad)) {
return false;
}
Expand Down

0 comments on commit 2c575f6

Please sign in to comment.