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

C2 SuperWord: TestMemorySegment.java has failing IR rules with AlignVector after JDK-8343685

XMLWordPrintable

    • b07

      I forgot to test with AlignVector, now we get these failures:



      Failed IR Rules (2) of Methods (2)
      ----------------------------------
      1) Method "static java.lang.Object[] compiler.loopopts.superword.TestMemorySegmentImpl.testIntLoop_longIndex_intInvar_int(java.lang.foreign.MemorySegment,int)" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={"sse4.1", "true", "asimd", "true"}, counts={"_#V#LOAD_VECTOR_I#_", "> 0", "_#V#ADD_VI#_", "> 0", "_#STORE_VECTOR#_", "> 0"}, applyIfPlatformOr={}, applyIfPlatform={"64-bit", "true"}, failOn={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "PrintIdeal":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}(LoadVector.*)+(\\s){2}===.*vector[A-Za-z]<I,4>)"
                 - Failed comparison: [found] 0 > 0 [given]
                 - No nodes matched!
               * Constraint 2: "(\\d+(\\s){2}(AddVI.*)+(\\s){2}===.*vector[A-Za-z]<I,4>)"
                 - Failed comparison: [found] 0 > 0 [given]
                 - No nodes matched!
               * Constraint 3: "(\\d+(\\s){2}(StoreVector.*)+(\\s){2}===.*)"
                 - Failed comparison: [found] 0 > 0 [given]
                 - No nodes matched!

      2) Method "static java.lang.Object[] compiler.loopopts.superword.TestMemorySegmentImpl.testIntLoop_longIndex_longInvar_int(java.lang.foreign.MemorySegment,long)" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={"sse4.1", "true", "asimd", "true"}, counts={"_#V#LOAD_VECTOR_I#_", "> 0", "_#V#ADD_VI#_", "> 0", "_#STORE_VECTOR#_", "> 0"}, applyIfPlatformOr={}, applyIfPlatform={"64-bit", "true"}, failOn={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
           > Phase "PrintIdeal":
             - counts: Graph contains wrong number of nodes:
               * Constraint 1: "(\\d+(\\s){2}(LoadVector.*)+(\\s){2}===.*vector[A-Za-z]<I,4>)"
                 - Failed comparison: [found] 0 > 0 [given]
                 - No nodes matched!
               * Constraint 2: "(\\d+(\\s){2}(AddVI.*)+(\\s){2}===.*vector[A-Za-z]<I,4>)"
                 - Failed comparison: [found] 0 > 0 [given]
                 - No nodes matched!
               * Constraint 3: "(\\d+(\\s){2}(StoreVector.*)+(\\s){2}===.*)"
                 - Failed comparison: [found] 0 > 0 [given]
                 - No nodes matched!

            epeter Emanuel Peter
            epeter Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: