Make isl abort when an error is encountered

llvm-svn: 146027
This commit is contained in:
Tobias Grosser 2011-12-07 07:42:51 +00:00
parent 7f8e563a69
commit 4a8e356f36
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@
#include "isl/aff.h"
#include "isl/printer.h"
#include "isl/local_space.h"
#include "isl/options.h"
#include <sstream>
#include <string>
#include <vector>
@ -1055,6 +1056,7 @@ void Scop::buildScop(TempScop &tempScop,
//===----------------------------------------------------------------------===//
ScopInfo::ScopInfo() : RegionPass(ID), scop(0) {
ctx = isl_ctx_alloc();
isl_options_set_on_error(ctx, ISL_ON_ERROR_ABORT);
}
ScopInfo::~ScopInfo() {