[X86] combineTargetShuffle - commute VPERMV3 shuffles so any load is on the RHS
[llvm-project.git] / llvm / utils / rsp_bisect_test / test_script_inv.py
blob31055c91ec96682fbbea05be60f6911392dc824d
1 #!/usr/bin/env python3
2 # ===----------------------------------------------------------------------===##
4 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 # See https://llvm.org/LICENSE.txt for license information.
6 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 # ===----------------------------------------------------------------------===##
10 import os
11 import sys
13 rsp_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "rsp")
15 with open(rsp_path) as f:
16 success = "../Other/./foo" in f.read()
18 sys.exit(1 if success else 0)