[utils] Fix RISC-V support in update_llc_test_checks.py

scrub_asm_riscv now takes two arguments rather than one.

llvm-svn: 317826
This commit is contained in:
Alex Bradbury 2017-11-09 20:01:25 +00:00
parent 1c8c544946
commit 2af11919eb
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ def scrub_asm_powerpc64(asm, args):
asm = SCRUB_TRAILING_WHITESPACE_RE.sub(r'', asm)
return asm
def scrub_asm_riscv(asm):
def scrub_asm_riscv(asm, args):
# Scrub runs of whitespace out of the assembly, but leave the leading
# whitespace in place.
asm = SCRUB_WHITESPACE_RE.sub(r' ', asm)