[Bazel] Swap stray td_srcs to deps
authorGeoffrey Martin-Noble <gcmn@google.com>
Fri, 23 Jul 2021 21:50:58 +0000 (14:50 -0700)
committerGeoffrey Martin-Noble <gcmn@google.com>
Fri, 23 Jul 2021 22:07:17 +0000 (15:07 -0700)
commit3f2c1e99e44d028d5e9dd685f3c568f2661f2f68
treea3987867be2c364a51435fbf7945c936763df447
parent1f341aedc923ad5bc7654eabc07429a388c0fc0c
[Bazel] Swap stray td_srcs to deps

This is the last instance of td_srcs in MLIR core build files. `deps` is
generally preferred. There are still some cases where `td_srcs` is
useful where creating a td_library would just be another layer of
indirection, so not (yet) dropping it entirely.

Differential Revision: https://reviews.llvm.org/D106716
utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel