remove-multiple-use-of-global-vars-in-same-instruction.py 220 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 import sys FunctionCallPresent = False input = open(sys.argv[1], "r") for line in input: if "call void @use" in line: FunctionCallPresent = True if FunctionCallPresent: sys.exit(0) # Interesting! sys.exit(1)