diff options
author | Vinayaka Bandishti <vinayaka@polymagelabs.com> | 2023-06-05 10:32:51 +0530 |
---|---|---|
committer | Uday Bondhugula <uday@polymagelabs.com> | 2023-06-05 10:32:51 +0530 |
commit | 01c755ff80cbb795f507cf4317b4a4be1a31484d (patch) | |
tree | 61b745b8459ee99ee5f134fc375cacb6527f1d24 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | 29663e2b8c4edcd850a4245b1f9509f974220906 (diff) | |
download | llvm-01c755ff80cbb795f507cf4317b4a4be1a31484d.zip llvm-01c755ff80cbb795f507cf4317b4a4be1a31484d.tar.gz llvm-01c755ff80cbb795f507cf4317b4a4be1a31484d.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions