summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/ObjCARC/ObjCARCExpand.cpp
diff options
context:
space:
mode:
authorGil Rapaport <gil.rapaport@intel.com>2017-03-12 12:31:38 +0000
committerGil Rapaport <gil.rapaport@intel.com>2017-03-12 12:31:38 +0000
commita1e5a37d3f5094e3899a4fd30c8050af5ee62c74 (patch)
treea1ad269489ba9e6c0bec6ca2e3ac8dc27c05c31e /llvm/lib/Transforms/ObjCARC/ObjCARCExpand.cpp
parent09cf3121d84f8f53c729106d7d2b0b4e32511b68 (diff)
downloadbcm5719-llvm-a1e5a37d3f5094e3899a4fd30c8050af5ee62c74.tar.gz
bcm5719-llvm-a1e5a37d3f5094e3899a4fd30c8050af5ee62c74.zip
[LV] A unified scalarizeInstruction() for Vectorizer and Unroller; NFC
Unroller's specialized scalarizeInstruction() is mostly duplicating Vectorizer's variant. OTOH Vectorizer's scalarizeInstruction() already supports the special case of VF==1 except for avoiding mask-bit extraction in that case. This patch removes Unroller's specialized version in favor of a unified method. The only functional difference between the two variants seems to be setting memcheck metadata for loads and stores only in Vectorizer's variant, which is a bug in Unroller. To keep this patch an NFC the unified method doesn't set memcheck metadata for VF==1. Differential Revision: https://reviews.llvm.org/D30715 llvm-svn: 297580
Diffstat (limited to 'llvm/lib/Transforms/ObjCARC/ObjCARCExpand.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud