[PATCH] D112936: [Docs] Document scripts that are use to generate assertion in test cases
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 2 12:48:58 PDT 2021
MaskRay added inline comments.
================
Comment at: llvm/docs/TestingGuide.rst:290
+
+ % llvm/utils/update_llc_test_checks.py --llc-binary build/bin/llc -u `find llvm/test/CodeGen/RISCV/ \( -name '*.ll' -o -name '*.mir' \)`
+
----------------
Probably only run on existing tests which have the notice line.
Change `build` to something else to indicate it is a placeholder. Many people don't use `build` as the build directory.
================
Comment at: llvm/docs/TestingGuide.rst:294
+
+update_analyze_test_checks.py
+opt --analyze --costmodel
----------------
This may render poorly in rst. Place them into a code-block
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112936/new/
https://reviews.llvm.org/D112936
More information about the llvm-commits
mailing list