[Test] Add an example of unprofitable PR Phi insertion
authorMax Kazantsev <mkazantsev@azul.com>
Mon, 15 Jun 2020 08:56:06 +0000 (15:56 +0700)
committerMax Kazantsev <mkazantsev@azul.com>
Mon, 15 Jun 2020 08:56:06 +0000 (15:56 +0700)
commit9e4f674888d6664d27aae31767f397595b1e2566
treefbf5e35b70ee66a7231b1c898d8a236ba727aeb7
parent3bab88b7baa20b276faaee0aa7ca87f636c91877
[Test] Add an example of unprofitable PR Phi insertion

This test demonstrates weird behavior of SimplifyCFG: seems that bigger
size of block leads to worse optimization choice.
llvm/test/Transforms/SimplifyCFG/unprofitable-pr.ll [new file with mode: 0644]