diff options
| author | Alex Zinenko <zinenko@google.com> | 2022-09-29 09:50:24 +0000 |
|---|---|---|
| committer | Alex Zinenko <zinenko@google.com> | 2022-09-29 12:36:10 +0000 |
| commit | 8a8bacb973837147f97b939d1373cd02057424fc (patch) | |
| tree | 6ea81073a0a257b8ae185abdd7346575c397e09e /clang/lib/Frontend/InitPreprocessor.cpp | |
| parent | b934be2c059a99351d08069bb80155e49f047b6e (diff) | |
| download | llvm-8a8bacb973837147f97b939d1373cd02057424fc.zip llvm-8a8bacb973837147f97b939d1373cd02057424fc.tar.gz llvm-8a8bacb973837147f97b939d1373cd02057424fc.tar.bz2 | |
[mlir][GPU] treat the absence of workgroup attributes correctly
The helper function in GPUFuncOp incorrectly assumed the workgroup
attribution attribute is always present. Instead, treat its absence as
if its value was zero, i.e., no workgroup attributions are specified.
Closes #58045.
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D134865
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions
