[llvm] r271316 - [CodeGen] Don't mark FMINNUM/FMAXNUM Expand twice. NFC.
Ahmed Bougacha via llvm-commits
llvm-commits at lists.llvm.org
Tue May 31 11:50:21 PDT 2016
Author: ab
Date: Tue May 31 13:50:21 2016
New Revision: 271316
URL: http://llvm.org/viewvc/llvm-project?rev=271316&view=rev
Log:
[CodeGen] Don't mark FMINNUM/FMAXNUM Expand twice. NFC.
They're already in the all_valuetypes() loop above.
Modified:
llvm/trunk/lib/CodeGen/TargetLoweringBase.cpp
Modified: llvm/trunk/lib/CodeGen/TargetLoweringBase.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TargetLoweringBase.cpp?rev=271316&r1=271315&r2=271316&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TargetLoweringBase.cpp (original)
+++ llvm/trunk/lib/CodeGen/TargetLoweringBase.cpp Tue May 31 13:50:21 2016
@@ -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);
More information about the llvm-commits
mailing list