OSDN Git Service

[MergeICmp] Fix a bug in entry block shuffled to middle of the chain
authorXin Tong <trent.xin.tong@gmail.com>
Tue, 20 Mar 2018 11:57:54 +0000 (11:57 +0000)
committerXin Tong <trent.xin.tong@gmail.com>
Tue, 20 Mar 2018 11:57:54 +0000 (11:57 +0000)
commitd89cc9594c88c023e450fbd89412316e66f9d20e
tree66cd83f253edaa9df8f8e6bfd48ab580f352db84
parent7724d6bcafa6aca394d71a8aafe0130587548a36
[MergeICmp] Fix a bug in entry block shuffled to middle of the chain

Summary: Fix a bug in entry block shuffled to middle of the chain.

Reviewers: davide, courbet

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D44642

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327971 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/MergeICmps.cpp
test/Transforms/MergeICmps/X86/entry-block-shuffled.ll [new file with mode: 0644]
test/Transforms/MergeICmps/X86/pair-int32-int32.ll