[all-commits] [llvm/llvm-project] ae337e: [MergeICmps] Adapt to non-eq comparisons, bugfix

Allen via All-commits all-commits at lists.llvm.org
Mon May 8 10:06:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae337ed5951c896164e07618d651d086f978ff2c
      https://github.com/llvm/llvm-project/commit/ae337ed5951c896164e07618d651d086f978ff2c
  Author: Zhongyunde <zhongyunde at huawei.com>
  Date:   2023-05-08 (Mon, 08 May 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, bugfix

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 @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