diff options
author | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2019-12-11 10:37:40 +0000 |
---|---|---|
committer | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2019-12-11 10:37:40 +0000 |
commit | 021685491727e023aeae9ca272a2d6cd727e20e4 (patch) | |
tree | de94530f27007afad74b12050a823c7f9a342e8c /lldb/packages/Python/lldbsuite/test/python_api/target | |
parent | 987e7323fb53f968d5878483610fcf2319cdde86 (diff) | |
download | bcm5719-llvm-021685491727e023aeae9ca272a2d6cd727e20e4.tar.gz bcm5719-llvm-021685491727e023aeae9ca272a2d6cd727e20e4.zip |
[Clang] Pragma vectorize_width() implies vectorize(enable)
Let's try this again; this has been reverted/recommited a few times. Last time
this got reverted because for this loop:
void a() {
#pragma clang loop vectorize(disable)
for (;;)
;
}
vectorisation was incorrectly enabled and the vectorize.enable metadata was set
due to a logic error. But with this fixed, we now imply vectorisation when:
1) vectorisation is enabled, which means: VectorizeWidth > 1,
2) and don't want to add it when it is disabled or enabled, otherwise we would
be incorrectly setting it or duplicating the metadata, respectively.
This should fix PR27643.
Differential Revision: https://reviews.llvm.org/D69628
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target')
0 files changed, 0 insertions, 0 deletions