emscripten/tests/cases
Alon Zakai 8608181c81 fastcomp updates and a test for fptosi|ui on floats and doubles 2014-01-22 13:09:56 -08:00
..
2xi40.ll improve [2 x i40] testcase 2013-10-25 11:20:42 -07:00
2xi40.txt handle internal illegal iX fields in calculateStructAlignment 2013-10-25 11:10:01 -07:00
514_ta2.ll more fixes for test_cases for fastcomp 2013-12-13 18:18:50 -08:00
514_ta2.txt fix cases/514.ll for s_x_x 2012-07-17 14:40:15 -07:00
abs.ll check both original short ident and redirected ident for being a library function, so redirects to Math.* work 2013-03-31 15:07:59 -07:00
aliasbitcast.ll various fixes for test_cases for fastcomp 2013-12-13 16:59:06 -08:00
aliasbitcast2_noasm.ll disable some test_cases undefined behavior cases for asm 2012-12-07 14:23:20 -08:00
aliasbitcast3_noasm.ll disable some test_cases undefined behavior cases for asm 2012-12-07 14:23:20 -08:00
aliasbitcastdollar_noasm.ll disable some test_cases undefined behavior cases for asm 2012-12-07 14:23:20 -08:00
alignedunaligned.ll fix asm*.test_cases 2013-03-18 10:35:21 -07:00
alignedunaligned.txt fix bugs with aligned memcpy/memset with an unaligned number of bytes operated on 2012-01-08 17:39:06 -08:00
allocavartop.ll handle the case of the initial alloca being a variable one 2012-02-14 20:05:13 -05:00
atomicrmw.ll various fixes for test_cases for fastcomp 2013-12-13 16:59:06 -08:00
atomicrmw.txt fix bug with atomic ops not marked as having side effects, so we eliminated them by mistake 2012-01-20 17:40:36 -08:00
atomicrmw_unaligned.emcc asm coerce in atomicrmw; fixes #1637 2013-09-23 16:03:06 -07:00
atomicrmw_unaligned.ll various fixes for test_cases for fastcomp 2013-12-13 16:59:06 -08:00
atomicrmw_unaligned.txt asm coerce in atomicrmw; fixes #1637 2013-09-23 16:03:06 -07:00
breakinthemiddle.ll various fixes for test_cases for fastcomp 2013-12-13 16:59:06 -08:00
breakinthemiddle2.ll clean up some more tests/cases 2014-01-13 10:53:22 -08:00
caall.ll final test_cases fixes for fastcomp 2013-12-15 14:24:20 -08:00
call_i64_noret.ll fix legalization of nonexistent call return values 2013-04-13 09:27:31 -07:00
callalias.ll handle calls to aliases in asm 2013-03-01 12:36:44 -05:00
callalias2.ll add another testcase 2013-03-01 12:39:06 -05:00
callundef.ll turn calls to undef into aborts, so they asmify 2013-03-13 10:37:45 -07:00
callwithstructural64_ta2.ll fix test_cases/callwithstructural 2013-08-27 10:16:57 -07:00
callwithstructural64_ta2.txt fix test_cases/callwithstructural 2013-08-27 10:16:57 -07:00
callwithstructural_ta2.ll fix test_cases/callwithstructural 2013-08-27 10:16:57 -07:00
callwithstructural_ta2.txt fix test_cases/callwithstructural 2013-08-27 10:16:57 -07:00
cmpxchg_volatile.ll parse volatile in cmpxchg, closes #875 2013-03-03 08:29:07 -08:00
complexphi.ll more fixes for test_cases for fastcomp 2013-12-13 18:18:50 -08:00
ctors_cast.ll properly parse ctors fully; fixes #1155 2013-10-14 12:03:55 -07:00
ctors_cast.txt properly parse ctors fully; fixes #1155 2013-10-14 12:03:55 -07:00
dash.ll various fixes for test_cases for fastcomp 2013-12-13 16:59:06 -08:00
emptyalloca.ll handle a single empty alloca; fixes #1919 2013-12-16 17:45:47 -08:00
emptyasm_le32.ll more fixes for test_cases for fastcomp 2013-12-13 18:18:50 -08:00
emptystruct.ll handle globals with no value and no zeroinit 2013-05-24 14:24:57 -07:00
entry2.ll simplify handling of anonymous entry blocks; fixes #948 2013-03-25 17:27:23 -07:00
entry2.txt simplify handling of anonymous entry blocks; fixes #948 2013-03-25 17:27:23 -07:00
entry3.ll yet more fixes for test_cases for fastcomp 2013-12-13 19:08:59 -08:00
entry3.txt simplify and correct the logic for falling back to the entry ident when an invalid label id shows up; fixes #1399 2013-07-19 16:01:09 -07:00
extendedprecision.ll fix tests/cases/extendedprecision.ll 2013-01-18 16:48:50 -08:00
floatreturningfuncptr.ll correctly detect type of outputs of call to function pointers 2013-03-22 13:41:56 -07:00
fptosi.ll fastcomp updates and a test for fptosi|ui on floats and doubles 2014-01-22 13:09:56 -08:00
fptosi.txt fastcomp updates and a test for fptosi|ui on floats and doubles 2014-01-22 13:09:56 -08:00
frem.ll Support frem instruction 2012-04-09 14:40:45 -07:00
frem.txt Support frem instruction 2012-04-09 14:40:45 -07:00
funcptr.ll more fixes for test_cases for fastcomp 2013-12-13 18:18:50 -08:00
funcptr.txt properly identify function pointers that return things like [64 x i16]* 2012-05-30 18:49:03 -07:00
gepaddoverflow.ll properly overflow gep arguments; fixes #1975 2014-01-07 12:02:47 -08:00
gepaddoverflow.txt properly overflow gep arguments; fixes #1975 2014-01-07 12:02:47 -08:00
i24_mem_ta2.ll final test_cases fixes for fastcomp 2013-12-15 14:24:20 -08:00
i24_mem_ta2.txt make i24_mem test ta2 only 2013-07-29 17:54:45 -07:00
i64toi8star.ll test/cases fixes for fastcomp 2013-12-15 11:27:19 -08:00
i64toi8star.txt add failing test case 2011-12-07 16:56:04 -08:00
indirectbrphi.ll add indirectbr-phi test 2013-01-25 14:28:22 -08:00
indirectbrphi.txt add indirectbr-phi test 2013-01-25 14:28:22 -08:00
inttoptr.ll test/cases fixes for fastcomp 2013-12-15 11:27:19 -08:00
inttoptrfloat.ll fix test_cases/inttoptrfloat.ll 2013-03-03 15:00:00 -08:00
invokebitcast.ll final test_cases fixes for fastcomp 2013-12-15 14:24:20 -08:00
invokeundef.ll fix testcase to validate as llvm ir 2014-01-13 10:44:53 -08:00
issue_39.ll move test for issue 39 into test_cases 2011-12-21 16:08:14 -08:00
issue_39.txt move test for issue 39 into test_cases 2011-12-21 16:08:14 -08:00
legalizer_ta2.ll more fixes for test_cases for fastcomp 2013-12-13 18:18:50 -08:00
legalizer_ta2.txt fix i64 invoke args, and parsing of very large i64 (and other illegal) constants 2012-02-29 15:57:24 -08:00
loadbitcastgep.ll various fixes for test_cases for fastcomp 2013-12-13 16:59:06 -08:00
longjmp_tiny.ll setjmp support for asm.js 2013-04-18 20:54:22 -07:00
longjmp_tiny.txt setjmp support for asm.js 2013-04-18 20:54:22 -07:00
longjmp_tiny_invoke.ll update tests to allow exceptions and setjmp together in fastcomp 2014-01-21 13:58:58 -08:00
longjmp_tiny_invoke.txt enable tests/cases/*longjmp* for asm 2013-04-18 21:41:28 -07:00
longjmp_tiny_invoke_phi.ll update tests to allow exceptions and setjmp together in fastcomp 2014-01-21 13:58:58 -08:00
longjmp_tiny_invoke_phi.txt properly handle invoke of setjmp, by lowering to a call, which fixes phis that refer to it. fixes #1942 2013-12-25 11:32:06 -08:00
longjmp_tiny_phi.ll updates and fixes for test_cases 2014-01-20 16:19:24 -08:00
longjmp_tiny_phi.txt enable tests/cases/*longjmp* for asm 2013-04-18 21:41:28 -07:00
longjmp_tiny_phi2.ll updates and fixes for test_cases 2014-01-20 16:19:24 -08:00
longjmp_tiny_phi2.txt enable tests/cases/*longjmp* for asm 2013-04-18 21:41:28 -07:00
muli33_ta2.ll disable some test_cases tests in s_x_x 2013-06-03 12:10:02 -07:00
muli33_ta2.txt disable some test_cases tests in s_x_x 2013-06-03 12:10:02 -07:00
ncurly.ll testcase for last commit 2011-05-11 09:51:18 -07:00
oob_ta2.ll more fixes for test_cases for fastcomp 2013-12-13 18:18:50 -08:00
phi24_ta2.ll yet more fixes for test_cases for fastcomp 2013-12-13 19:08:59 -08:00
phi24_ta2.txt legalize truncs from legal values into illegal values 2013-03-10 21:27:25 -07:00
phicubed.ll tests/cases fixes for fastcomp 2013-12-15 12:37:13 -08:00
phicubed.txt fix phi semantics with multiple dependent phis 2011-11-11 18:40:38 -08:00
phientryimplicit.ll fix tests/cases/phientryimplicit.ll 2013-12-19 12:16:38 -08:00
phientryimplicitmix.ll more fixes for test_cases for fastcomp 2013-12-13 18:18:50 -08:00
phientryimplicitmoar.ll various fixes for test_cases for fastcomp 2013-12-13 16:59:06 -08:00
phientryimplicitmoar.txt fix bug with missing entry labels being misused between original labels and numeric label ids, and add test 2012-05-11 14:42:25 -07:00
philoop_ta2.ll disable some test_cases tests in s_x_x 2013-06-03 12:10:02 -07:00
philoop_ta2.txt disable some test_cases tests in s_x_x 2013-06-03 12:10:02 -07:00
phinonexist.ll allow nonexistent phis in another location + add test 2012-05-14 15:31:28 -07:00
phiptrtoint.ll use full params when legalizing phis, not just their idents; fixes #1702 2013-10-11 14:58:45 -04:00
phiptrtoint.txt use full params when legalizing phis, not just their idents; fixes #1702 2013-10-11 14:58:45 -04:00
phiself.ll final test_cases fixes for fastcomp 2013-12-15 14:24:20 -08:00
phiself.py test fixes 2012-01-27 12:22:22 -08:00
phiself.txt fix 2 phi bugs with multiple phis and self-refing phis 2012-01-26 16:27:28 -08:00
ptrtoi64.ll test/cases fixes for fastcomp 2013-12-15 11:27:19 -08:00
ptrtoi64.txt handle truncation inside ptrtoint when needed, and fix some potential bugs (add proper type to inline mathops with to at the end, and parseInt on bitsLeft in processMathops) 2011-12-31 14:57:04 -08:00
ptrtoint_blockaddr.ll split js compiler into three passes, to facilitate future parallization 2012-11-06 10:26:10 -08:00
quoted.ll handle identifiers with quotes and ignore |hidden| +test 2010-11-16 20:05:51 -08:00
quotedlabel.ll add support for quoted labels; fixes #360 2012-04-08 11:07:35 -07:00
returnfp.ll notice when a function call definitely does not have a return 2013-06-24 14:38:35 -07:00
selectadd.ll add testcase for select fix 2013-11-04 14:54:38 -08:00
selectstruct.ll various fixes for test_cases for fastcomp 2013-12-13 16:59:06 -08:00
sillybitcast.ll tests/cases fixes for fastcomp 2013-12-15 12:37:13 -08:00
sillybitcast2.ll tests/cases fixes for fastcomp 2013-12-15 12:37:13 -08:00
sillyfuncast.ll more fixes for test_cases for fastcomp 2013-12-13 18:18:50 -08:00
sillyfuncast2.ll fix both number of arguments and return type based on implementation information, to work around silly llvm function casts 2013-07-15 18:26:40 -07:00
storebigfloat.ll various fixes for test_cases for fastcomp 2013-12-13 16:59:06 -08:00
storestruct.ll more fixes for test_cases for fastcomp 2013-12-13 18:18:50 -08:00
storestruct.txt fix bug with storing aggregates 2011-08-14 21:55:00 -07:00
storestruct_q1.txt some updates for q1 2011-09-04 12:06:59 -07:00
structinparam.ll re-parse function types after types are fully analyzed, so we get the signatures of functions receiving struct types as parameters 2013-08-26 12:33:52 -07:00
structinparam.txt re-parse function types after types are fully analyzed, so we get the signatures of functions receiving struct types as parameters 2013-08-26 12:33:52 -07:00
structparam.ll start to legalize structural types 2012-12-07 14:23:23 -08:00
structparam.txt add structural type param testcase 2012-12-07 14:23:23 -08:00
structphiparam.ll various fixes for test_cases for fastcomp 2013-12-13 16:59:06 -08:00
structphiparam.txt accept phi subItems that are parsable LLVM functions 2013-08-02 15:24:23 -07:00
sub_11_0.ll more fixes for test_cases for fastcomp 2013-12-13 18:18:50 -08:00
subnums.ll fix test_cases_subnums 2012-11-27 10:19:20 -08:00
subnums.txt fix for getFastValue with subtracting a negative 2012-07-08 13:14:31 -07:00
switch64_ta2.ll more i64 switch tests 2014-01-11 18:07:31 -08:00
switch64_ta2.txt more i64 switch tests 2014-01-11 18:07:31 -08:00
switch64b_ta2.ll more i64 switch tests 2014-01-11 18:07:31 -08:00
switch64b_ta2.txt more i64 switch tests 2014-01-11 18:07:31 -08:00
trace.ll fix test_cases:trace 2013-05-10 19:17:04 -07:00
trunc.ll fix varargs calls in function pointers 2011-11-25 13:45:25 -08:00
trunc.txt proper support for bitfields 2010-12-09 20:09:11 -08:00
typestr.ll improve parsing of globals and types 2012-12-31 10:49:03 -08:00
uadd_overflow_64_ta2.ll Improve test/cases/uadd_overflow_64_ta2.ll to check that the tricky addition case 0xFFFFFFFFFFFFFFFF + 0x0000000100000001 is handled correctly. 2013-04-23 22:46:04 +03:00
uadd_overflow_64_ta2.txt Improve test/cases/uadd_overflow_64_ta2.ll to check that the tricky addition case 0xFFFFFFFFFFFFFFFF + 0x0000000100000001 is handled correctly. 2013-04-23 22:46:04 +03:00
uadd_overflow_ta2.ll various fixes for test_cases for fastcomp 2013-12-13 16:59:06 -08:00
uadd_overflow_ta2.txt handle inline struct definitions (assuming zeroinit) in illegal insertvalue, and add testcase based on gmp.js 2013-04-12 16:55:36 -07:00
udiv.ll do not emit floats from getFastValue divisions, can break asm 2013-02-28 16:47:35 -05:00
unaligneddouble.ll test/cases fixes for fastcomp 2013-12-15 11:27:19 -08:00
unannotated__noasm.ll fix asm*.test_cases 2013-03-18 10:35:21 -07:00
unannotated__noasm.txt fix asm*.test_cases 2013-03-18 10:35:21 -07:00
zeroembedded.ll more fixes for test_cases for fastcomp 2013-12-13 18:18:50 -08:00
zeroembedded.txt fix structure size when it has a [0 x ..] at the end - that should add nothing 2013-07-23 12:18:02 -07:00
zeroextarg.ll various fixes for test_cases for fastcomp 2013-12-13 16:59:06 -08:00