[Alignment][NFC] Allow constexpr Align
[llvm-complete.git] / test / Reduce / Inputs / remove-instructions.py
blob9717c73b01aa73dff07fa56096304f8702dcab40
1 import sys
3 InterestingInstructions = 0
5 input = open(sys.argv[1], "r")
6 for line in input:
7 i = line.find(';')
8 if i >= 0:
9 line = line[:i]
10 if "%interesting" in line:
11 InterestingInstructions += 1
12 print(InterestingInstructions)
14 if InterestingInstructions == 5:
15 sys.exit(0) # interesting!
17 sys.exit(1)