[PATCH] D154069: [IRCE] Parse range checks in the form of "LHS - RHS vs Limit"

Joseph Huber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 04:56:05 PDT 2023


jhuber6 added a comment.

In D154069#4488376 <https://reviews.llvm.org/D154069#4488376>, @aleksandr.popov wrote:

>> It should (ideally) depend on whether or not you have ROCm and a functional GPU on your system. It basically just calls amdgpu-arch to see if there's any output.
>
> Unfortunately `amdgpu-arch` not found on my machine. I've got `amdgpu-install` tool but what exactly should I install to execute AMDGPU tests?
>
> BTW, without installed `amdgpu` all tests failed the same way as they failed in the https://lab.llvm.org/buildbot/#/builders/193
>
> And one more question: my changes relate to InductiveRangeCheckElimination only. How does OpenMP use IRCE which caused the tests to fail?

`amdgpu-arch` should be built unconditionally by `clang`. So generally to build OpenMP we'd recommend CMake like `-DLLVM_ENABLE_PROJECTS=clang;lld -DLLVM_ENABLE_RUNTIMES=openmp -DLIBOMPTARGET_FORCE_AMDGPU_TESTS=ON`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154069/new/

https://reviews.llvm.org/D154069



More information about the llvm-commits mailing list