Skip to content

Instantly share code, notes, and snippets.

@certik
Created March 27, 2020 21:41
Show Gist options
  • Select an option

  • Save certik/3c0482cf7886b92d293342ee41b2e82c to your computer and use it in GitHub Desktop.

Select an option

Save certik/3c0482cf7886b92d293342ee41b2e82c to your computer and use it in GitHub Desktop.
[ 0%] Built target intrinsics_gen
[ 90%] Built target LLVMEnzyme-8
[100%] Running enzyme regression tests
-- Testing: 139 tests, 8 threads --
PASS: Enzyme :: Enzyme/add.ll (1 of 139)
PASS: Enzyme :: Enzyme/addOneMem.ll (2 of 139)
PASS: Enzyme :: Enzyme/augmentconst.ll (3 of 139)
PASS: Enzyme :: Enzyme/badarg.ll (4 of 139)
PASS: Enzyme :: Enzyme/badcall.ll (5 of 139)
PASS: Enzyme :: Enzyme/badcall2.ll (6 of 139)
PASS: Enzyme :: Enzyme/badcall4.ll (7 of 139)
PASS: Enzyme :: Enzyme/alloctomalloc.ll (8 of 139)
PASS: Enzyme :: Enzyme/badcall3.ll (9 of 139)
PASS: Enzyme :: Enzyme/allocacache.ll (10 of 139)
PASS: Enzyme :: Enzyme/badcallused.ll (11 of 139)
PASS: Enzyme :: Enzyme/bitcast.ll (12 of 139)
PASS: Enzyme :: Enzyme/badcallused2.ll (13 of 139)
PASS: Enzyme :: Enzyme/call.ll (14 of 139)
PASS: Enzyme :: Enzyme/bounds2.ll (15 of 139)
PASS: Enzyme :: Enzyme/callmod.ll (16 of 139)
PASS: Enzyme :: Enzyme/cachelocations.ll (17 of 139)
PASS: Enzyme :: Enzyme/bounds.ll (18 of 139)
PASS: Enzyme :: Enzyme/callmod2.ll (19 of 139)
PASS: Enzyme :: Enzyme/constant.ll (20 of 139)
PASS: Enzyme :: Enzyme/callmodexternal.ll (21 of 139)
PASS: Enzyme :: Enzyme/badconstmalloc.ll (22 of 139)
PASS: Enzyme :: Enzyme/callvalue.ll (23 of 139)
PASS: Enzyme :: Enzyme/cos.ll (24 of 139)
PASS: Enzyme :: Enzyme/custom-noaugmenttape.ll (25 of 139)
PASS: Enzyme :: Enzyme/custom-nostruct.ll (26 of 139)
PASS: Enzyme :: Enzyme/div.ll (27 of 139)
PASS: Enzyme :: Enzyme/custom.ll (28 of 139)
PASS: Enzyme :: Enzyme/custom-nostructtape.ll (29 of 139)
PASS: Enzyme :: Enzyme/doublereplace.ll (30 of 139)
PASS: Enzyme :: Enzyme/dynamicphi.ll (31 of 139)
PASS: Enzyme :: Enzyme/ensurealignment.ll (32 of 139)
XFAIL: Enzyme :: Enzyme/diffelayout.ll (33 of 139)
PASS: Enzyme :: Enzyme/exp.ll (34 of 139)
PASS: Enzyme :: Enzyme/duplicatemalloc.ll (35 of 139)
PASS: Enzyme :: Enzyme/exp2.ll (36 of 139)
PASS: Enzyme :: Enzyme/fabs.ll (37 of 139)
PASS: Enzyme :: Enzyme/cppllist.ll (38 of 139)
PASS: Enzyme :: Enzyme/gepoffset.ll (39 of 139)
PASS: Enzyme :: Enzyme/geptransfer.ll (40 of 139)
PASS: Enzyme :: Enzyme/global.ll (41 of 139)
PASS: Enzyme :: Enzyme/ffib.ll (42 of 139)
PASS: Enzyme :: Enzyme/geptransferstruct.ll (43 of 139)
PASS: Enzyme :: Enzyme/geptransferstruct2.ll (44 of 139)
PASS: Enzyme :: Enzyme/geptransferindirect.ll (45 of 139)
PASS: Enzyme :: Enzyme/ifcrash.ll (46 of 139)
PASS: Enzyme :: Enzyme/indirectsubcall.ll (47 of 139)
PASS: Enzyme :: Enzyme/hascast.ll (48 of 139)
PASS: Enzyme :: Enzyme/insertsort.ll (49 of 139)
PASS: Enzyme :: Enzyme/initializeret.ll (50 of 139)
PASS: Enzyme :: Enzyme/initialize.ll (51 of 139)
PASS: Enzyme :: Enzyme/intdouble.ll (52 of 139)
PASS: Enzyme :: Enzyme/intprintf.ll (53 of 139)
PASS: Enzyme :: Enzyme/intstore.ll (54 of 139)
PASS: Enzyme :: Enzyme/initializemany.ll (55 of 139)
PASS: Enzyme :: Enzyme/intstore2.ll (56 of 139)
PASS: Enzyme :: Enzyme/intsum.ll (57 of 139)
PASS: Enzyme :: Enzyme/invertselect.ll (58 of 139)
PASS: Enzyme :: Enzyme/inttoptrand1.ll (59 of 139)
PASS: Enzyme :: Enzyme/log10.ll (60 of 139)
PASS: Enzyme :: Enzyme/itermax.ll (61 of 139)
PASS: Enzyme :: Enzyme/log.ll (62 of 139)
PASS: Enzyme :: Enzyme/log2.ll (63 of 139)
PASS: Enzyme :: Enzyme/maxnum.ll (64 of 139)
PASS: Enzyme :: Enzyme/max.ll (65 of 139)
PASS: Enzyme :: Enzyme/logsumexp-try.ll (66 of 139)
PASS: Enzyme :: Enzyme/memcpy-intstruct.ll (67 of 139)
PASS: Enzyme :: Enzyme/matvec-try.ll (68 of 139)
PASS: Enzyme :: Enzyme/memcpy-flt.ll (69 of 139)
PASS: Enzyme :: Enzyme/llist.ll (70 of 139)
PASS: Enzyme :: Enzyme/memcpy-ptr.ll (71 of 139)
PASS: Enzyme :: Enzyme/minnum.ll (72 of 139)
PASS: Enzyme :: Enzyme/metaloadcache.ll (73 of 139)
PASS: Enzyme :: Enzyme/mul.ll (74 of 139)
PASS: Enzyme :: Enzyme/metainitialize.ll (75 of 139)
PASS: Enzyme :: Enzyme/muladdstore.ll (76 of 139)
PASS: Enzyme :: Enzyme/noptrcasttransfer.ll (77 of 139)
PASS: Enzyme :: Enzyme/phiactivity.ll (78 of 139)
PASS: Enzyme :: Enzyme/nestedint.ll (79 of 139)
PASS: Enzyme :: Enzyme/pointertypeipo.ll (80 of 139)
PASS: Enzyme :: Enzyme/pow.ll (81 of 139)
PASS: Enzyme :: Enzyme/ptrstructtype.ll (82 of 139)
XFAIL: Enzyme :: Enzyme/globalptr.ll (83 of 139)
PASS: Enzyme :: Enzyme/readwriteread-enzyme1.ll (84 of 139)
PASS: Enzyme :: Enzyme/relu.ll (85 of 139)
PASS: Enzyme :: Enzyme/nllist.ll (86 of 139)
PASS: Enzyme :: Enzyme/recursum.ll (87 of 139)
PASS: Enzyme :: Enzyme/retptr.ll (88 of 139)
PASS: Enzyme :: Enzyme/secretdoublevectorint.ll (89 of 139)
PASS: Enzyme :: Enzyme/shadow1.ll (90 of 139)
PASS: Enzyme :: Enzyme/shadow2.ll (91 of 139)
UNRESOLVED: Enzyme :: Enzyme/sin2.ll (92 of 139)
******************** TEST 'Enzyme :: Enzyme/sin2.ll' FAILED ********************
Test has no run line!
********************
PASS: Enzyme :: Enzyme/shadow3.ll (93 of 139)
FAIL: Enzyme :: Enzyme/sin.ll (94 of 139)
******************** TEST 'Enzyme :: Enzyme/sin.ll' FAILED ********************
Script:
--
: 'RUN: at line 1'; /usr/lib/llvm-8/bin/opt < /home/ondrej/repos/Enzyme/enzyme/test/Enzyme/sin.ll -load=/home/ondrej/repos/Enzyme/enzyme/build/Enzyme/LLVMEnzyme-8.so -enzyme -enzyme_preopt=false -O3 -S | FileCheck /home/ondrej/repos/Enzyme/enzyme/test/Enzyme/sin.ll
--
Exit Code: 1
Command Output (stderr):
--
/home/ondrej/repos/Enzyme/enzyme/test/Enzyme/sin.ll:27:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: %0 = tail call fast double @llvm.cos.f64(double %x)
^
<stdin>:14:2: note: scanning from here
%factor.i = fmul fast double %x, 2.000000e+00
^
<stdin>:14:9: note: possible intended match here
%factor.i = fmul fast double %x, 2.000000e+00
^
--
********************
PASS: Enzyme :: Enzyme/specialint.ll (95 of 139)
PASS: Enzyme :: Enzyme/sploop.ll (96 of 139)
PASS: Enzyme :: Enzyme/simpleeigen-try.ll (97 of 139)
PASS: Enzyme :: Enzyme/sqrt.ll (98 of 139)
PASS: Enzyme :: Enzyme/sqrtrelu.ll (99 of 139)
PASS: Enzyme :: Enzyme/storeconstexpr.ll (100 of 139)
PASS: Enzyme :: Enzyme/square.ll (101 of 139)
PASS: Enzyme :: Enzyme/storeconstintfloat.ll (102 of 139)
PASS: Enzyme :: Enzyme/storetbaa.ll (103 of 139)
PASS: Enzyme :: Enzyme/storeconstintfloat2.ll (104 of 139)
PASS: Enzyme :: Enzyme/storenull.ll (105 of 139)
PASS: Enzyme :: Enzyme/sub.ll (106 of 139)
PASS: Enzyme :: Enzyme/structtbaa.ll (107 of 139)
XFAIL: Enzyme :: Enzyme/orderingbug.ll (108 of 139)
PASS: Enzyme :: Enzyme/submemcpy.ll (109 of 139)
XFAIL: Enzyme :: Enzyme/subtypeviareturn.ll (110 of 139)
XFAIL: Enzyme :: Enzyme/pointertypeipo2.ll (111 of 139)
PASS: Enzyme :: Enzyme/sum.ll (112 of 139)
PASS: Enzyme :: Enzyme/subnoaugment.ll (113 of 139)
PASS: Enzyme :: Enzyme/sumbr.ll (114 of 139)
XFAIL: Enzyme :: Enzyme/pointertypeipo3.ll (115 of 139)
PASS: Enzyme :: Enzyme/sumbr3.ll (116 of 139)
PASS: Enzyme :: Enzyme/sumbrdyn.ll (117 of 139)
PASS: Enzyme :: Enzyme/sumbr2.ll (118 of 139)
PASS: Enzyme :: Enzyme/summer.ll (119 of 139)
PASS: Enzyme :: Enzyme/sumsimple.ll (120 of 139)
PASS: Enzyme :: Enzyme/sumsimpleoptnone.ll (121 of 139)
PASS: Enzyme :: Enzyme/sumsquare.ll (122 of 139)
XFAIL: Enzyme :: Enzyme/subdoublestore.ll (123 of 139)
PASS: Enzyme :: Enzyme/sumwithbreak.ll (124 of 139)
PASS: Enzyme :: Enzyme/tlog.ll (125 of 139)
PASS: Enzyme :: Enzyme/sumwithbreak-fake.ll (126 of 139)
PASS: Enzyme :: Enzyme/twophi.ll (127 of 139)
PASS: Enzyme :: Enzyme/trackIntkeepboth.ll (128 of 139)
PASS: Enzyme :: Enzyme/uitofperr.ll (129 of 139)
PASS: Enzyme :: Enzyme/triangular.ll (130 of 139)
PASS: Enzyme :: Enzyme/undefalloc.ll (131 of 139)
PASS: Enzyme :: Enzyme/unknownloopiters.ll (132 of 139)
PASS: Enzyme :: Enzyme/unusedretptr.ll (133 of 139)
PASS: Enzyme :: Enzyme/vccall.ll (134 of 139)
PASS: Enzyme :: Enzyme/vecrelu.ll (135 of 139)
PASS: Enzyme :: Enzyme/unwrapload.ll (136 of 139)
PASS: Enzyme :: Enzyme/malloctonullptr.ll (137 of 139)
PASS: Enzyme :: Enzyme/wd.ll (138 of 139)
XFAIL: Enzyme :: Enzyme/wq.ll (139 of 139)
Testing Time: 1.61s
********************
Failing Tests (1):
Enzyme :: Enzyme/sin.ll
********************
Unresolved Tests (1):
Enzyme :: Enzyme/sin2.ll
Expected Passes : 129
Expected Failures : 8
Unresolved Tests : 1
Unexpected Failures: 1
test/Enzyme/CMakeFiles/check-enzyme.dir/build.make:57: recipe for target 'test/Enzyme/CMakeFiles/check-enzyme' failed
make[3]: *** [test/Enzyme/CMakeFiles/check-enzyme] Error 1
CMakeFiles/Makefile2:325: recipe for target 'test/Enzyme/CMakeFiles/check-enzyme.dir/all' failed
make[2]: *** [test/Enzyme/CMakeFiles/check-enzyme.dir/all] Error 2
CMakeFiles/Makefile2:332: recipe for target 'test/Enzyme/CMakeFiles/check-enzyme.dir/rule' failed
make[1]: *** [test/Enzyme/CMakeFiles/check-enzyme.dir/rule] Error 2
Makefile:216: recipe for target 'check-enzyme' failed
make: *** [check-enzyme] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment