Revert D121984 "[RISCV][NFC] Moving RVV intrinsic type related util to llvm/Support"
authorFangrui Song <i@maskray.me>
Mon, 28 Mar 2022 08:17:37 +0000 (01:17 -0700)
committerFangrui Song <i@maskray.me>
Mon, 28 Mar 2022 08:17:37 +0000 (01:17 -0700)
commitc0eb9b4cdef6049ebabb4018d3c9dcb0dc699868
tree395d48a2beef25dbe69707fa02d8d9d572157ee0
parent268f24d2ea6ae92853c68c4614722d9e769a9408
Revert D121984 "[RISCV][NFC] Moving RVV intrinsic type related util to llvm/Support"

This reverts commit ad57e10dbca2fdeff1448afc0aa1cf23d6df8736 and 1967fd8d5e7e40a987d8f65d163c7eb8f4b9e76f

llvm/lib/Support/RISCVVIntrinsicUtils.cpp introduced llvm/TableGen includes,
a circular dependency https://llvm.org/docs/CodingStandards.html#library-layering
I think this particular instance is serious and should be reverted.
clang/utils/TableGen/RISCVVEmitter.cpp
llvm/include/llvm/Support/RISCVVIntrinsicUtils.h [deleted file]
llvm/lib/Support/CMakeLists.txt
llvm/lib/Support/RISCVVIntrinsicUtils.cpp [deleted file]