llvm.org GIT mirror llvm / 3fa053b
[utils] Fix RISC-V support in update_llc_test_checks.py 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 Alex Bradbury 1 year, 11 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
140140 asm = SCRUB_TRAILING_WHITESPACE_RE.sub(r'', asm)
141141 return asm
142142
143 def scrub_asm_riscv(asm):
143 def scrub_asm_riscv(asm, args):
144144 # Scrub runs of whitespace out of the assembly, but leave the leading
145145 # whitespace in place.
146146 asm = SCRUB_WHITESPACE_RE.sub(r' ', asm)