[PATCH] D149956: [DAG] Calculate the number of sign bits for constant BUILD_VECTOR directly.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 06:52:40 PDT 2023


RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.

Makes sense - we could go further and use ComputeKnownBits on the element whenever there is implicit truncation and chose between it and the ComputeNumSignBits call - but this is probably good enough in most cases.


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

https://reviews.llvm.org/D149956



More information about the llvm-commits mailing list