[llvm-dev] Adding an execution result keyword in LIT

Anshil Gandhi via llvm-dev llvm-dev at lists.llvm.org
Mon Sep 20 14:50:59 PDT 2021


Hey all,

I am working on adding an execution result keyword such as `PASSED`,
`FAILED`, `XFAILED`, etc. to LIT to indicate the result for each RUN
execution. For example,

: 'RUN: at line 1' *(PASSED)*;
/home/anshil/amd-workspace/llvm-project/build/bin/llc -march=amdgcn
-mcpu=tahiti -verify-machineinstrs <
/home/anshil/amd-workspace/llvm-project/llvm/test/CodeGen/AMDGPU/inline-calls.ll
| /home/anshil/amd-workspace/llvm-project/build/bin/FileCheck
/home/anshil/amd-workspace/llvm-project/llvm/test/CodeGen/AMDGPU/inline-calls.ll

I was wondering what would be the most appropriate place to implement this?
I was thinking somewhere under
`parseIntegratedTestScriptsCommands(source_path, keywords)` in
TestRunner.py but I am open to suggestions.

Best,

Anshil Gandhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210920/10edc9d5/attachment.html>


More information about the llvm-dev mailing list