[polly] 89e257b - [Polly] Fix -DPOLLY_ENABLE_GPGPU_CODEGEN=off build after 222d380d2f57cc71bb613b5c01ecf17cd1f61fa2

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 11:12:22 PST 2021


Thank you. The GPU_CODEGEN nesting is quite off.

Michael

Am Mi., 10. Feb. 2021 um 11:17 Uhr schrieb Fangrui Song via llvm-commits <
llvm-commits at lists.llvm.org>:

>
> Author: Fangrui Song
> Date: 2021-02-10T09:17:13-08:00
> New Revision: 89e257bd629d07211078cc32bbe39d33d5752fdb
>
> URL:
> https://github.com/llvm/llvm-project/commit/89e257bd629d07211078cc32bbe39d33d5752fdb
> DIFF:
> https://github.com/llvm/llvm-project/commit/89e257bd629d07211078cc32bbe39d33d5752fdb.diff
>
> LOG: [Polly] Fix -DPOLLY_ENABLE_GPGPU_CODEGEN=off build after
> 222d380d2f57cc71bb613b5c01ecf17cd1f61fa2
>
> Added:
>
>
> Modified:
>     polly/lib/Support/RegisterPasses.cpp
>
> Removed:
>
>
>
>
> ################################################################################
> diff  --git a/polly/lib/Support/RegisterPasses.cpp
> b/polly/lib/Support/RegisterPasses.cpp
> index 6543596d82b1..528b22914ba2 100644
> --- a/polly/lib/Support/RegisterPasses.cpp
> +++ b/polly/lib/Support/RegisterPasses.cpp
> @@ -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
>
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210211/2c5c7701/attachment.html>


More information about the llvm-commits mailing list