Index: llvm/utils/UpdateTestChecks/asm.py =================================================================== --- llvm/utils/UpdateTestChecks/asm.py +++ llvm/utils/UpdateTestChecks/asm.py @@ -63,6 +63,8 @@ ASM_FUNCTION_M68K_RE = re.compile( r'^_?(?P[^:]+):[ \t]*;[ \t]*@"?(?P=func)"?\n' + r'(?:\.L(?P=func)\$local:\n)?' # drop .L$local: + r'(?:[ \t]+\.type[ \t]+\.L(?P=func)\$local,@function\n)?' # drop .type .L$local,@function r'(?P.*?)\s*' # (body of the function) r'.Lfunc_end[0-9]+:\n', flags=(re.M | re.S))