mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-18 09:46:57 +00:00
Considering that CI is not even IN SCOPE here, I wooda thought the compiler
would have caught this. *sigh* llvm-svn: 10142
This commit is contained in:
parent
9ae9c45d43
commit
c837881d43
@ -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