[PATCH] D50659: [CodeGen] Fix remaining zext() assertions in SelectionDAG

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 6 11:19:53 PDT 2018


scott.linder added inline comments.


================
Comment at: llvm/trunk/unittests/CodeGen/AArch64SelectionDAGTest.cpp:164
+
+int main(int argc, char **argv) {
+  ::testing::InitGoogleTest(&argc, argv);
----------------
thakis wrote:
> Are you intentionally adding a main() here? add_llvm_unittests should provide one already, no?
It was intentional, but probably better to move the Initialize* calls into a SetUpTestCase instead. I will update in an NFC commit.


Repository:
  rL LLVM

https://reviews.llvm.org/D50659





More information about the llvm-commits mailing list