[all-commits] [llvm/llvm-project] c5d53e: [test] Fix mix of variable use/def and regex match

RoboTux via All-commits all-commits at lists.llvm.org
Wed Mar 24 10:58:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5d53efeff5ca3943af6684e999c8802d9f48702
      https://github.com/llvm/llvm-project/commit/c5d53efeff5ca3943af6684e999c8802d9f48702
  Author: Thomas Preud'homme <thomasp at graphcore.ai>
  Date:   2021-03-24 (Wed, 24 Mar 2021)

  Changed paths:
    M llvm/test/Transforms/GlobalSplit/basic.ll

  Log Message:
  -----------
  [test] Fix mix of variable use/def and regex match

LLVM test Transforms/GlobalSplit/basic.ll mixes variable definition and
variable use with regex matching of end of line. Mixing end of line
matching with variable definition will work but not record the end of
line in the string variable. Mixing end of line with variable use will
ignore end of line and cause an error once D98691 is landed.

This commit moves the end of line matching out of the string subtitution
blocks.

Reviewed By: tejohnson

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




More information about the All-commits mailing list