summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Bradbury <asb@lowrisc.org>2017-11-09 20:01:25 +0000
committerAlex Bradbury <asb@lowrisc.org>2017-11-09 20:01:25 +0000
commit2af11919eb009319fae38c9afd7c75254bb671f6 (patch)
treecf9d5d9c7f67dbd875f2ddd752215992687c09dc
parent1c8c544946a21ee46261dee56ffc1fbea1515209 (diff)
downloadbcm5719-llvm-2af11919eb009319fae38c9afd7c75254bb671f6.tar.gz
bcm5719-llvm-2af11919eb009319fae38c9afd7c75254bb671f6.zip
[utils] Fix RISC-V support in update_llc_test_checks.py
scrub_asm_riscv now takes two arguments rather than one. llvm-svn: 317826
-rwxr-xr-xllvm/utils/update_llc_test_checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/update_llc_test_checks.py b/llvm/utils/update_llc_test_checks.py
index c3320f204a0..9b2df90ad39 100755
--- a/llvm/utils/update_llc_test_checks.py
+++ b/llvm/utils/update_llc_test_checks.py
@@ -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)
OpenPOWER on IntegriCloud