mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-10 16:03:16 +00:00
8379411: Use TestFramework scenarios in 837841
Reviewed-by: qamai, dfenacci, chagedorn
This commit is contained in:
parent
5e588085e9
commit
2fc7bdcbd4
@ -24,6 +24,7 @@ package compiler.c2.gvn;
|
||||
|
||||
import compiler.lib.ir_framework.*;
|
||||
import jdk.test.lib.Asserts;
|
||||
import jdk.test.lib.Platform;
|
||||
import jdk.test.lib.Utils;
|
||||
import java.util.Random;
|
||||
|
||||
@ -35,15 +36,18 @@ import java.util.Random;
|
||||
* regardless of Add input order, i.e. it is commutative w.r.t. the addition.
|
||||
* @library /test/lib /
|
||||
* @run driver ${test.main.class}
|
||||
* @run driver ${test.main.class} -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:VerifyIterativeGVN=1110 -Xbatch -XX:CompileCommand=compileonly,${test.main.class}::*
|
||||
*/
|
||||
public class MissedURShiftIAddILShiftIdeal {
|
||||
|
||||
private static final Random RANDOM = Utils.getRandomInstance();
|
||||
|
||||
public static void main(String[] args) {
|
||||
TestFramework.run();
|
||||
var framework = new TestFramework();
|
||||
framework.addScenarios(new Scenario(0));
|
||||
if (Platform.isDebugBuild()) {
|
||||
framework.addScenarios(new Scenario(1, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:VerifyIterativeGVN=1110"));
|
||||
}
|
||||
framework.start();
|
||||
}
|
||||
|
||||
@Run(test = {"testI", "testICommuted", "testIComputedY",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user