HomePhabricator

Fix conversion of loops to GPU with no block/thread dimensions.

Authored by Stephan Herhut <herhut@google.com> on Jan 30 2020, 2:27 AM.

Description

Fix conversion of loops to GPU with no block/thread dimensions.

Summary:
The current code assumes that one always maps at least one loop to block
dimensions and at least one loop to thread dimensions. If either is not
the case, a loop would get mapped twice.

Differential Revision: https://reviews.llvm.org/D73685