summaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombine.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-04-01 20:09:03 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-04-01 20:09:03 +0000
commit0a30c42008f88c3fba64127da8d73ba2fcd16fd6 (patch)
tree2e8208701a025ec3dfd698e987bf8a32f3ea34d5 /lib/Transforms/InstCombine/InstCombine.h
parentc249e4855883d7b799db61edc839cbfaff50ae81 (diff)
downloadllvm-0a30c42008f88c3fba64127da8d73ba2fcd16fd6.tar.gz
llvm-0a30c42008f88c3fba64127da8d73ba2fcd16fd6.tar.bz2
llvm-0a30c42008f88c3fba64127da8d73ba2fcd16fd6.tar.xz
InstCombine: Move (sext icmp) transforms into their own method. No intended functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128731 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombine.h')
-rw-r--r--lib/Transforms/InstCombine/InstCombine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/InstCombine/InstCombine.h b/lib/Transforms/InstCombine/InstCombine.h
index d5de53aa92..625f54685e 100644
--- a/lib/Transforms/InstCombine/InstCombine.h
+++ b/lib/Transforms/InstCombine/InstCombine.h
@@ -217,6 +217,7 @@ private:
Instruction *transformCallThroughTrampoline(CallSite CS);
Instruction *transformZExtICmp(ICmpInst *ICI, Instruction &CI,
bool DoXform = true);
+ Instruction *transformSExtICmp(ICmpInst *ICI, Instruction &CI);
bool WillNotOverflowSignedAdd(Value *LHS, Value *RHS);
Value *EmitGEPOffset(User *GEP);