[all-commits] [llvm/llvm-project] 585167: [MLIR] Constant fold multiplies in deriveStaticUpp...

Tres via All-commits all-commits at lists.llvm.org
Tue Apr 14 04:04:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 58516718fc66de01f1221c7d30b06c297296a264
      https://github.com/llvm/llvm-project/commit/58516718fc66de01f1221c7d30b06c297296a264
  Author: Tres Popp <tpopp at google.com>
  Date:   2020-04-14 (Tue, 14 Apr 2020)

  Changed paths:
    M mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
    M mlir/test/Conversion/LoopsToGPU/parallel_loop.mlir

  Log Message:
  -----------
  [MLIR] Constant fold multiplies in deriveStaticUpperBound.

Summary:
This operation occurs during collapseParallelLoops, so we constant fold
them also to allow more situations of determining a loop invariant upper
bound when lowering to the GPU dialect from the Loop dialect.

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




More information about the All-commits mailing list