diff options
author | Justin Lebar <jlebar@google.com> | 2016-07-19 23:19:20 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-07-19 23:19:20 +0000 |
commit | 8778c626297cc71c1764881979d753ea40af533e (patch) | |
tree | 6dc96736e6adac91bfc5862ac1b0824272a73f69 /llvm/lib/Support/CommandLine.cpp | |
parent | 2cf2c2287083df0bf2e4506e5fc17b48731db511 (diff) | |
download | bcm5719-llvm-8778c626297cc71c1764881979d753ea40af533e.tar.gz bcm5719-llvm-8778c626297cc71c1764881979d753ea40af533e.zip |
[LSV] Insert stores at the right point.
Summary:
Previously, the insertion point for stores was the last instruction in
Chain *before calling getVectorizablePrefixEndIdx*. Thus if
getVectorizablePrefixEndIdx didn't return Chain.size(), we still would
insert at the last instruction in Chain.
This patch changes our internal API a bit in an attempt to make it less
prone to this sort of error. As a result, we end up recalculating the
Chain's boundary instructions, but I think worrying about the speed hit
of this is a premature optimization right now.
Reviewers: asbirlea, tstellarAMD
Subscribers: mzolotukhin, arsenm, llvm-commits
Differential Revision: https://reviews.llvm.org/D22534
llvm-svn: 276056
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions