]> granicus.if.org Git - llvm/commit
[KnownBits] Add zext, sext, and trunc methods to KnownBits
authorCraig Topper <craig.topper@gmail.com>
Wed, 3 May 2017 22:07:25 +0000 (22:07 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 3 May 2017 22:07:25 +0000 (22:07 +0000)
commitf78221855b216b130d80a5ae87256c4a81faa740
tree88f86680981dfd82a1b5123c1d5528fa9dc23b7d
parentacf74d249313e71dc831170312cdf07a6a96bbf5
[KnownBits] Add zext, sext, and trunc methods to KnownBits

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

Differential Revision: https://reviews.llvm.org/D32784

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302088 91177308-0d34-0410-b5e6-96231b3b80d8
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