Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/hotspot/share/opto/vectorization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1345,6 +1345,12 @@ Node* VPointer::make_pointer_expression(Node* iv_value, Node* ctrl) const {
variable = new CastP2XNode(ctrl, variable);
phase->register_new_node(variable, ctrl);
}
NOT_LP64( // On 32-bit CastP2X produces TypeInt
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

NOT_LP64 is really for single-line use. For multi-line, wrap it in #ifndef _LP64.

if (variable->bottom_type()->isa_int()) {
variable = new ConvI2LNode(variable);
phase->register_new_node(variable, ctrl);
}
)
node = new MulLNode(scaleL, variable);
phase->register_new_node(node, ctrl);
}
Expand Down