[PATCH] D60413: SExt -> Zext when no sign bits is used

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 8 10:29:11 PDT 2019


craig.topper added a comment.

InstCombine knows how to do this, but only when there is a single use of the sext. Multiple uses is much more difficult to do. This would probably fit best in AggressiveInstCombine.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D60413





More information about the llvm-commits mailing list