[Examples] Fix SimplifyCFG example
authorNikita Popov <npopov@redhat.com>
Mon, 1 Aug 2022 05:22:35 +0000 (07:22 +0200)
committerNikita Popov <npopov@redhat.com>
Mon, 1 Aug 2022 05:22:35 +0000 (07:22 +0200)
commit62ec8e94b832725cfd257f79cff3685a3cd3bf8c
tree7a97ed45a6b96669ea79a20500e44fab1aa51b3c
parentf96ea53e892e0dfc1ee778868c1ed33616b95a82
[Examples] Fix SimplifyCFG example

After fffabd53482f34f96ab9273486538f587e3d91fc, the v2 and v3
versions produce poison instead of undef. Also adjust the v1
version, as well as the test expectations, to make the example
pass again.
llvm/examples/IRTransforms/SimplifyCFG.cpp
llvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg2-dead-block-order.ll