[PATCH] D57652: GlobalISel: Improve gtest usage

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 3 07:05:56 PST 2019


arsenm created this revision.
arsenm added reviewers: aemerson, volkan, paquette, aditya_nandakumar, dsanders.
Herald added subscribers: Petar.Avramovic, kristof.beyls, rovka, mgorny, wdng.

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


https://reviews.llvm.org/D57652

Files:
  unittests/CodeGen/GlobalISel/CMakeLists.txt
  unittests/CodeGen/GlobalISel/GISelMITest.cpp
  unittests/CodeGen/GlobalISel/GISelMITest.h
  unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
  unittests/CodeGen/GlobalISel/LegalizerInfoTest.cpp
  unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp
  unittests/CodeGen/LowLevelTypeTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57652.184952.patch
Type: text/x-patch
Size: 17397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190203/56bd217d/attachment.bin>


More information about the llvm-commits mailing list