Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
8258989: JVM is failed to inline in jdk.internal.vm.vector.VectorSupp…

Co-authored-by: He Xuejin <>
Reviewed-by: vlivanov, thartmann
  • Loading branch information
2 people authored and Fei Yang committed Jan 6, 2021
1 parent d529306 commit 554e60c400746746bb55469e61fad84af365dbf5
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1435,7 +1435,7 @@ bool LibraryCallKit::inline_vector_convert() {
} else if (num_elem_from > num_elem_to) {
// Since number elements from input is larger than output, simply reduce size of input (we are supposed to
// drop top elements anyway).
int num_elem_for_resize = MAX2(num_elem_to, Matcher::min_vector_size(elem_bt_to));
int num_elem_for_resize = MAX2(num_elem_to, Matcher::min_vector_size(elem_bt_from));

// It is possible that arch does not support this intermediate vector size
// TODO More complex logic required here to handle this corner case for the sizes.

1 comment on commit 554e60c

Copy link

@openjdk-notifier openjdk-notifier bot commented on 554e60c Jan 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.