forked from OSchip/llvm-project
parent
bb5d862a84
commit
8d950ce18c
|
@ -307,8 +307,8 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!TLI->isOperationExpand(ISD, LT.second)) {
|
if (!TLI->isOperationExpand(ISD, LT.second)) {
|
||||||
// If the operation is custom lowered then assume
|
// If the operation is custom lowered, then assume that the code is twice
|
||||||
// thare the code is twice as expensive.
|
// as expensive.
|
||||||
return LT.first * 2 * OpCost;
|
return LT.first * 2 * OpCost;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue