[all-commits] [llvm/llvm-project] ffbca7: [mlir][nvvm] Change return type of std::string of ...

Guray Ozen via All-commits all-commits at lists.llvm.org
Wed Jul 12 06:00:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffbca7e9f305949c6620d3e77371cc0463ed48b1
      https://github.com/llvm/llvm-project/commit/ffbca7e9f305949c6620d3e77371cc0463ed48b1
  Author: Guray Ozen <guray.ozen at gmail.com>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
    M mlir/lib/Conversion/NVVMToLLVM/NVVMToLLVM.cpp
    M mlir/test/Conversion/NVVMToLLVM/nvvm-to-llvm.mlir

  Log Message:
  -----------
  [mlir][nvvm] Change return type of std::string of getPtx of PtxBuilder

getPtx used to return `const char*`. It is not flexible when one needs to build string in the function. This work changes return type.

Reviewed By: springerm

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




More information about the All-commits mailing list