summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorIvan Krasin <krasin@chromium.org>2017-03-24 20:49:43 +0000
committerIvan Krasin <krasin@chromium.org>2017-03-24 20:49:43 +0000
commitc2124e185c10b2d41fcc7eda8a492fa791135a64 (patch)
treedda612b1ada6ba488d93893bbd62301a8aab9f03 /llvm/lib/CodeGen/MachineScheduler.cpp
parent167af85ec7f7fce3d42b5f4bf4bb797d1cba0e0a (diff)
downloadbcm5719-llvm-c2124e185c10b2d41fcc7eda8a492fa791135a64.tar.gz
bcm5719-llvm-c2124e185c10b2d41fcc7eda8a492fa791135a64.zip
Revert r298620: [LV] Vectorize GEPs
Reason: breaks linking Chromium with LLD + ThinLTO (a pass crashes) LLVM bug: https://bugs.llvm.org//show_bug.cgi?id=32413 Original change description: [LV] Vectorize GEPs This patch adds support for vectorizing GEPs. Previously, we only generated vector GEPs on-demand when creating gather or scatter operations. All GEPs from the original loop were scalarized by default, and if a pointer was to be stored to memory, we would have to build up the pointer vector with insertelement instructions. With this patch, we will vectorize all GEPs that haven't already been marked for scalarization. The patch refines collectLoopScalars to more exactly identify the scalar GEPs. The function now more closely resembles collectLoopUniforms. And the patch moves vector GEP creation out of vectorizeMemoryInstruction and into the main vectorization loop. The vector GEPs needed for gather and scatter operations will have already been generated before vectoring the memory accesses. Original Differential Revision: https://reviews.llvm.org/D30710 llvm-svn: 298735
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud