[all-commits] [llvm/llvm-project] a8a89c: [utils] Reflow asm check generation to tolerate bl...

Simon Atanasyan via All-commits all-commits at lists.llvm.org
Thu Oct 31 23:43:41 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a8a89c77ea3c16b45763fca6940bbfd3bef7884f
      https://github.com/llvm/llvm-project/commit/a8a89c77ea3c16b45763fca6940bbfd3bef7884f
  Author: Simon Atanasyan <simon at atanasyan.com>
  Date:   2019-11-01 (Fri, 01 Nov 2019)

  Changed paths:
    M llvm/test/CodeGen/Mips/inlineasm-constraint-reg64.ll
    M llvm/utils/UpdateTestChecks/asm.py
    M llvm/utils/UpdateTestChecks/common.py

  Log Message:
  -----------
  [utils] Reflow asm check generation to tolerate blank lines

This change introduces two fixes. The second fix allows to generate
a test to check the first fix.

- Output `CHECK-EMPTY` prefix for an empty line in ASM output. Before that
  fix `update_llc_test_checks.py` incorrectly emits `CHECK-NEXT: <space>`
  prefix.
- Fix the `ASM_FUNCTION_MIPS_RE` regex to stop on a real function
  epilogue not on an inline assembler prologue and include inline
  assembler code into a test.

Differential Revision: https://reviews.llvm.org/D47192




More information about the All-commits mailing list