diff options
author | Razvan Lupusoru <razvan.lupusoru@gmail.com> | 2025-10-16 14:49:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-16 14:49:07 -0700 |
commit | fdbd75de0194dbd98d7078047d99a20084b24d3d (patch) | |
tree | 2e64d17207f1c96c63fd4574def4b8aff4b1173b /clang/unittests/Format/FormatTestJava.cpp | |
parent | 74669155000dccd32a84b84c148f277b0e03bb42 (diff) | |
download | llvm-fdbd75de0194dbd98d7078047d99a20084b24d3d.zip llvm-fdbd75de0194dbd98d7078047d99a20084b24d3d.tar.gz llvm-fdbd75de0194dbd98d7078047d99a20084b24d3d.tar.bz2 |
[mlir][acc] Ensure genAllocate uses provided variable name (#163861)
The genAllocate API was documented to have the `varName` argument as
optional. However, when it is provided, it becomes unexpected if the
implementation does not use it. Since not all dialects have a way to
store variable names, add one in the acc dialect and use it to store
names of memref variables.
This updates the API documentation, implementation of genAllocate for
memref, and IR testing.
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions