Skip to content

Commit a824259

Browse files
committed
done
1 parent 5b3486f commit a824259

7 files changed

+75
-8
lines changed

tests/reference/asr-bindc_01-6d521a9.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"basename": "asr-bindc_01-6d521a9",
33
"cmd": "lpython --show-asr --no-color {infile} -o {outfile}",
44
"infile": "tests/../integration_tests/bindc_01.py",
5-
"infile_hash": "ce44dc48f31bcf876253727ca139210d99193565be1cf9b5fd3dea40",
5+
"infile_hash": "3402ae1e5ed454e63ac3105da5d7264c880b666ac0ae672bf6b2dcfe",
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-bindc_01-6d521a9.stdout",

tests/reference/asr-bindc_02-bc1a7ea.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"basename": "asr-bindc_02-bc1a7ea",
33
"cmd": "lpython --show-asr --no-color {infile} -o {outfile}",
44
"infile": "tests/../integration_tests/bindc_02.py",
5-
"infile_hash": "f7a7faa22c2440be545994170ef21f451ce95960c7c7c217db5221fb",
5+
"infile_hash": "b63020f2df6e1cdbc6bd3fd8ef551b6b62fda00345bbeb12c7b94305",
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-bindc_02-bc1a7ea.stdout",
9-
"stdout_hash": "3165b2da8871ec50f1243662d58fe93d7b92c3166ef180eca07d2152",
9+
"stdout_hash": "2017ce7ad8eb4648d2694de7fce0551975d37d2357f65d9f132c961d",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-bindc_02-bc1a7ea.stdout

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

tests/reference/asr-structs_02-2ab459a.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"basename": "asr-structs_02-2ab459a",
33
"cmd": "lpython --show-asr --no-color {infile} -o {outfile}",
44
"infile": "tests/../integration_tests/structs_02.py",
5-
"infile_hash": "f18e545de56936a4906c0d46d9ecb80472bd4d69ecdfe98cd4d6b09f",
5+
"infile_hash": "de732ccae77457ef2eb696bd3501e6623d437573974df4281b09dc97",
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-structs_02-2ab459a.stdout",

tests/reference/llvm-bindc_01-c984f09.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"basename": "llvm-bindc_01-c984f09",
33
"cmd": "lpython --no-color --show-llvm {infile} -o {outfile}",
44
"infile": "tests/../integration_tests/bindc_01.py",
5-
"infile_hash": "ce44dc48f31bcf876253727ca139210d99193565be1cf9b5fd3dea40",
5+
"infile_hash": "3402ae1e5ed454e63ac3105da5d7264c880b666ac0ae672bf6b2dcfe",
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "llvm-bindc_01-c984f09.stdout",

tests/reference/llvm-bindc_02-3cf74e9.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"basename": "llvm-bindc_02-3cf74e9",
33
"cmd": "lpython --no-color --show-llvm {infile} -o {outfile}",
44
"infile": "tests/../integration_tests/bindc_02.py",
5-
"infile_hash": "f7a7faa22c2440be545994170ef21f451ce95960c7c7c217db5221fb",
5+
"infile_hash": "b63020f2df6e1cdbc6bd3fd8ef551b6b62fda00345bbeb12c7b94305",
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "llvm-bindc_02-3cf74e9.stdout",
9-
"stdout_hash": "2c302f0eb152f17058d91d8af1c12d33c16e227dafc9e944a1b62873",
9+
"stdout_hash": "015348d48e81b4ef8de4dbd35c79447c9a642b1f52ad2a8ab327aafd",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/llvm-bindc_02-3cf74e9.stdout

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ source_filename = "LFortran"
33

44
%array = type { i16*, i32, %dimension_descriptor*, i1, i32 }
55
%dimension_descriptor = type { i32, i32, i32 }
6+
%complex_8 = type { double, double }
67

78
@queries = global void* null
89
@x = global %array* null
10+
@pi_32 = global float 0x400921FB60000000
11+
@pi_64 = global double 0x400921FB54442D18
912
@0 = private unnamed_addr constant [2 x i8] c" \00", align 1
1013
@1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
1114
@2 = private unnamed_addr constant [13 x i8] c"%lld%s%lld%s\00", align 1
@@ -245,6 +248,70 @@ return: ; preds = %ifcont3
245248
ret void
246249
}
247250

251+
declare float @_lfortran_caimag([2 x float])
252+
253+
declare double @_lfortran_zaimag(%complex_8)
254+
255+
declare double @_lfortran_dacos(double)
256+
257+
declare double @_lfortran_dacosh(double)
258+
259+
declare double @_lfortran_dasin(double)
260+
261+
declare double @_lfortran_dasinh(double)
262+
263+
declare double @_lfortran_datan(double)
264+
265+
declare double @_lfortran_datanh(double)
266+
267+
declare double @_lfortran_dcos(double)
268+
269+
declare double @_lfortran_dcosh(double)
270+
271+
declare double @_lfortran_dexp(double)
272+
273+
declare double @_lfortran_dlog(double)
274+
275+
declare double @_lfortran_dlog10(double)
276+
277+
declare double @_lfortran_dsin(double)
278+
279+
declare double @_lfortran_dsinh(double)
280+
281+
declare double @_lfortran_dtan(double)
282+
283+
declare double @_lfortran_dtanh(double)
284+
285+
declare float @_lfortran_sacos(float)
286+
287+
declare float @_lfortran_sacosh(float)
288+
289+
declare float @_lfortran_sasin(float)
290+
291+
declare float @_lfortran_sasinh(float)
292+
293+
declare float @_lfortran_satan(float)
294+
295+
declare float @_lfortran_satanh(float)
296+
297+
declare float @_lfortran_scos(float)
298+
299+
declare float @_lfortran_scosh(float)
300+
301+
declare float @_lfortran_sexp(float)
302+
303+
declare float @_lfortran_slog(float)
304+
305+
declare float @_lfortran_slog10(float)
306+
307+
declare float @_lfortran_ssin(float)
308+
309+
declare float @_lfortran_ssinh(float)
310+
311+
declare float @_lfortran_stan(float)
312+
313+
declare float @_lfortran_stanh(float)
314+
248315
declare void @_lfortran_printf(i8*, ...)
249316

250317
declare void @_lcompilers_print_error(i8*, ...)

0 commit comments

Comments
 (0)