projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix big-endian codegen bug. We're splitting up
[oota-llvm.git]
/
lib
/
VMCore
/
Instruction.cpp
diff --git
a/lib/VMCore/Instruction.cpp
b/lib/VMCore/Instruction.cpp
index b09ab93aa11d7885292a16d71486df9bf5ca1bfc..f33c1a23f2389c2c9e97844b00c6da88717114b2 100644
(file)
--- a/
lib/VMCore/Instruction.cpp
+++ b/
lib/VMCore/Instruction.cpp
@@
-278,8
+278,7
@@
bool Instruction::isUsedOutsideOfBlock(const BasicBlock *BB) const {
continue;
}
- unsigned UseOperand = UI.getOperandNo();
- if (PN->getIncomingBlock(UseOperand/2) != BB)
+ if (PN->getIncomingBlock(UI) != BB)
return true;
}
return false;