[PATCH] D111998: [ADT] Add APInt::isNegatedPowerOf2() helper

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 18 09:28:59 PDT 2021


RKSimon updated this revision to Diff 380444.
RKSimon added a comment.

Improved the unit tests


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111998

Files:
  llvm/include/llvm/ADT/APInt.h
  llvm/include/llvm/IR/PatternMatch.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  llvm/unittests/ADT/APIntTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111998.380444.patch
Type: text/x-patch
Size: 4645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211018/cc842f00/attachment.bin>


More information about the llvm-commits mailing list