diff options
author | Daniel Neilson <dneilson@azul.com> | 2018-05-01 15:35:08 +0000 |
---|---|---|
committer | Daniel Neilson <dneilson@azul.com> | 2018-05-01 15:35:08 +0000 |
commit | 9e4bbe801a79030934627ceafca79c75f45eb58a (patch) | |
tree | 007da645eaf7badfa0b4afe87e1c79c05347a22f /llvm/lib/Transforms/Utils/LowerSwitch.cpp | |
parent | 969d63ea8c5820d1325ad27205fc34c4f5030a54 (diff) | |
download | bcm5719-llvm-9e4bbe801a79030934627ceafca79c75f45eb58a.tar.gz bcm5719-llvm-9e4bbe801a79030934627ceafca79c75f45eb58a.zip |
[LV] Preserve inbounds on created GEPs
Summary:
This is a fix for PR23997.
The loop vectorizer is not preserving the inbounds property of GEPs that it creates.
This is inhibiting some optimizations. This patch preserves the inbounds property in
the case where a load/store is being fed by an inbounds GEP.
Reviewers: mkuper, javed.absar, hsaito
Reviewed By: hsaito
Subscribers: dcaballe, hsaito, llvm-commits
Differential Revision: https://reviews.llvm.org/D46191
llvm-svn: 331269
Diffstat (limited to 'llvm/lib/Transforms/Utils/LowerSwitch.cpp')
0 files changed, 0 insertions, 0 deletions