[MergeICmps] Adapt to non-eq comparisons, retry
authorzhongyunde <zhongyunde@huawei.com>
Sun, 26 Feb 2023 17:21:24 +0000 (01:21 +0800)
committerzhongyunde <zhongyunde@huawei.com>
Sun, 26 Feb 2023 17:26:13 +0000 (01:26 +0800)
commit74ad19c25d7217d8f580a21d12fd4c784a1a0094
tree81d81c049506f5799a576e2b7d04d5899917e763
parent561d9cd6f457827bb81fcd036343ad14ec70f89c
[MergeICmps] Adapt to non-eq comparisons, retry

Fix https://github.com/llvm/llvm-project/issues/59740.
NOTE: retry as we can't reproduce the break locally when first commit.

Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D141188
llvm/lib/Transforms/Scalar/MergeICmps.cpp
llvm/test/Transforms/MergeICmps/X86/pr59740.ll [new file with mode: 0644]