[PATCH] D78279: [SimpleLoopUnswitch] Add non-empty unreachable block check to exit cases removed.

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 01:33:55 PDT 2020


asbirlea created this revision.
asbirlea added a reviewer: chandlerc.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
asbirlea added a parent revision: D78277: [SimpleLoopUnswitch] Update DefaultExit condition to check unreachable is not empty..

Update check to include the check for unreachable.
Resolves PR45355.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78279

Files:
  llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78279.257979.patch
Type: text/x-patch
Size: 4099 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200416/7afb0f2c/attachment.bin>


More information about the llvm-commits mailing list