[PATCH] D149542: [MergeICmps] Don't reorder the comparison chain

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 3 23:44:18 PDT 2023


Allen added a comment.

In D149542#4310900 <https://reviews.llvm.org/D149542#4310900>, @efriedma wrote:

> Any thoughts on introducing appropriate "freeze" instructions, instead of suppressing the transform?

Thanks very much for your advice, I tried to add freeze for the return value of memcmp, but it is still inconsistent (https://alive2.llvm.org/ce/z/gVHbUS) . Did I add it the wrong way?


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

https://reviews.llvm.org/D149542



More information about the llvm-commits mailing list