diff options
| author | Siddharth Bhat <siddu.druid@gmail.com> | 2017-04-06 08:20:22 +0000 |
|---|---|---|
| committer | Siddharth Bhat <siddu.druid@gmail.com> | 2017-04-06 08:20:22 +0000 |
| commit | 5eeb1dd42ef304c6a2f85d3fb9eda03c932f1fe0 (patch) | |
| tree | a50e559ddb933e1af67f025be1da375f55634d96 /llvm/lib/Target/ARM/ARMConstantIslandPass.cpp | |
| parent | e6b81315f718d161d740cf2157b9840c4c429473 (diff) | |
| download | bcm5719-llvm-5eeb1dd42ef304c6a2f85d3fb9eda03c932f1fe0.tar.gz bcm5719-llvm-5eeb1dd42ef304c6a2f85d3fb9eda03c932f1fe0.zip | |
[Polly] [ScheduleOptimizer] Prevent incorrect tile size computation
Because Polly exposes parameters that directly influence tile size
calculations, one can setup situations like divide-by-zero.
Check against a possible divide-by-zero in getMacroKernelParams
and return early.
Also assert at the end of getMacroKernelParams that the block sizes
computed for matrices are positive (>= 1).
Tags: #polly
Differential Revision: https://reviews.llvm.org/D31708
llvm-svn: 299633
Diffstat (limited to 'llvm/lib/Target/ARM/ARMConstantIslandPass.cpp')
0 files changed, 0 insertions, 0 deletions

