summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-09-12 15:24:31 +0000
committerSanjay Patel <spatel@rotateright.com>2016-09-12 15:24:31 +0000
commit3151dec7f1d61816101ff8bb29c35610eb26684a (patch)
tree033b0ac52e18be3c5e753ac846ed14cff4a3a86c /llvm/lib/Transforms/InstCombine/InstCombineInternal.h
parentfb0d9d9c13be4e54489f0ebbe18c9626c5b63e9c (diff)
downloadbcm5719-llvm-3151dec7f1d61816101ff8bb29c35610eb26684a.tar.gz
bcm5719-llvm-3151dec7f1d61816101ff8bb29c35610eb26684a.zip
[InstCombine] add helper function for foldICmpUsingKnownBits; NFCI
llvm-svn: 281217
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineInternal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
index bf0f4b2efa1..00acab2cbec 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
+++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
@@ -556,6 +556,7 @@ private:
ICmpInst::Predicate Pred);
Instruction *foldICmpWithCastAndCast(ICmpInst &ICI);
+ Instruction *foldICmpUsingKnownBits(ICmpInst &Cmp);
Instruction *foldICmpInstWithConstant(ICmpInst &Cmp);
Instruction *foldICmpTruncConstant(ICmpInst &Cmp, Instruction *Trunc,
OpenPOWER on IntegriCloud