[all-commits] [llvm/llvm-project] 818e55: [MergeICmps] Adapt to non-eq comparisons, fix bug ...

Allen via All-commits all-commits at lists.llvm.org
Thu Mar 9 07:54:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 818e554e251c1e07f133aeed9fe0473502ebfdae
      https://github.com/llvm/llvm-project/commit/818e554e251c1e07f133aeed9fe0473502ebfdae
  Author: zhongyunde <zhongyunde at huawei.com>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/MergeICmps.cpp
    A llvm/test/Transforms/MergeICmps/X86/pr59740.ll

  Log Message:
  -----------
  [MergeICmps] Adapt to non-eq comparisons, fix bug for cases need be spilted

Fix the last runtime issue as some sequent comparisons need be spilted.
For the origin equal comparisons chain, the new spilted Icmp chain will
still be end with equal, while for the new not-equal comparisons chain,
the new spilted Icmp chain will still be end with equal, so should address
this carefully, see detail wih case partial_sequent_ne.

Thanks for @glandium and @ayzhao report the runtime issue and carefully
examine.
Fix https://github.com/llvm/llvm-project/issues/59740.

Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D141188




More information about the All-commits mailing list