mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 03:33:42 +00:00
add a fixme
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86766 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
68cf6042c1
commit
b14b88a40a
@ -169,6 +169,10 @@ static unsigned getJumpThreadDuplicationCost(const BasicBlock *BB) {
|
||||
/// Ignore PHI nodes, these will be flattened when duplication happens.
|
||||
BasicBlock::const_iterator I = BB->getFirstNonPHI();
|
||||
|
||||
// FIXME: THREADING will delete values that are just used to compute the
|
||||
// branch, so they shouldn't count against the duplication cost.
|
||||
|
||||
|
||||
// Sum up the cost of each instruction until we get to the terminator. Don't
|
||||
// include the terminator because the copy won't include it.
|
||||
unsigned Size = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user