[PATCH] D59577: [SelectionDAG] Add scalarization of ABS node.
Ivan Kulagin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 20 00:00:05 PDT 2019
ikulagin created this revision.
ikulagin added reviewers: tlively, jvesely, RKSimon, bogner.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
Add scalarization of ABS node.
It is fix for pr41149.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D59577
Files:
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
Index: llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
===================================================================
--- llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
@@ -68,6 +68,7 @@
case ISD::ZERO_EXTEND_VECTOR_INREG:
R = ScalarizeVecRes_VecInregOp(N);
break;
+ case ISD::ABS:
case ISD::ANY_EXTEND:
case ISD::BITREVERSE:
case ISD::BSWAP:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59577.191436.patch
Type: text/x-patch
Size: 442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190320/cb3f09a0/attachment.bin>
More information about the llvm-commits
mailing list