Skip to content
Permalink
Browse files
8266962: Add arch supporting check for "Op_VectorLoadConst" before cr…
…eating the node

Reviewed-by: vlivanov, neliasso
  • Loading branch information
Xiaohong Gong authored and Ningsheng Jian committed May 19, 2021
1 parent 4954383 commit 2563a6a9b5e81b4624704da4e8a2f24a6c5e8a5b
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/hotspot/share/opto/vectorIntrinsics.cpp
@@ -352,6 +352,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;
}

0 comments on commit 2563a6a

Please sign in to comment.