diff options
author | Anna Thomas <anna@azul.com> | 2016-12-13 21:05:21 +0000 |
---|---|---|
committer | Anna Thomas <anna@azul.com> | 2016-12-13 21:05:21 +0000 |
commit | 65ca8e91cc2cc1f57bfde4fcc50818de402fd17f (patch) | |
tree | 64375930dfdb723231bc5758e7f6b1d7a18c83a1 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 76e881903d52101abf60121c96b73123674d07a3 (diff) | |
download | bcm5719-llvm-65ca8e91cc2cc1f57bfde4fcc50818de402fd17f.tar.gz bcm5719-llvm-65ca8e91cc2cc1f57bfde4fcc50818de402fd17f.zip |
[IRCE] Avoid loop optimizations on pre and post loops
Summary:
This patch will add loop metadata on the pre and post loops generated by IRCE.
Currently, we have metadata for disabling optimizations such as vectorization,
unrolling, loop distribution and LICM versioning (and confirmed that these
optimizations check for the metadata before proceeding with the transformation).
The pre and post loops generated by IRCE need not go through loop opts (since
these are slow paths).
Added two test cases as well.
Reviewers: sanjoy, reames
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D26806
llvm-svn: 289588
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions