aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorFreddy Ye <freddy.ye@intel.com>2021-09-23 10:27:45 +0800
committerFreddy Ye <freddy.ye@intel.com>2021-09-23 10:28:21 +0800
commit13207a21a64d3a0f1537cc99efe91d757d51f46c (patch)
treeb6f32dfbea8e912f74d5fe126ebf22023b6666e3 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parentebc5feb4ed6b1f59a000669030f9639bf1763403 (diff)
downloadllvm-13207a21a64d3a0f1537cc99efe91d757d51f46c.zip
llvm-13207a21a64d3a0f1537cc99efe91d757d51f46c.tar.gz
llvm-13207a21a64d3a0f1537cc99efe91d757d51f46c.tar.bz2
[NFC] Remove redundant setOperationAction.
[FROUND,FROUNDEVEN][f32, f64, f128] are set Expand twice. Differential Revision: https://reviews.llvm.org/D110302
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringBase.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp
index 983f833..ba05552 100644
--- a/llvm/lib/CodeGen/TargetLoweringBase.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -899,8 +899,6 @@ void TargetLoweringBase::initActions() {
setOperationAction(ISD::FCEIL, VT, Expand);
setOperationAction(ISD::FRINT, VT, Expand);
setOperationAction(ISD::FTRUNC, VT, Expand);
- setOperationAction(ISD::FROUND, VT, Expand);
- setOperationAction(ISD::FROUNDEVEN, VT, Expand);
setOperationAction(ISD::LROUND, VT, Expand);
setOperationAction(ISD::LLROUND, VT, Expand);
setOperationAction(ISD::LRINT, VT, Expand);