repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git]
/
llvm
/
test
/
Analysis
/
CtxProfAnalysis
/
json_equals.py
blob
8b94dda5528c5bd0b551389838ebdbd21a16125e
1
import
json
2
import
sys
3
4
5
def
to_json
(
fname
:
str
):
6
with
open
(
fname
)
as
f
:
7
return
json
.
load
(
f
)
8
9
10
a
=
to_json
(
sys
.
argv
[
1
])
11
b
=
to_json
(
sys
.
argv
[
2
])
12
13
if
a
==
b
:
14
exit
(
0
)
15
exit
(
1
)