mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 23:24:34 +00:00
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
This commit is contained in:
@ -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();
|
||||
};
|
||||
|
Reference in New Issue
Block a user