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 5bf7b74 commit d1034a8Copy full SHA for d1034a8
llvm/include/llvm/CodeGen/BasicTTIImpl.h
@@ -2788,7 +2788,7 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
2788
// Finally, we will remove FMAXNUM_IEEE and FMINNUM_IEEE.
2789
int IeeeISD =
2790
IID == Intrinsic::maximumnum ? ISD::FMAXNUM_IEEE : ISD::FMINNUM_IEEE;
2791
- if (TLI->isOperationLegalOrPromote(IeeeISD, LT.second)) {
+ if (TLI->isOperationLegal(IeeeISD, LT.second)) {
2792
IntrinsicCostAttributes FCanonicalizeAttrs(Intrinsic::canonicalize,
2793
RetTy, Tys[0]);
2794
InstructionCost FCanonicalizeCost =
0 commit comments