[all-commits] [llvm/llvm-project] b79044: [test] Fix incorrect use of string variable use

RoboTux via All-commits all-commits at lists.llvm.org
Thu Mar 18 05:20:01 PDT 2021


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

  Changed paths:
    M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll

  Log Message:
  -----------
  [test] Fix incorrect use of string variable use

LLVM test CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll uses
a string substitution block that contains a regex matching block. This
seems like as a copy/paste from other similar test where the match also
defines a variable, hence the [[]] syntax. In this case however this is
a CHECK-NOT variable so nothing should match. No variable definition is
thus expected and the square brackets can be dropped.

Reviewed By: chill

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




More information about the All-commits mailing list