[PATCH] D140796: [ValueTracking] Improve ComputeNumSignBits to handle Trunc

Owen Anderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 1 20:21:18 PST 2023


resistor updated this revision to Diff 485839.
resistor added a comment.

Update for test comments and add tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140796

Files:
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/test/Transforms/InstCombine/high-bit-signmask-with-trunc.ll
  llvm/test/Transforms/InstCombine/negated-bitmask.ll
  llvm/test/Transforms/InstCombine/vector-trunc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140796.485839.patch
Type: text/x-patch
Size: 4592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230102/e85892a5/attachment.bin>


More information about the llvm-commits mailing list