[llvm] [Utils][update_mc_test_checks] Support generating asm tests from templates. (PR #168946)
Joe Nash via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 21 09:15:35 PST 2025
================
@@ -209,6 +270,14 @@ def update_test(ti: common.TestInfo):
testlines = list(dict.fromkeys(testlines))
common.debug("Valid test line found: ", len(testlines))
+ # Where instruction templates are specified, use them instead.
+ regenerate = False
----------------
Sisyph wrote:
Nit: I'd probably call the flag use_asm_templates instead of regenerate. At least I don't understand what regenerate means in this context.
https://github.com/llvm/llvm-project/pull/168946
More information about the llvm-commits
mailing list