[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / llvm / test / Analysis / CtxProfAnalysis / json_equals.py
blob8b94dda5528c5bd0b551389838ebdbd21a16125e
1 import json
2 import sys
5 def to_json(fname: str):
6 with open(fname) as f:
7 return json.load(f)
10 a = to_json(sys.argv[1])
11 b = to_json(sys.argv[2])
13 if a == b:
14 exit(0)
15 exit(1)