mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 04:35:00 +00:00
Considering that CI is not even IN SCOPE here, I wooda thought the compiler
would have caught this. *sigh* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10142 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1e2385b941
commit
6d1db01284
@ -62,7 +62,7 @@ static unsigned CountCodeReductionForConstant(Value *V) {
|
||||
Reduction += CI->getCalledValue() == V ? 500 : 0;
|
||||
} else if (InvokeInst *II = dyn_cast<InvokeInst>(*UI)) {
|
||||
// Turning an indirect call into a direct call is a BIG win
|
||||
Reduction += CI->getCalledValue() == V ? 500 : 0;
|
||||
Reduction += II->getCalledValue() == V ? 500 : 0;
|
||||
} else {
|
||||
// Figure out if this instruction will be removed due to simple constant
|
||||
// propagation.
|
||||
|
Loading…
x
Reference in New Issue
Block a user