-
Enhancement
-
Resolution: Duplicate
-
P4
-
23
-
generic
-
generic
See this thread https://github.com/openjdk/jdk/pull/17375#discussion_r1456368613
For example, it would be great if we can match `a - b == c` with something like
```
@IR(counts = {IRNode.CMP_LT[IRNode.ANY, IRNode.SUB_I, IRNode.ANY], "1"}
```
The arguments in the [] are the inputs. IRNode.ANY matches any node. (The zero'th node is ANY because its the region node).
For example, it would be great if we can match `a - b == c` with something like
```
@IR(counts = {IRNode.CMP_LT[IRNode.ANY, IRNode.SUB_I, IRNode.ANY], "1"}
```
The arguments in the [] are the inputs. IRNode.ANY matches any node. (The zero'th node is ANY because its the region node).
- duplicates
-
JDK-8265198 Parse the IR to perform queries on it
- Open