[all-commits] [llvm/llvm-project] d325d2: [mlir][tosa] Fix tosa::Select to linalg::generic i...

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Mon Oct 10 15:48:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d325d2b407fcb7f37230b86fb291ef777497137d
      https://github.com/llvm/llvm-project/commit/d325d2b407fcb7f37230b86fb291ef777497137d
  Author: AmosLewis <Amos_Lewsi at foxmail.com>
  Date:   2022-10-10 (Mon, 10 Oct 2022)

  Changed paths:
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir

  Log Message:
  -----------
  [mlir][tosa] Fix tosa::Select to linalg::generic indexingMaps bug

The tosa to linalg generic ops indexingMaps rank use is wrong.
	 Find this bug in gpt2 pytorch model lowering to tosa.
	 issue link is here https://github.com/llvm/llvm-project/issues/58154

Reviewed By: jpienaar

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




More information about the All-commits mailing list