[all-commits] [llvm/llvm-project] fb2c98: Reland [MergeICmps] Adapt to non-eq comparisons, b...

Allen via All-commits all-commits at lists.llvm.org
Wed May 24 07:07:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb2c98a929aa65603e9d984307a41325e577e9d3
      https://github.com/llvm/llvm-project/commit/fb2c98a929aa65603e9d984307a41325e577e9d3
  Author: Zhongyunde <zhongyunde at huawei.com>
  Date:   2023-05-24 (Wed, 24 May 2023)

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

  Log Message:
  -----------
  Reland [MergeICmps] Adapt to non-eq comparisons, bugfix

1.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

2. Fix the mismatch of last link comparison

Thanks for @aeubanks, @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