[all-commits] [llvm/llvm-project] 01c755: Make optimize llvm common to both gpu-to-hsaco/cubin
Vinayaka Bandishti via All-commits
all-commits at lists.llvm.org
Sun Jun 4 22:16:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 01c755ff80cbb795f507cf4317b4a4be1a31484d
https://github.com/llvm/llvm-project/commit/01c755ff80cbb795f507cf4317b4a4be1a31484d
Author: Vinayaka Bandishti <vinayaka at polymagelabs.com>
Date: 2023-06-05 (Mon, 05 Jun 2023)
Changed paths:
M mlir/include/mlir/Dialect/GPU/Transforms/Passes.h
M mlir/lib/Dialect/GPU/CMakeLists.txt
M mlir/lib/Dialect/GPU/Transforms/SerializeToBlob.cpp
M mlir/lib/Dialect/GPU/Transforms/SerializeToCubin.cpp
M mlir/lib/Dialect/GPU/Transforms/SerializeToHsaco.cpp
Log Message:
-----------
Make optimize llvm common to both gpu-to-hsaco/cubin
Before serializing, optimizations on llvm were only called on path to
hsaco, and not cubin. Define opt-level for `gpu-to-cubin` pass as well,
and move call to optimize llvm to a common place.
Reviewed By: bondhugula
Differential Revision: https://reviews.llvm.org/D151554
More information about the All-commits
mailing list