[mlir] Remove unnecessary assert for single region.

This was left over debugging.
This commit is contained in:
River Riddle 2020-01-13 13:44:30 -08:00
parent f0719bf219
commit cb89c7e3f7
1 changed files with 0 additions and 2 deletions

View File

@ -320,8 +320,6 @@ static LogicalResult deleteDeadness(MutableArrayRef<Region> regions,
// This function returns success if any operations or arguments were deleted, // This function returns success if any operations or arguments were deleted,
// failure otherwise. // failure otherwise.
static LogicalResult runRegionDCE(MutableArrayRef<Region> regions) { static LogicalResult runRegionDCE(MutableArrayRef<Region> regions) {
assert(regions.size() == 1);
LiveMap liveMap; LiveMap liveMap;
do { do {
liveMap.resetChanged(); liveMap.resetChanged();