[PATCH] D110302: [NFC] Remove redundant setOperationAction.
Freddy, Ye via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 22 19:20:19 PDT 2021
FreddyYe created this revision.
Herald added a subscriber: hiraditya.
FreddyYe requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
[FROUND,FROUNDEVEN][f32, f64, f128] are set Expand twice.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D110302
Files:
llvm/lib/CodeGen/TargetLoweringBase.cpp
Index: llvm/lib/CodeGen/TargetLoweringBase.cpp
===================================================================
--- llvm/lib/CodeGen/TargetLoweringBase.cpp
+++ llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -899,8 +899,8 @@
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::FROUND, VT, Expand);
+ // setOperationAction(ISD::FROUNDEVEN, VT, Expand);
setOperationAction(ISD::LROUND, VT, Expand);
setOperationAction(ISD::LLROUND, VT, Expand);
setOperationAction(ISD::LRINT, VT, Expand);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110302.374420.patch
Type: text/x-patch
Size: 769 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210923/09dbeca0/attachment.bin>
More information about the llvm-commits
mailing list