[PATCH] D92375: [MergeICmps] Fix missing split.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 1 02:32:20 PST 2020


courbet created this revision.
courbet added a reviewer: MaskRay.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
courbet requested review of this revision.

We were not correctly splitting a blocks for chains of length 1.

This supersedes D92364 <https://reviews.llvm.org/D92364>.

Test case by MaskRay (Fangrui Song).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92375

Files:
  llvm/lib/Transforms/Scalar/MergeICmps.cpp
  llvm/test/Transforms/MergeICmps/X86/gep-references-bb.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92375.308594.patch
Type: text/x-patch
Size: 5296 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201201/327fabbd/attachment.bin>


More information about the llvm-commits mailing list