From f08f83ae611752cd14d781b422297c6924632aa6 Mon Sep 17 00:00:00 2001 From: Ahmed Bougacha Date: Tue, 31 May 2016 18:50:21 +0000 Subject: [PATCH] [CodeGen] Don't mark FMINNUM/FMAXNUM Expand twice. NFC. They're already in the all_valuetypes() loop above. llvm-svn: 271316 --- lib/CodeGen/TargetLoweringBase.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/CodeGen/TargetLoweringBase.cpp b/lib/CodeGen/TargetLoweringBase.cpp index 433e4b7d205..97f85f53946 100644 --- a/lib/CodeGen/TargetLoweringBase.cpp +++ b/lib/CodeGen/TargetLoweringBase.cpp @@ -925,8 +925,6 @@ void TargetLoweringBase::initActions() { setOperationAction(ISD::FEXP , VT, Expand); setOperationAction(ISD::FEXP2, VT, Expand); setOperationAction(ISD::FFLOOR, VT, Expand); - setOperationAction(ISD::FMINNUM, VT, Expand); - setOperationAction(ISD::FMAXNUM, VT, Expand); setOperationAction(ISD::FNEARBYINT, VT, Expand); setOperationAction(ISD::FCEIL, VT, Expand); setOperationAction(ISD::FRINT, VT, Expand);