[all-commits] [llvm/llvm-project] ed3cbf: [mlir] Make 1:N type conversion tests less brittle.

Ingo Müller via All-commits all-commits at lists.llvm.org
Thu Apr 13 03:14:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed3cbfcd1e4d7cd1643445552648631fb92fedce
      https://github.com/llvm/llvm-project/commit/ed3cbfcd1e4d7cd1643445552648631fb92fedce
  Author: Ingo Müller <ingomueller at google.com>
  Date:   2023-04-13 (Thu, 13 Apr 2023)

  Changed paths:
    M mlir/test/Conversion/OneToNTypeConversion/one-to-n-type-conversion.mlir

  Log Message:
  -----------
  [mlir] Make 1:N type conversion tests less brittle.

They had previously not followed the best practices; I must have
commited these in a rush. In particular, they used hard-coded SSA names
instead of patterns. This patch changes that, uses CHECK-DAG more
instead of CHECK-NEXT, and makes all function names unique.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list