[Alignment][NFC] Allow constexpr Align
[llvm-complete.git] / test / Reduce / Inputs / remove-bbs.py
blob71f099daaba0648cc6da79850a64ded683623d4b
1 import sys
3 InterestingBBs = 0
4 input = open(sys.argv[1], "r")
5 for line in input:
6 i = line.find(';')
7 if i >= 0:
8 line = line[:i]
9 if line.startswith("interesting") or "%interesting" in line:
10 InterestingBBs += 1
12 if InterestingBBs == 6:
13 sys.exit(0) # interesting!
15 sys.exit(1) # IR isn't interesting