[all-commits] [llvm/llvm-project] bbda41: [mlir][scf] Relax type requirement on for

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Sun Mar 5 07:38:12 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbda411f0e395a1727e243b62b331004cc8d0c30
      https://github.com/llvm/llvm-project/commit/bbda411f0e395a1727e243b62b331004cc8d0c30
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2023-03-05 (Sun, 05 Mar 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
    M mlir/lib/Dialect/SCF/IR/SCF.cpp
    M mlir/test/Dialect/SCF/invalid.mlir
    M mlir/test/Dialect/SCF/ops.mlir

  Log Message:
  -----------
  [mlir][scf] Relax type requirement on for

scf.for loop was restricted to only operate on Index type since
splitting out from affine.for. Relax requirement to allow for signless
integer types additionally. This allows specifying explicitly different
bitwidths for different loops as well as specialize from index to iN
while still using scf.for.

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




More information about the All-commits mailing list