[PATCH] D134459: [OpenMP][NFC] Fix wavesize build warning in OMPGridValues
Dan Palermo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 22 14:54:31 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG44c734af9a9a: [OpenMP][NFC] Fix wavesize build warning in OMPGridValues (authored by dpalermo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134459/new/
https://reviews.llvm.org/D134459
Files:
llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
Index: llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
===================================================================
--- llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
+++ llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
@@ -100,7 +100,7 @@
};
template <unsigned wavesize> constexpr const GV &getAMDGPUGridValues() {
- static_assert(wavesize == 32 || wavesize == 64);
+ static_assert(wavesize == 32 || wavesize == 64, "Unexpected wavesize");
return wavesize == 32 ? AMDGPUGridValues32 : AMDGPUGridValues64;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134459.462303.patch
Type: text/x-patch
Size: 533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220922/75820721/attachment.bin>
More information about the llvm-commits
mailing list