Skip to content

Commit

Permalink
8285980: Several tests in compiler/c2/irTests miss @requires vm.compi…
Browse files Browse the repository at this point in the history
…ler2.enabled

Reviewed-by: thartmann
  • Loading branch information
DamonFool committed May 2, 2022
1 parent cf81f6c commit 1f9f873
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* bug 8281322
* @summary check counted loop is properly constructed with/without safepoint
* @library /test/lib /
* @requires vm.compiler2.enabled
* @run driver compiler.c2.irTests.TestCountedLoopSafepoint
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* @bug 8279888
* @summary Local variable independently used by multiple loops can interfere with loop optimizations
* @library /test/lib /
* @requires vm.compiler2.enabled
* @run driver compiler.c2.irTests.TestDuplicateBackedge
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @bug 8262721
* @summary Add Tests to verify single iteration loops are properly optimized
* @library /test/lib /
* @requires vm.compiler2.enabled
* @run driver compiler.c2.irTests.TestFewIterationsCountedLoop
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @summary Test that transformation from ~x + c to (c - 1) - x and
* from ~(x + c) to (-c - 1) - x works as intended.
* @library /test/lib /
* @requires vm.compiler2.enabled
* @run driver compiler.c2.irTests.TestIRAddIdealNotXPlusC
*/
public class TestIRAddIdealNotXPlusC {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* @bug 8278114
* @summary Test that transformation from (x + x) >> c to x >> (c + 1) works as intended.
* @library /test/lib /
* @requires vm.compiler2.enabled
* @run driver compiler.c2.irTests.TestIRLShiftIdeal_XPlusX_LShiftC
*/
public class TestIRLShiftIdeal_XPlusX_LShiftC {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* @bug 8259609 8276116
* @summary C2: optimize long range checks in long counted loops
* @library /test/lib /
* @requires vm.compiler2.enabled
* @run driver compiler.c2.irTests.TestLongRangeChecks
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @bug 8278228
* @summary C2: Improve identical back-to-back if elimination
* @library /test/lib /
* @requires vm.compiler2.enabled
* @run driver compiler.c2.irTests.TestSkeletonPredicates
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @bug 8282045
* @summary When loop strip mining fails, safepoints are removed from loop anyway
* @library /test/lib /
* @requires vm.compiler2.enabled
* @run driver compiler.c2.irTests.TestStripMiningDropsSafepoint
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @summary C2: loop candidate for superword not always unrolled fully if superword fails
* @library /test/lib /
* @build sun.hotspot.WhiteBox
* @requires vm.compiler2.enabled
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -DSkipWhiteBoxInstall=true -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI compiler.c2.irTests.TestSuperwordFailsUnrolling
*/
Expand Down

1 comment on commit 1f9f873

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.