Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8325277

[21u] compiler/c2/cr7200264/TestIntVect.java fails after JDK-8291809 with fastdebug build on aarch64 platform with SVE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21
    • hotspot
    • aarch64
    • linux

      test command:

      jtreg -v:fail,error -nr -w tmp -jdk:build/linux-aarch64-server-fastdebug/jdk test/hotspot/jtreg/compiler/c2/cr7200264/TestIntVect.java
      result:


      One or more @IR rules failed:

      Failed IR Rules (2) of Methods (2)
      ----------------------------------
      1) Method "void compiler.c2.cr7200264.TestIntVect.test_divc(int[],int[])" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={"avx2", "true", "sve", "true"}, counts={"_#V#ADD_VI#_", "_@min(max_int, max_long)", "> 0", "_#V#RSHIFT_VI#_", "_@min(max_int, max_long)", "> 0", "_#V#SUB_VI#_", "_@min(max_int, max_long)", "> 0"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "PrintIdeal":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\d+(\s){2}(AddVI.*)+(\s){2}===.*vector[A-Za-z]\[2\]:\{int\})"
                 - Failed comparison: [found] 0 > 0 [given]
                 - No nodes matched!
               * Constraint 2: "(\d+(\s){2}(RShiftVI.*)+(\s){2}===.*vector[A-Za-z]\[2\]:\{int\})"
                 - Failed comparison: [found] 0 > 0 [given]
                 - No nodes matched!
               * Constraint 3: "(\d+(\s){2}(SubVI.*)+(\s){2}===.*vector[A-Za-z]\[2\]:\{int\})"
                 - Failed comparison: [found] 0 > 0 [given]
                 - No nodes matched!

      2) Method "void compiler.c2.cr7200264.TestIntVect.test_divc_n(int[],int[])" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={"avx2", "true", "sve", "true"}, counts={"_#V#ADD_VI#_", "_@min(max_int, max_long)", "> 0", "_#V#RSHIFT_VI#_", "_@min(max_int, max_long)", "> 0", "_#V#SUB_VI#_", "_@min(max_int, max_long)", "> 0"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "PrintIdeal":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\d+(\s){2}(AddVI.*)+(\s){2}===.*vector[A-Za-z]\[2\]:\{int\})"
                 - Failed comparison: [found] 0 > 0 [given]
                 - No nodes matched!
               * Constraint 2: "(\d+(\s){2}(RShiftVI.*)+(\s){2}===.*vector[A-Za-z]\[2\]:\{int\})"
                 - Failed comparison: [found] 0 > 0 [given]
                 - No nodes matched!
               * Constraint 3: "(\d+(\s){2}(SubVI.*)+(\s){2}===.*vector[A-Za-z]\[2\]:\{int\})"
                 - Failed comparison: [found] 0 > 0 [given]
                 - No nodes matched!

      >>> Check stdout for compilation output of the failed methods


        #############################################################
         - To only run the failed tests use -DTest, -DExclude,
           and/or -DScenarios.
         - To also get the standard output of the test VM run with
           -DReportStdout=true or for even more fine-grained logging
           use -DVerbose=true.
        #############################################################


      compiler.lib.ir_framework.driver.irmatching.IRViolationException: There were one or multiple IR rule failures. Please check stderr for more information.
          at compiler.lib.ir_framework.driver.irmatching.IRMatcher.reportFailures(IRMatcher.java:61)
          at compiler.lib.ir_framework.driver.irmatching.IRMatcher.match(IRMatcher.java:49)
          at compiler.lib.ir_framework.TestFramework.runTestVM(TestFramework.java:754)
          at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:719)
          at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:339)
          at compiler.lib.ir_framework.TestFramework.run(TestFramework.java:223)
          at compiler.lib.ir_framework.TestFramework.run(TestFramework.java:212)
          at compiler.c2.cr7200264.TestIntVect.main(TestIntVect.java:49)
          at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
          at java.base/java.lang.reflect.Method.invoke(Method.java:580)
          at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
          at java.base/java.lang.Thread.run(Thread.java:1575)

        1. hotspot_pid174041.log
          5.77 MB
        2. pid-173989-output.log
          1 kB
        3. pid-174041-output.log
          3.15 MB
        4. TestIntVect.log
          67 kB
        5. test-vm-compile-commands-pid-173989.log
          5 kB
        6. test-vm-flags-pid-173989.log
          0.2 kB

            Unassigned Unassigned
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: