HomePhabricator

[GISel][UnitTest] Fix a bunch of tests that were not doing anything

Authored by qcolombet on Oct 11 2019, 1:58 PM.

Description

[GISel][UnitTest] Fix a bunch of tests that were not doing anything

After r368065, all the tests using GISelMITest must call setUp() before
doing anything, otherwise the TargetMachine is not going to be set up.
A few tests added after that commit were not doing that and ended up
testing effectively nothing.

Fix the setup of all the tests and fix the failing tests.

llvm-svn: 374595

Details

Committed
qcolombetOct 11 2019, 1:58 PM
Parents
rG9bea4ec28cdf: Release notes: Add the option WarnForDeadNestedAssignments https://reviews.llvm.
Branches
Unknown
Tags
Unknown