llvm-project
fdbd75de - [mlir][acc] Ensure genAllocate uses provided variable name (#163861)

Commit
132 days ago
[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.
Parents
Loading