[all-commits] [llvm/llvm-project] cc871c: [Polly][Test] Fix race condition while printing do...
Michael Kruse via All-commits
all-commits at lists.llvm.org
Thu May 26 13:59:16 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cc871cf6b50f6a76f2083d192e2254a16832224b
https://github.com/llvm/llvm-project/commit/cc871cf6b50f6a76f2083d192e2254a16832224b
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2022-05-26 (Thu, 26 May 2022)
Changed paths:
M polly/test/ScopDetect/dot-scops-npm.ll
M polly/test/ScopDetect/dot-scops.ll
Log Message:
-----------
[Polly][Test] Fix race condition while printing dot files.
The tests dot-scops.ll and dot-scops-npm.ll both wrote to the same file
scops.func.dot. If they are executed in parallel they will race for
the file. Fix by renaming func to func_npm in dot-scops-npm.ll so this
test writes dot scops.func_npm.dot.
Long-term, we will probably pass a file name (prefix) to the
printer pass such that we can use the guaranteed-unique LIT %t
placeholder in tests.
More information about the All-commits
mailing list