From 2af11919eb009319fae38c9afd7c75254bb671f6 Mon Sep 17 00:00:00 2001 From: Alex Bradbury Date: Thu, 9 Nov 2017 20:01:25 +0000 Subject: [PATCH] [utils] Fix RISC-V support in update_llc_test_checks.py scrub_asm_riscv now takes two arguments rather than one. llvm-svn: 317826 --- llvm/utils/update_llc_test_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/update_llc_test_checks.py b/llvm/utils/update_llc_test_checks.py index c3320f2..9b2df90 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) -- 2.7.4