summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-09-10 07:02:09 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-09-10 07:02:09 +0000
commitfd5249e15bfea699a146c2b7642081deb229465c (patch)
tree90419934ff346ba09af8ab7b5c394ba385b59872 /include/llvm
parent28275fdf02885587156da5cb20388b22d5b96557 (diff)
downloadllvm-fd5249e15bfea699a146c2b7642081deb229465c.tar.gz
llvm-fd5249e15bfea699a146c2b7642081deb229465c.tar.bz2
llvm-fd5249e15bfea699a146c2b7642081deb229465c.tar.xz
Correctly handle the case where a comparison is created in one BasicBlock and
used by a terminator in another. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81437 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Transforms/Utils/SSI.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Utils/SSI.h b/include/llvm/Transforms/Utils/SSI.h
index a18930fe0d..8b49aac080 100644
--- a/include/llvm/Transforms/Utils/SSI.h
+++ b/include/llvm/Transforms/Utils/SSI.h
@@ -81,6 +81,7 @@ namespace llvm {
SmallVector<SmallVector<Instruction *, 1>, 0> value_stack;
void insertSigmaFunctions(SmallVectorImpl<Instruction *> &value);
+ void insertSigma(TerminatorInst *TI, Instruction *I, unsigned pos);
void insertPhiFunctions(SmallVectorImpl<Instruction *> &value);
void renameInit(SmallVectorImpl<Instruction *> &value);
void rename(BasicBlock *BB);
@@ -92,8 +93,6 @@ namespace llvm {
unsigned getPositionPhi(PHINode *PN);
unsigned getPositionSigma(PHINode *PN);
- unsigned isUsedInTerminator(CmpInst *CI);
-
void init(SmallVectorImpl<Instruction *> &value);
void clean();
};