[PATCH] D134409: [utils][UpdateTestChecks] Add unnamed !noundef value support
John McIver via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 21 22:18:59 PDT 2022
jmciver created this revision.
jmciver added reviewers: arichardson, kovdan01, jdoerfert, psoni2628.
Herald added a subscriber: luismarques.
Herald added a project: All.
jmciver requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Add unnamed !noundef value support to Python module
UpdateTestChecks.common. This allows utilities such as update_cc_test_checks.py
to generated automatic tags for IR with unnamed !noundef metadata.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D134409
Files:
llvm/utils/UpdateTestChecks/common.py
Index: llvm/utils/UpdateTestChecks/common.py
===================================================================
--- llvm/utils/UpdateTestChecks/common.py
+++ llvm/utils/UpdateTestChecks/common.py
@@ -739,6 +739,7 @@
NamelessValue(r'GLOB' , '@' , r'@' , None , None , r'[0-9]+' , None , False) ,
NamelessValue(r'GLOB' , '@' , None , r'@' , r'[a-zA-Z0-9_$"\\.-]+' , None , r'.+' , True) ,
NamelessValue(r'DBG' , '!' , r'!dbg ' , None , None , r'![0-9]+' , None , False) ,
+ NamelessValue(r'NOUNDEF' , '!' , r'!noundef ' , None , None , r'![0-9]+' , None , False) ,
NamelessValue(r'PROF' , '!' , r'!prof ' , None , None , r'![0-9]+' , None , False) ,
NamelessValue(r'TBAA' , '!' , r'!tbaa ' , None , None , r'![0-9]+' , None , False) ,
NamelessValue(r'RNG' , '!' , r'!range ' , None , None , r'![0-9]+' , None , False) ,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134409.462080.patch
Type: text/x-patch
Size: 1288 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220922/9e9e0a65/attachment.bin>
More information about the llvm-commits
mailing list