teak-llvm/llvm/test/Reduce/Inputs/remove-metadata.py
David Blaikie 477c1df4b9 llvm-reduce: Add pass to reduce Metadata
Patch by Diego Treviño!

Differential Revision: https://reviews.llvm.org/D65026

llvm-svn: 371562
2019-09-10 22:09:58 +00:00

9 lines
120 B
Python
Executable File

import sys
input = open(sys.argv[1], "r")
for line in input:
if "!interesting" in line:
sys.exit(0)
sys.exit(1)