[PATCH] D83004: [UpdateCCTestChecks] Include generated functions if asked

David Greene via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 1 15:41:17 PDT 2020


greened created this revision.
greened added reviewers: jdoerfert, spatel, RKSimon, arichardson, thakis, xbolva00, MaskRay.
greened added a project: LLVM.
Herald added subscribers: llvm-commits, sstefan1.
greened added a comment.

Do we have any tests for these tools?  I vaguely recall some discussion about tests but I couldn't find any.  I'd like to add tests for this feature if the infrastructure is already there.


Add the --include-generated-funcs option to update_cc_test_checks.py so that any
functions created by the compiler that don't exist in the source will also be
checked.

We need to maintain the output order of generated function checks so that
CHECK-LABEL works properly.  To do so, maintain a list of functions output for
each prefix in the order they are output.  Use this list to output checks for
generated functions in the proper order.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83004

Files:
  llvm/utils/UpdateTestChecks/asm.py
  llvm/utils/UpdateTestChecks/common.py
  llvm/utils/update_cc_test_checks.py
  llvm/utils/update_llc_test_checks.py
  llvm/utils/update_test_checks.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83004.274940.patch
Type: text/x-patch
Size: 9015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200701/360b4f79/attachment.bin>


More information about the llvm-commits mailing list