[Test] Clear out br i1 undef from tests to avoid UB
authorMax Kazantsev <mkazantsev@azul.com>
Wed, 23 Jun 2021 04:33:03 +0000 (11:33 +0700)
committerMax Kazantsev <mkazantsev@azul.com>
Wed, 23 Jun 2021 04:33:57 +0000 (11:33 +0700)
commit976926e8ee3e3c9f7c391281eab89e0d1b02092a
tree21e8278c521a2b5f34180de4093bc898da333fc0
parentb7d2c173ebbbd48342d498ebc8a1127dbc6d87b1
[Test] Clear out br i1 undef from tests to avoid UB

We don't want to test possible unexpected impact of such
branches. Replacing them with regular conditions. Idea by
Nikita Popov.
llvm/test/Transforms/LoopDeletion/eval_first_iteration.ll