summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorSiddharth Bhat <siddu.druid@gmail.com>2017-04-06 08:20:22 +0000
committerSiddharth Bhat <siddu.druid@gmail.com>2017-04-06 08:20:22 +0000
commit5eeb1dd42ef304c6a2f85d3fb9eda03c932f1fe0 (patch)
treea50e559ddb933e1af67f025be1da375f55634d96 /llvm/lib
parente6b81315f718d161d740cf2157b9840c4c429473 (diff)
downloadbcm5719-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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud