Uploaded image for project: 'SystemDS'
  1. SystemDS
  2. SYSTEMDS-1982

IPA marks functions incorrectly for recompile_once

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • SystemML 1.0.0
    • None
    • None

    Description

      The IPA pass for function recompile, marks any function with loops for recompile once, even in cases where not a single statement block is marked for recompilation. Here is an example:

      ---FUNCTION .defaultNS::foo [recompile=true]
      ------GENERIC (lines 24-24) [recompile=false]
      --------CP assignvar input.SCALAR.INT.false out.SCALAR.INT
      ------FOR (lines 0-0)
      --------CP assignvar 1.SCALAR.INT.true __pred.SCALAR.INT
      --------CP assignvar 2.SCALAR.INT.true __pred.SCALAR.INT
      --------CP assignvar 1.SCALAR.INT.true __pred.SCALAR.INT
      --------GENERIC (lines 26-27) [recompile=false]
      ----------CP uak+ X.MATRIX.DOUBLE _Var57.SCALAR.DOUBLE 8
      ----------CP castvti _Var57.SCALAR.DOUBLE.false _Var58.SCALAR.INT
      ----------CP rmvar _Var57
      ----------CP + input.SCALAR.INT.false _Var58.SCALAR.INT.false _Var59.SCALAR.INT
      ----------CP rmvar _Var58
      ----------CP mvvar _Var59 out
      

      Attachments

        Activity

          People

            mboehm7 Matthias Boehm
            mboehm7 Matthias Boehm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: