mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8297384: Add IR tests for existing idealizations of arithmetic nodes
Reviewed-by: chagedorn
This commit is contained in:
parent
cfe5a3716e
commit
fd910f77bc
11 changed files with 596 additions and 77 deletions
|
@ -593,6 +593,11 @@ public class IRNode {
|
|||
afterBarrierExpansionToBeforeMatching(MACRO_LOGIC_V, "MacroLogicV");
|
||||
}
|
||||
|
||||
public static final String MAX = PREFIX + "MAX" + POSTFIX;
|
||||
static {
|
||||
beforeMatchingNameRegex(MAX, "Max(I|L)");
|
||||
}
|
||||
|
||||
public static final String MAX_I = PREFIX + "MAX_I" + POSTFIX;
|
||||
static {
|
||||
beforeMatchingNameRegex(MAX_I, "MaxI");
|
||||
|
@ -613,6 +618,11 @@ public class IRNode {
|
|||
beforeMatchingNameRegex(MEMBAR_STORESTORE, "MemBarStoreStore");
|
||||
}
|
||||
|
||||
public static final String MIN = PREFIX + "MIN" + POSTFIX;
|
||||
static {
|
||||
beforeMatchingNameRegex(MIN, "Min(I|L)");
|
||||
}
|
||||
|
||||
public static final String MIN_I = PREFIX + "MIN_I" + POSTFIX;
|
||||
static {
|
||||
beforeMatchingNameRegex(MIN_I, "MinI");
|
||||
|
@ -752,6 +762,16 @@ public class IRNode {
|
|||
beforeMatchingNameRegex(ROUND_VF, "RoundVF");
|
||||
}
|
||||
|
||||
public static final String ROTATE_LEFT = PREFIX + "ROTATE_LEFT" + POSTFIX;
|
||||
static {
|
||||
beforeMatchingNameRegex(ROTATE_LEFT, "RotateLeft");
|
||||
}
|
||||
|
||||
public static final String ROTATE_RIGHT = PREFIX + "ROTATE_RIGHT" + POSTFIX;
|
||||
static {
|
||||
beforeMatchingNameRegex(ROTATE_RIGHT, "RotateRight");
|
||||
}
|
||||
|
||||
public static final String RSHIFT = PREFIX + "RSHIFT" + POSTFIX;
|
||||
static {
|
||||
beforeMatchingNameRegex(RSHIFT, "RShift(I|L)");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue