Skip to content

Commit d1034a8

Browse files
committed
Remove Promote
1 parent 5bf7b74 commit d1034a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/CodeGen/BasicTTIImpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2788,7 +2788,7 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
27882788
// Finally, we will remove FMAXNUM_IEEE and FMINNUM_IEEE.
27892789
int IeeeISD =
27902790
IID == Intrinsic::maximumnum ? ISD::FMAXNUM_IEEE : ISD::FMINNUM_IEEE;
2791-
if (TLI->isOperationLegalOrPromote(IeeeISD, LT.second)) {
2791+
if (TLI->isOperationLegal(IeeeISD, LT.second)) {
27922792
IntrinsicCostAttributes FCanonicalizeAttrs(Intrinsic::canonicalize,
27932793
RetTy, Tys[0]);
27942794
InstructionCost FCanonicalizeCost =

0 commit comments

Comments
 (0)