[mlir] Make 1:N type conversion tests less brittle.
authorIngo Müller <ingomueller@google.com>
Tue, 11 Apr 2023 13:34:37 +0000 (13:34 +0000)
committerIngo Müller <ingomueller@google.com>
Thu, 13 Apr 2023 10:14:31 +0000 (10:14 +0000)
commited3cbfcd1e4d7cd1643445552648631fb92fedce
treea131b7fac512df7cd849a0a576f4c5e339a29fc9
parent40276f78fd4dabc4368724c161ca918d6145ef75
[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
mlir/test/Conversion/OneToNTypeConversion/one-to-n-type-conversion.mlir