[all-commits] [llvm/llvm-project] 71705f: [mlir][Arith] Disallow casting between scalable an...

jsetoain via All-commits all-commits at lists.llvm.org
Tue Feb 15 09:35:43 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71705f531f6e34a4fe4e0a178d0269c6f11b5672
      https://github.com/llvm/llvm-project/commit/71705f531f6e34a4fe4e0a178d0269c6f11b5672
  Author: Javier Setoain <javier.setoain at gmail.com>
  Date:   2022-02-15 (Tue, 15 Feb 2022)

  Changed paths:
    M mlir/lib/IR/TypeUtilities.cpp
    M mlir/test/Dialect/Arithmetic/invalid.mlir

  Log Message:
  -----------
  [mlir][Arith] Disallow casting between scalable and fixed-length vectors

Casting between scalable vectors and fixed-length vectors doesn't make
sense. If one of the operands is scalable, the other has to be scalable
to be able to guarantee they have the same shape at runtime.

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




More information about the All-commits mailing list