summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/ScalarEvolutionExpander.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-05-01 17:13:31 +0000
committerDan Gohman <gohman@apple.com>2009-05-01 17:13:31 +0000
commitcf5ab820227dedd77fb91d0904b6dc3694a7c196 (patch)
tree54e59083fddb41aead96b61a447012058b881f52 /include/llvm/Analysis/ScalarEvolutionExpander.h
parentb52e1c587f166c6fb8b9abeaaeaee3bda944091b (diff)
downloadllvm-cf5ab820227dedd77fb91d0904b6dc3694a7c196.tar.gz
llvm-cf5ab820227dedd77fb91d0904b6dc3694a7c196.tar.bz2
llvm-cf5ab820227dedd77fb91d0904b6dc3694a7c196.tar.xz
Actually insert inserted instructions into the InsertedValues map.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/ScalarEvolutionExpander.h')
-rw-r--r--include/llvm/Analysis/ScalarEvolutionExpander.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/ScalarEvolutionExpander.h b/include/llvm/Analysis/ScalarEvolutionExpander.h
index bb3183dafa..e06abd7c6b 100644
--- a/include/llvm/Analysis/ScalarEvolutionExpander.h
+++ b/include/llvm/Analysis/ScalarEvolutionExpander.h
@@ -106,8 +106,8 @@ namespace llvm {
/// InsertBinop - Insert the specified binary operator, doing a small amount
/// of work to avoid inserting an obviously redundant operation.
- static Value *InsertBinop(Instruction::BinaryOps Opcode, Value *LHS,
- Value *RHS, BasicBlock::iterator InsertPt);
+ Value *InsertBinop(Instruction::BinaryOps Opcode, Value *LHS,
+ Value *RHS, BasicBlock::iterator InsertPt);
private:
Value *expand(const SCEV *S);