Matthias Boehm created SYSTEMML-2473:
----------------------------------------
Summary: Side effect between IPA inlining/dead code and rewrites
Key: SYSTEMML-2473
URL: https://issues.apache.org/jira/browse/SYSTEMML-2473
Project: SystemML
Issue Type: Task
Reporter: Matthias Boehm
For special cases IPA rewrites showed side effects with IPA function inlining
and dead code elimination leading to a temporarily corrupted function call
graph and thus a null pointer exception
{code}
Caused by: java.lang.NullPointerException
at
org.apache.sysml.hops.ipa.FunctionCallGraph.removeFunctionCall(FunctionCallGraph.java:182)
at
org.apache.sysml.hops.ipa.IPAPassEliminateDeadCode.findAndRemoveDeadCode(IPAPassEliminateDeadCode.java:83)
at
org.apache.sysml.hops.ipa.IPAPassEliminateDeadCode.rewriteProgram(IPAPassEliminateDeadCode.java:57)
at
org.apache.sysml.hops.ipa.InterProceduralAnalysis.analyzeProgram(InterProceduralAnalysis.java:207)
at
org.apache.sysml.parser.DMLTranslator.rewriteHopsDAG(DMLTranslator.java:272)
at org.apache.sysml.api.DMLScript.execute(DMLScript.java:447)
at org.apache.sysml.api.DMLScript.executeScript(DMLScript.java:272)
... 10 more
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)