projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d859271
)
workaround for an IR variable named %.
author
Sanjay Patel
<spatel@rotateright.com>
Sun, 27 Mar 2016 20:44:35 +0000
(20:44 +0000)
committer
Sanjay Patel
<spatel@rotateright.com>
Sun, 27 Mar 2016 20:44:35 +0000
(20:44 +0000)
(which SimplifyCFG can produce...)
llvm-svn: 264543
llvm/utils/update_test_checks.py
patch
|
blob
|
history
diff --git
a/llvm/utils/update_test_checks.py
b/llvm/utils/update_test_checks.py
index
e36af39
..
19b2785
100755
(executable)
--- a/
llvm/utils/update_test_checks.py
+++ b/
llvm/utils/update_test_checks.py
@@
-136,6
+136,8
@@
def genericize_check_lines(lines):
lines_with_def = []
vars_seen = []
for line in lines:
+ # An IR variable named '%.' matches the FileCheck regex string.
+ line = line.replace('%.', '%dot')
m = IR_VALUE_DEF_RE.match(line)
if m:
vars_seen.append(m.group(1))