llvm.org GIT mirror llvm / ad73a3d
update_mir_test_checks: Handle empty liveins An empty livein block doesn't make much sense (why not just omit it?) but they're legal and some tests have them, so its best to handle it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316089 91177308-0d34-0410-b5e6-96231b3b80d8 Justin Bogner 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3939 VREG_DEF_RE = re.compile(
4040 r'^ *(?P{0}(?:, {0})*) '
4141 r'= (?P[A-Zt][A-Za-z0-9_]+)'.format(VREG_RE.pattern))
42 PREFIX_DATA_RE = re.compile(r'^ *(;|bb.[0-9].*: *$|[a-z]+: |$)')
42 PREFIX_DATA_RE = re.compile(r'^ *(;|bb.[0-9].*: *$|[a-z]+:( |$)|$)')
4343
4444 MIR_FUNC_RE = re.compile(
4545 r'^---$'