forked from OSchip/llvm-project
[Polly] Fix -DPOLLY_ENABLE_GPGPU_CODEGEN=off build after 222d380d2f
This commit is contained in:
parent
b93786907c
commit
89e257bd62
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue