[PATCH] D122824: [UpdateLLCTestChecks] Add function prefix to make generated isel debug output checks runnable in update_llc_test_checks.py

Yatao Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 31 07:53:20 PDT 2022


ningxinr created this revision.
ningxinr added reviewers: greened, Flakebi, MaskRay, arichardson, lebedev.ri, ggeorgakoudis.
Herald added subscribers: StephenFan, kerbowa, jvesely.
Herald added a project: All.
ningxinr requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This change is a follow-up change of D119368 <https://reviews.llvm.org/D119368>. This change adds support of 
function prefix for generated isel debug output, and make the generated tests 
runnable.

This patch only implements the support of function prefix in 
update_llc_test_checks.py. With this change, the checks generated for function 
with single labels will pass. A lit tests of Lanai is added to demonstrate what 
a passing test would look like.

This patch does not include the implementation of supporting multiple function 
labels, which will be the next follow up change to expand the scope of supported 
instruction selection tests.


https://reviews.llvm.org/D122824

Files:
  llvm/test/CodeGen/Lanai/isel_debug_single.ll
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_isel.ll.expected
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai_isel.ll.expected
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_isel.ll.expected
  llvm/utils/UpdateTestChecks/common.py
  llvm/utils/UpdateTestChecks/isel.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122824.419441.patch
Type: text/x-patch
Size: 15202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220331/76889056/attachment.bin>


More information about the llvm-commits mailing list