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

Fix some errors of If-VectorTest and CMove-VectorTest

XMLWordPrintable

    • b15
    • generic
    • generic

      After https://bugs.openjdk.org/browse/JDK-8292289 , the base class of VectorTestNode changed from Node to CmpNode. So I add two match rule into ad file.

      match(If cop (VectorTest op1 op2));
      match(Set dst (CMoveI (Binary cop (VectorTest op1 op2)) (Binary src1 src2)));

      First error, rule1 shouldn't generate the statement "node->_bottom_type = _leaf->bottom_type();".
      Second error, both rule1 and rule2 need to use VectorTestNode, the VectorTestNode should be cloned like CmpNode.

            wanghaomin Haomin Wang
            wanghaomin Haomin Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: