[PATCH] D60413: [AggressiveInstCombine] SExt -> ZExt when no sign bits is used with multiple uses

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 7 05:40:03 PDT 2020


lebedev.ri added a comment.

Why doesn't `InstCombiner::SimplifyDemandedUseBits()` handle this?
I would have expected this <https://github.com/llvm/llvm-project/blob/874fcd4e8ffc42717a41e57ddcedb4ab63e63854/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp#L426-L430> to already deal with it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60413





More information about the llvm-commits mailing list