Revert "[IR] Clean up dead instructions after simplifying a conditional branch"
authorJay Foad <jay.foad@amd.com>
Thu, 11 Jun 2020 13:22:16 +0000 (14:22 +0100)
committerJay Foad <jay.foad@amd.com>
Thu, 11 Jun 2020 13:22:16 +0000 (14:22 +0100)
commitf45c65aa415a1b55f9397a8c3e139675843c3002
treef5a503fcf5ccb3f7ccc88b4ac8bb994cec1cead8
parentbb8c7e756c51bb3dc05b30671fa4c64f48e41c39
Revert "[IR] Clean up dead instructions after simplifying a conditional branch"

This reverts commit 4494e45316a0bfaabb6bb1450fb0f49a0e6832af.

It caused problems for sanitizer buildbots.
llvm/include/llvm/IR/BasicBlock.h
llvm/lib/IR/BasicBlock.cpp
llvm/lib/Transforms/Utils/Local.cpp
llvm/test/Transforms/PGOProfile/chr.ll