RFR: 8264104: Eliminate unnecessary vector mask conversion during VectorUnbox for floating point VectorMask [v3]

Vladimir Ivanov vlivanov at openjdk.java.net
Mon Apr 12 15:12:30 UTC 2021


On Mon, 12 Apr 2021 07:53:36 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

>> Good idea, I will try this way. Thanks!
>
> I met the bad AD file issue when I remove the changes in AD files and overriding `Node::ideal_reg()`. I guess if a node is not used as an input of other node, this can work well? For the `VectorMaskCastNode`, it must be an input for some other nodes. If just disable the matching of this node, how does its usage find the right input code?

Yeah, `ideal_reg() { return 0; }` won't work here. Sorry for the misleading suggestion.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3238


More information about the hotspot-compiler-dev mailing list