[all-commits] [llvm/llvm-project] 57cb84: Point replay file to non-existent dummy

Steven Wan via All-commits all-commits at lists.llvm.org
Fri Oct 29 08:59:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57cb84f5a232e70875a935e4394d5f700c9a8da3
      https://github.com/llvm/llvm-project/commit/57cb84f5a232e70875a935e4394d5f700c9a8da3
  Author: Steven Wan <wanyu9511 at gmail.com>
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
    M llvm/test/Transforms/Inline/cgscc-inline-replay.ll
    M llvm/test/Transforms/SampleProfile/inline-replay.ll

  Log Message:
  -----------
  Point replay file to non-existent dummy

Operating systems such as AIX allow open and read on directories, passing in a direcotry as the replay file triggers `Invalid remark format` instead of `Could not open remarks file: Is a directory`. This patch substitutes the directory with a non-existent filename. The current filecheck should still work as-is.

Reviewed By: modimo, Whitney

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




More information about the All-commits mailing list