[all-commits] [llvm/llvm-project] d15365: [test][NFC] Guard one test case against LLVM check...

WÁNG Xuěruì via All-commits all-commits at lists.llvm.org
Sun Dec 11 05:32:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d15365522a7189fd0b937c2602a5ed0cebaaa4d5
      https://github.com/llvm/llvm-project/commit/d15365522a7189fd0b937c2602a5ed0cebaaa4d5
  Author: WANG Xuerui <git at xen0n.name>
  Date:   2022-12-11 (Sun, 11 Dec 2022)

  Changed paths:
    M llvm/test/Transforms/GVNHoist/non-trivial-phi.ll

  Log Message:
  -----------
  [test][NFC] Guard one test case against LLVM checkouts at interesting paths

Previously only the "store" string was being checked for not appearing
twice, but unfortunately the check also looked at the ModuleID and
source_filename lines, so the test case would fail if the LLVM
checkout's absolute path contained the substring "store".

Fix this spurious test failure by tweaking the invocation so the full
path no longer shows up in the output.

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




More information about the All-commits mailing list