aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>2022-02-28 15:56:17 +0000
committerKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>2022-03-03 21:44:26 +0000
commitd7f9220bb63405f2f874e29eaa3a98a45b2ac452 (patch)
treea6812c8df13f5feccb590d0018abcbf2e218801e /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent7e570308f225139d353f8133882b4946e2aa9a43 (diff)
downloadllvm-d7f9220bb63405f2f874e29eaa3a98a45b2ac452.zip
llvm-d7f9220bb63405f2f874e29eaa3a98a45b2ac452.tar.gz
llvm-d7f9220bb63405f2f874e29eaa3a98a45b2ac452.tar.bz2
[MLIR] [AMDGPU] Use correct flags when building SerializeToHsaco
The SerializeToHsaco pass does not depend on ROCm being available on the build system - it only requires ROCm to be present at runtime. However, the CMake file that built it tested for MLIR_ENABLE_ROCM_RUNNER , which implies that ROCm is currently available and is used to control building ROCm integration tests. Referencing MLIR_ENABLE_ROCM_RUNNER instead of MLIR_ENABLE_ROCM_CONVERSIONS in the SerializeToHsaco build therefore causes problems for clients who wish to build projects that depend on this pass on a system without an AMD GPU present. Reviewed By: whchung Differential Revision: https://reviews.llvm.org/D120663
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions