We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c24983 commit 7abb0d1Copy full SHA for 7abb0d1
llvm/include/llvm/CodeGen/BasicTTIImpl.h
@@ -2504,7 +2504,7 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
2504
return (LT.first * 2);
2505
else
2506
return (LT.first * 1);
2507
- } else if (!TLI->isOperationExpand(ISD, LT.second)) {
+ } else if (TLI->isOperationCustom(ISD, LT.second)) {
2508
// If the operation is custom lowered then assume
2509
// that the code is twice as expensive.
2510
0 commit comments