[NFC][SimplifyCFG] Add a test with same-destination condidional branch
authorRoman Lebedev <lebedev.ri@gmail.com>
Tue, 5 Jan 2021 11:57:07 +0000 (14:57 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Tue, 5 Jan 2021 22:52:36 +0000 (01:52 +0300)
commit3460719f583583e6990ec5c1b2a718cc01797bf7
treece053e544b83e6580dd5749e1c9eb83387764068
parentf98535686e3c1fa76986337639df1636282692c9
[NFC][SimplifyCFG] Add a test with same-destination condidional branch

Reported by Mikael Holmén as post-commit feedback on
https://reviews.llvm.org/rG2d07414ee5f74a09fb89723b4a9bb0818bdc2e18#968162
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/SimplifyCFG/simplifyUnreachable-degenerate-conditional-branch-with-matching-destinations.ll [new file with mode: 0644]