GlobalISel: Improve gtest usage
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 4 Feb 2019 18:58:27 +0000 (18:58 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 4 Feb 2019 18:58:27 +0000 (18:58 +0000)
commitb3e86709dc76afac082bd3c7ed4c90ef9847f7b5
tree2e8a565aefb52b1c12433970ade068ff5392db9a
parentfd3e7a9320aeb63faad2e040df60962e0c12339f
GlobalISel: Improve gtest usage

Don't unnecessarily use ASSERT_*, and print the MachineFunction
on failure.

llvm-svn: 353072
llvm/unittests/CodeGen/GlobalISel/CMakeLists.txt
llvm/unittests/CodeGen/GlobalISel/CSETest.cpp
llvm/unittests/CodeGen/GlobalISel/GISelMITest.cpp [new file with mode: 0644]
llvm/unittests/CodeGen/GlobalISel/GISelMITest.h
llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
llvm/unittests/CodeGen/GlobalISel/LegalizerInfoTest.cpp
llvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp
llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp
llvm/unittests/CodeGen/LowLevelTypeTest.cpp