[PATCH] D88475: [InstCombine] visitTrunc - trunc (lshr (sext A), C) --> (ashr A, C) non-uniform support

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 03:39:17 PDT 2020


lebedev.ri added a comment.

Hm, why do we need that clamping here?
If it's for `undef`s, see `Constant::replaceUndefsWith()`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88475



More information about the llvm-commits mailing list