Skip to content

Commit

Permalink
[GR-49372] Add getter for FloatingWordCastNode input
Browse files Browse the repository at this point in the history
PullRequest: graal/16002
  • Loading branch information
patrick96 authored and ntemmar committed Nov 11, 2023
2 parents dd41a61 + e4c656a commit 651d8b7
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,16 @@
import jdk.graal.compiler.core.common.type.Stamp;
import jdk.graal.compiler.graph.Node;
import jdk.graal.compiler.graph.NodeClass;
import jdk.graal.compiler.nodes.spi.Canonicalizable;
import jdk.graal.compiler.nodes.spi.CanonicalizerTool;
import jdk.graal.compiler.nodeinfo.NodeCycles;
import jdk.graal.compiler.nodeinfo.NodeInfo;
import jdk.graal.compiler.nodeinfo.NodeSize;
import jdk.graal.compiler.nodes.NodeView;
import jdk.graal.compiler.nodes.ValueNode;
import jdk.graal.compiler.nodes.calc.FloatingNode;
import jdk.graal.compiler.nodes.spi.Canonicalizable;
import jdk.graal.compiler.nodes.spi.CanonicalizerTool;
import jdk.graal.compiler.nodes.spi.LIRLowerable;
import jdk.graal.compiler.nodes.spi.NodeLIRBuilderTool;

import jdk.vm.ci.meta.AllocatableValue;
import jdk.vm.ci.meta.Value;
import jdk.vm.ci.meta.ValueKind;
Expand All @@ -58,6 +57,10 @@ public FloatingWordCastNode(Stamp stamp, ValueNode input) {
this.input = input;
}

public ValueNode getInput() {
return input;
}

@Override
public Node canonical(CanonicalizerTool tool) {
if (hasNoUsages()) {
Expand Down

0 comments on commit 651d8b7

Please sign in to comment.