diff options
author | Freddy Ye <freddy.ye@intel.com> | 2021-09-23 10:27:45 +0800 |
---|---|---|
committer | Freddy Ye <freddy.ye@intel.com> | 2021-09-23 10:28:21 +0800 |
commit | 13207a21a64d3a0f1537cc99efe91d757d51f46c (patch) | |
tree | b6f32dfbea8e912f74d5fe126ebf22023b6666e3 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | ebc5feb4ed6b1f59a000669030f9639bf1763403 (diff) | |
download | llvm-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.cpp | 2 |
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); |