[Polly] Fix -DPOLLY_ENABLE_GPGPU_CODEGEN=off build after 222d380d2f

This commit is contained in:
Fangrui Song 2021-02-10 09:17:13 -08:00
parent b93786907c
commit 89e257bd62
1 changed files with 2 additions and 1 deletions

View File

@ -535,8 +535,9 @@ static void buildDefaultPollyPipeline(FunctionPassManager &PM,
case CODEGEN_NONE:
break;
}
}
#ifdef GPU_CODEGEN
} else
else
report_fatal_error("Option -polly-target=gpu not supported for NPM", false);
#endif