summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-03-27 20:56:11 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-03-27 20:56:11 +0000
commit87ca1b6e0c63241e9c2308c70f4b3064ec75215d (patch)
tree4c791fd2b77bad4f9d2ea002823aab31320bf7ce /llvm/lib/Transforms/InstCombine/InstCombineInternal.h
parent96278ff75904ee2de7129817f339804a9db47e9c (diff)
downloadbcm5719-llvm-87ca1b6e0c63241e9c2308c70f4b3064ec75215d.tar.gz
bcm5719-llvm-87ca1b6e0c63241e9c2308c70f4b3064ec75215d.zip
Constrain the type of a parameter now that callers without this constraint have been removed.
llvm-svn: 233419
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineInternal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
index fb2321df2e0..813690216a1 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
+++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
@@ -316,7 +316,7 @@ private:
bool ShouldChangeType(Type *From, Type *To) const;
Value *dyn_castNegVal(Value *V) const;
Value *dyn_castFNegVal(Value *V, bool NoSignedZero = false) const;
- Type *FindElementAtOffset(Type *PtrTy, int64_t Offset,
+ Type *FindElementAtOffset(PointerType *PtrTy, int64_t Offset,
SmallVectorImpl<Value *> &NewIndices);
Instruction *FoldOpIntoSelect(Instruction &Op, SelectInst *SI);
OpenPOWER on IntegriCloud