-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not mandate order of outlined tape functions in split tape lit test (
#1228) There is a [test](https://github.com/PennyLaneAI/catalyst/blob/main/mlir/test/Quantum/SplitMultipleTapesTest.mlir#L67) in the split tape lit tests where there are two multi-tape functions in a module, and we split both of them. It is unclear why, but on CI the outlined single-tape functions are, very occasionally (about 4 times in 3 months), processed and/or outlined in the reversed order. This behavior was unable to be reproduced over 12*2e9 local runs. #1130 was an attempt to fix this, which did reduce the flaky frequency by a lot; however there is a small remaining mysterious flakiness. Recognizing that the outlined single-tape functions' order does not actually matter, we change the `CHECK`s to `CHECK-DAG`s, which do not mandate the order of the checked string during filecheck.
- Loading branch information
Showing
1 changed file
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters