[PATCH] D83924: [mlir] Add update_mlir_test_checks.py

Stephen Neuendorffer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 15 18:50:07 PDT 2020


stephenneuendorffer created this revision.
Herald added subscribers: llvm-commits, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini, arichardson.
Herald added a project: LLVM.

mlir/utils/generate_test_checks.py is somewhat braindead about updating
tests. Recent improvements allow it to modify existing tests, but still
require writing a verbose command line which duplicates information
that exists in the RUN line of the test. This script follows the pattern
used in the rest of llvm, with some MLIR-sytax specific tweaks to generate
tests the way that generate_test_checks.py does it. I expect that this is not
perfect and could/should be reduced to use more of UpdateTestChecks/common.py


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83924

Files:
  llvm/utils/UpdateTestChecks/common.py
  llvm/utils/update_mlir_test_checks.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83924.278350.patch
Type: text/x-patch
Size: 13424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200716/e259e5a4/attachment.bin>


More information about the llvm-commits mailing list