[mlir][test] Fix linking error post test-lower-to-nvvm
authorNicolas Vasilache <nicolasvasilache@users.noreply.github.com>
Mon, 17 Jul 2023 16:08:00 +0000 (18:08 +0200)
committerNicolas Vasilache <nicolasvasilache@users.noreply.github.com>
Mon, 17 Jul 2023 16:43:32 +0000 (18:43 +0200)
commit582e1d58bd43af138033b98b736d97cc89c7b228
tree3be0ab45adfcb54d7887c397f6ecb329a96d0337
parentd661b4b57504b965a37dc30b79bdd5ac36fca9ec
[mlir][test] Fix linking error post test-lower-to-nvvm

This fixes builds for 7e78ecfe10ea9071234de8d385b87d338d280266 (both cmake and bazel) as well as trim unnecessary dependencies.

This is achieved by moving the functionality to test/lib/GPU which is a more natural landing pad.
mlir/test/lib/Dialect/GPU/CMakeLists.txt
mlir/test/lib/Dialect/GPU/TestLowerToNVVM.cpp
mlir/tools/mlir-opt/CMakeLists.txt
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel