SuccessChanges

Summary

  1. [FileCheck] Move FileCheck implementation out of LLVMSupport into its own library (details)
  2. Revert "[FileCheck] Move FileCheck implementation out of LLVMSupport into its own library" (details)
Commit e9a3d1a401b07cbf7b11695637f1b549782a26cd by Raphael Isemann
[FileCheck] Move FileCheck implementation out of LLVMSupport into its own library

The actual FileCheck logic seems to be implemented in LLVMSupport. I don't see a
good reason for having FileCheck implemented there as it has a very specific use
while LLVMSupport is a dependency of pretty much every LLVM tool there is. In
fact, the only use of FileCheck I could find (outside the FileCheck tool and the
FileCheck unit test) is a single call in GISelMITest.h.

This moves the FileCheck logic to its own LLVMFileCheck library. This way only
FileCheck and the GlobalISelTests now have a dependency on this code.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D86344
The file was addedllvm/include/llvm/FileCheck/FileCheck.h
The file was addedllvm/unittests/FileCheck/FileCheckTest.cpp
The file was addedllvm/lib/FileCheck/FileCheckImpl.h
The file was modifiedllvm/unittests/Support/CMakeLists.txt (diff)
The file was addedllvm/utils/gn/secondary/llvm/lib/FileCheck/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/CodeGen/GlobalISel/BUILD.gn (diff)
The file was modifiedllvm/unittests/CodeGen/GlobalISel/GISelMITest.h (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/BUILD.gn (diff)
The file was addedllvm/utils/gn/secondary/llvm/unittests/FileCheck/BUILD.gn
The file was removedllvm/lib/Support/FileCheck.cpp
The file was addedllvm/lib/FileCheck/FileCheck.cpp
The file was addedllvm/unittests/FileCheck/CMakeLists.txt
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn (diff)
The file was removedllvm/unittests/Support/FileCheckTest.cpp
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn (diff)
The file was removedllvm/include/llvm/Support/FileCheck.h
The file was modifiedllvm/include/llvm/module.modulemap (diff)
The file was modifiedllvm/lib/Support/CMakeLists.txt (diff)
The file was modifiedllvm/unittests/CMakeLists.txt (diff)
The file was modifiedllvm/unittests/CodeGen/GlobalISel/CMakeLists.txt (diff)
The file was modifiedllvm/utils/FileCheck/FileCheck.cpp (diff)
The file was modifiedllvm/lib/CMakeLists.txt (diff)
The file was removedllvm/lib/Support/FileCheckImpl.h
The file was addedllvm/lib/FileCheck/CMakeLists.txt
The file was modifiedllvm/utils/FileCheck/CMakeLists.txt (diff)
Commit ed89eb3571e16307c16d2e5371855437835a40cc by Raphael Isemann
Revert "[FileCheck] Move FileCheck implementation out of LLVMSupport into its own library"

This reverts commit e9a3d1a401b07cbf7b11695637f1b549782a26cd. Seems the new
FileCheck library doesn't link on some bots. Reverting for now.
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/BUILD.gn (diff)
The file was removedllvm/lib/FileCheck/CMakeLists.txt
The file was removedllvm/unittests/FileCheck/FileCheckTest.cpp
The file was addedllvm/unittests/Support/FileCheckTest.cpp
The file was addedllvm/lib/Support/FileCheckImpl.h
The file was modifiedllvm/unittests/CodeGen/GlobalISel/CMakeLists.txt (diff)
The file was addedllvm/include/llvm/Support/FileCheck.h
The file was removedllvm/lib/FileCheck/FileCheckImpl.h
The file was removedllvm/utils/gn/secondary/llvm/lib/FileCheck/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn (diff)
The file was removedllvm/include/llvm/FileCheck/FileCheck.h
The file was modifiedllvm/unittests/CMakeLists.txt (diff)
The file was modifiedllvm/unittests/CodeGen/GlobalISel/GISelMITest.h (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/CodeGen/GlobalISel/BUILD.gn (diff)
The file was removedllvm/lib/FileCheck/FileCheck.cpp
The file was removedllvm/unittests/FileCheck/CMakeLists.txt
The file was modifiedllvm/utils/FileCheck/CMakeLists.txt (diff)
The file was modifiedllvm/lib/CMakeLists.txt (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn (diff)
The file was modifiedllvm/include/llvm/module.modulemap (diff)
The file was removedllvm/utils/gn/secondary/llvm/unittests/FileCheck/BUILD.gn
The file was modifiedllvm/lib/Support/CMakeLists.txt (diff)
The file was modifiedllvm/utils/FileCheck/FileCheck.cpp (diff)
The file was addedllvm/lib/Support/FileCheck.cpp
The file was modifiedllvm/unittests/Support/CMakeLists.txt (diff)