OSDN Git Service

[utils] Fix RISC-V support in update_llc_test_checks.py
authorAlex Bradbury <asb@lowrisc.org>
Thu, 9 Nov 2017 20:01:25 +0000 (20:01 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Thu, 9 Nov 2017 20:01:25 +0000 (20:01 +0000)
scrub_asm_riscv now takes two arguments rather than one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317826 91177308-0d34-0410-b5e6-96231b3b80d8

utils/update_llc_test_checks.py

index c3320f2..9b2df90 100755 (executable)
@@ -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)