[PATCH] D123828: [mlir][OpenMP] Add omp.cancel and omp.cancellationpoint.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 12:12:43 PDT 2022


MaskRay added a comment.

`ninja clang` had a `-Wswitch` warning when the host compiler is clang. It was something like:

  clang/lib/CodeGen/CGStmtOpenMP.cpp:6166:11: error: enumeration value 'OMPC_cancellation_construct_type' not handled in switch [-Werror,-Wswitch]

I have fixed it in 4d34c4e0e67d321ac6b52f787648a68ea6d267c0 <https://reviews.llvm.org/rG4d34c4e0e67d321ac6b52f787648a68ea6d267c0> but please pay attention to warnings in the future :)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123828/new/

https://reviews.llvm.org/D123828



More information about the llvm-commits mailing list