[PATCH] D141188: [MergeICmps] Adapt to non-eq comparisons

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 29 21:16:20 PDT 2023


Allen added a comment.

In D141188#4302928 <https://reviews.llvm.org/D141188#4302928>, @aeubanks wrote:

> another miscompile: https://alive2.llvm.org/ce/z/Zr5dfP

Thanks for your report, and it seems the origin eq-chain also has the same issue, see detail https://alive2.llvm.org/ce/z/TDirEG
This is because **the logic of memcmp** , whose address of the comparison value is from small to large, so this problem needs to be solved independently first.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141188/new/

https://reviews.llvm.org/D141188



More information about the llvm-commits mailing list