[llvm] r317826 - [utils] Fix RISC-V support in update_llc_test_checks.py
Alex Bradbury via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 12:01:25 PST 2017
Author: asb
Date: Thu Nov 9 12:01:25 2017
New Revision: 317826
URL: http://llvm.org/viewvc/llvm-project?rev=317826&view=rev
Log:
[utils] Fix RISC-V support in update_llc_test_checks.py
scrub_asm_riscv now takes two arguments rather than one.
Modified:
llvm/trunk/utils/update_llc_test_checks.py
Modified: llvm/trunk/utils/update_llc_test_checks.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/update_llc_test_checks.py?rev=317826&r1=317825&r2=317826&view=diff
==============================================================================
--- llvm/trunk/utils/update_llc_test_checks.py (original)
+++ llvm/trunk/utils/update_llc_test_checks.py Thu Nov 9 12:01:25 2017
@@ -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)
More information about the llvm-commits
mailing list