[all-commits] [llvm/llvm-project] d17428: [MLIR][GPU] fix loop trip count computation in Loo...
Stephan Herhut via All-commits
all-commits at lists.llvm.org
Mon Mar 2 06:53:51 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d17428d9513555535268104a94c11ddc6c6c6243
https://github.com/llvm/llvm-project/commit/d17428d9513555535268104a94c11ddc6c6c6243
Author: Stephan Herhut <herhut at google.com>
Date: 2020-03-02 (Mon, 02 Mar 2020)
Changed paths:
M mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
M mlir/test/Conversion/LoopsToGPU/parallel_loop.mlir
Log Message:
-----------
[MLIR][GPU] fix loop trip count computation in LoopsToGPU
Summary: Added brackets to fix the loop trip count computation.
The brackets ensure the bounds are subtracted before we divide
the result by the step of the loop.
Differential Revision: https://reviews.llvm.org/D75449
More information about the All-commits
mailing list