Index: szdiff.py |
diff --git a/szdiff.py b/szdiff.py |
index b25681f33cb2ad9ee25619dd9e81d868652fff8f..dc2db8c9303c6e3236fe4b771f13608d6c5203aa 100755 |
--- a/szdiff.py |
+++ b/szdiff.py |
@@ -72,9 +72,8 @@ if __name__ == '__main__': |
lines_total = 0 |
lines_diff = 0 |
ignore_pattern = re.compile( |
- '|'.join([' -[0-9]', # negative constants |
- ' (float|double) [-0-9]', # FP constants |
- ' (float|double) %\w+, [-0-9]', |
+ '|'.join(['[ (](float|double) [-0-9]', # FP constants |
+ '[ (](float|double) %\w+, [-0-9]', |
' @llvm\..*i\d+\*', # intrinsic calls w/ pointer args |
' i\d+\* @llvm\.', # intrinsic calls w/ pointer ret |
' inttoptr ', # inttoptr pointer types |