mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Hrm, unbreak stuph :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ff3d5d9702
commit
08d702b61d
@ -19,6 +19,7 @@
|
||||
#include "llvm/CodeGen/MachineInstrBuilder.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/iTerminators.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
|
||||
static const uint32_t MAXLO = (1 << 10) - 1; // set bits set by %lo(*)
|
||||
|
@ -222,7 +222,7 @@ void PreSelection::visitPHINode(PHINode &PN) {
|
||||
// so just handle PHIs and other instructions separately.
|
||||
//
|
||||
for (unsigned i = 0, e = PN.getNumIncomingValues(); i != e; ++i)
|
||||
visitOneOperand(I, PN.getIncomingValue(i),
|
||||
visitOneOperand(PN, PN.getIncomingValue(i),
|
||||
PN.getOperandNumForIncomingValue(i),
|
||||
*PN.getIncomingBlock(i)->getTerminator());
|
||||
// do not call visitOperands!
|
||||
|
Loading…
Reference in New Issue
Block a user