[DSE] Use helper for unwind check (NFCI)
authorNikita Popov <npopov@redhat.com>
Wed, 26 Jan 2022 12:08:39 +0000 (13:08 +0100)
committerNikita Popov <npopov@redhat.com>
Wed, 26 Jan 2022 13:08:08 +0000 (14:08 +0100)
commit03d0acc545653fc65d5707424446563aa9d735a4
tree42a2ea5ad3ca971fdfd91cc0d9b828cb85043655
parente30525b6a5c46a44ae7bef2f9ac60614396ee9b3
[DSE] Use helper for unwind check (NFCI)

This should be no functional change, as the cases supported by the
helper and the cases supported by DSE are currently the same, the
code structure is just slightly different.
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp