[PATCH] D32784: [KnownBits] Add zext, sext, and trunc methods to KnownBits

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 2 22:50:12 PDT 2017


craig.topper created this revision.

This patch adds zext, sext, and trunc methods to KnownBits and uses them where possible.


https://reviews.llvm.org/D32784

Files:
  include/llvm/Support/KnownBits.h
  lib/Analysis/ValueTracking.cpp
  lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32784.97548.patch
Type: text/x-patch
Size: 13352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170503/71c3ae50/attachment.bin>


More information about the llvm-commits mailing list