aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-02-21 20:51:36 +0000
committerTobias Grosser <tobias@grosser.es>2014-02-21 20:51:36 +0000
commit34f06135628a4098b5112e1309cf9fa4073cd9cf (patch)
tree27e3319fe702b5aba1fc07378f9118cb0d54984f /clang/lib/Basic/VirtualFileSystem.cpp
parent40066cce0000efafd95c49f5032a4a703d80d57a (diff)
downloadllvm-34f06135628a4098b5112e1309cf9fa4073cd9cf.zip
llvm-34f06135628a4098b5112e1309cf9fa4073cd9cf.tar.gz
llvm-34f06135628a4098b5112e1309cf9fa4073cd9cf.tar.bz2
Optimizer: Do not accidentally set schedule to NULL
In case the domain of a statement is empty, the schedule optimizer set by accident the schedule to a NULL pointer. This is incorrect. Instead, we set it to an empty isl_map with zero schedule dimensions. We already checked for this in our test cases, but unfortunately the test cases did not fail as expected. The assert we add in this commit now ensures that the test cases fail properly in case we regress on this again. llvm-svn: 201886
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions