[vector] Fix MulReductionVLNode::ideal_reg()
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Tue May 29 11:18:42 UTC 2018
Wrong ideal register is specified for MulReductionVL.
diff --git a/src/hotspot/share/opto/vectornode.hpp
b/src/hotspot/share/opto/vectornode.hpp
--- a/src/hotspot/share/opto/vectornode.hpp
+++ b/src/hotspot/share/opto/vectornode.hpp
@@ -386,7 +386,7 @@
MulReductionVLNode(Node *ctrl, Node* in1, Node* in2) :
ReductionNode(ctrl, in1, in2) {}
virtual int Opcode() const;
virtual const Type* bottom_type() const { return TypeLong::LONG; }
- virtual uint ideal_reg() const { return Op_RegI; }
+ virtual uint ideal_reg() const { return Op_RegL; }
};
Thanks!
Best regards,
Vladimir Ivanov
More information about the panama-dev
mailing list