[all-commits] [llvm/llvm-project] 7085cb: [mlir][NvGpuToNVVM] Fix byte size calculation in a...

Chris via All-commits all-commits at lists.llvm.org
Mon May 23 09:56:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7085cb6011d4593f39c6c3369d1e29ff08edc514
      https://github.com/llvm/llvm-project/commit/7085cb6011d4593f39c6c3369d1e29ff08edc514
  Author: Christopher Bate <cbate at nvidia.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    M mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
    M mlir/test/Conversion/NVGPUToNVVM/nvgpu-to-nvvm.mlir

  Log Message:
  -----------
  [mlir][NvGpuToNVVM] Fix byte size calculation in async copy lowering

AsyncCopyOp lowering converted "size in elements" to "size in bytes"
assuming the element type size is at least one byte. This removes
that restriction, allowing for types such as i4 and b1 to be handled
correctly.

Differential Revision: https://reviews.llvm.org/D125838




More information about the All-commits mailing list