[PATCH] D114517: [test] Use -passes in lit tests for the UpdateTestChecks tool

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 24 01:19:30 PST 2021


bjope created this revision.
bjope added a reviewer: aeubanks.
Herald added a subscriber: arichardson.
bjope requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added a reviewer: baziotis.
Herald added a project: LLVM.

The UpdateTestChecks tool itself does not care about which pass
manager that is used in the opt invocation. So the lit tests that
are verifying the behavior of the UpdateTestChecks tool is updated
to use the new-PM syntax (-passes=) when specifying the pass pipeline
in the test cases that are used for verifying the UpdateTestChecks
tool.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114517

Files:
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll.expected
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll.funcsig.expected
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/check_attrs.ll
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/check_attrs.ll.funcattrs.expected
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/check_attrs.ll.plain.expected
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/function_name.ll
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/function_name.ll.expected
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.generated.expected
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.generated.globals.expected
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.nogenerated.expected
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.nogenerated.globals.expected
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/pre-process.ll
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/pre-process.ll.expected
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/sometimes_deleted_function.ll
  llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/sometimes_deleted_function.ll.expected

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114517.389423.patch
Type: text/x-patch
Size: 17024 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211124/c5e08348/attachment.bin>


More information about the llvm-commits mailing list