[PATCH] D142849: [ValueTracking] Add helper for handling `computeKnownBits` for and/xor/or; NFC

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 29 14:09:11 PST 2023


goldstein.w.n created this revision.
Herald added subscribers: foad, hiraditya.
Herald added a project: All.
goldstein.w.n requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This change just factors out the existing logic for and/xor/or and
puts them in a publicly available helper.  functionality is the same.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142849

Files:
  llvm/include/llvm/Analysis/ValueTracking.h
  llvm/lib/Analysis/ValueTracking.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142849.493145.patch
Type: text/x-patch
Size: 8409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230129/7f65d18d/attachment.bin>


More information about the llvm-commits mailing list