[PATCH] D104472: [ValueTracking] look through bitcast of vector in computeKnownBits

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 18 09:02:06 PDT 2021


spatel updated this revision to Diff 353020.
spatel added a comment.

Patch updated - no logic changes from earlier rev, but:

1. Make code comment more extensive (I'm speculating that this version is better than what I had before. If so, I can update the SDAG comment too; if not, I can paste in the existing comment from SDAG.)
2. Use KnownBits.insertBits() to reduce code.


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

https://reviews.llvm.org/D104472

Files:
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/test/Transforms/InstCombine/X86/x86-vector-shifts.ll
  llvm/test/Transforms/InstSimplify/shift-knownbits.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104472.353020.patch
Type: text/x-patch
Size: 12694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210618/be0099e8/attachment.bin>


More information about the llvm-commits mailing list