Instead of returning a pointer to the domain, we return a new copy of it. This is safer, as we do not give access to internal objects. It is also not expensive, as isl will just increment a reference counter. llvm-svn: 131010
This version is equivalent to commit ba26ebece8f5be84e9bd6315611d412af797147e in the old git repository. llvm-svn: 130476