JSONImporter: Free new schedule if found invalid
authorTobias Grosser <tobias@grosser.es>
Mon, 29 Jul 2013 05:12:01 +0000 (05:12 +0000)
committerTobias Grosser <tobias@grosser.es>
Mon, 29 Jul 2013 05:12:01 +0000 (05:12 +0000)
commit85f7421731e059392477a26b1781f51fc392e0f6
treee4db0b4540be58564f301eebf7807d6ff5d1cb9b
parent880c52f56a0c461149ac61b5c2e64dcc2b04f4e2
JSONImporter: Free new schedule if found invalid

In case we detect that the schedule the user wants to import is invalid we
refuse it _and_ free the isl_maps containing it.

Another bug found thanks to Rafael.

llvm-svn: 187339
polly/lib/Exchange/JSONExporter.cpp
polly/test/Cloog/CodeGen/do_pluto_matmult.ll