[PATCH] D108049: [InstCombine] Extend canonicalizeClampLike to handle truncated inputs

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 16 02:30:16 PDT 2021


lebedev.ri added a comment.

Aha, so the initial transformation is already a miscompile:
https://alive2.llvm.org/ce/z/AsQQBJ

Could you please fix it first?
You need to be freezing the `%x`: https://alive2.llvm.org/ce/z/ekNz8E


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

https://reviews.llvm.org/D108049



More information about the llvm-commits mailing list