Граф коммитов

179 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 4e64f48eeb clean up some more tests/cases 2014-01-13 10:53:22 -08:00
Alon Zakai 502ba282c1 fix testcase to validate as llvm ir 2014-01-13 10:44:53 -08:00
Alon Zakai e4876a3dd9 remove old test that cannot be done in fastcomp, relies on code miscompilation in original compiler 2014-01-13 10:34:14 -08:00
Alon Zakai 0bb7d8093a more i64 switch tests 2014-01-11 18:07:31 -08:00
Alon Zakai 04b5c9d3d4 properly overflow gep arguments; fixes #1975 2014-01-07 12:02:47 -08:00
Alon Zakai fda1fc2a3e 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
Alon Zakai 970cd15cd7 fix tests/cases/phientryimplicit.ll 2013-12-19 12:16:38 -08:00
Alon Zakai b01d1845c4 handle a single empty alloca; fixes #1919 2013-12-16 17:45:47 -08:00
Alon Zakai e54121ad45 final test_cases fixes for fastcomp 2013-12-15 14:24:20 -08:00
Alon Zakai 361070533d tests/cases fixes for fastcomp 2013-12-15 12:37:13 -08:00
Alon Zakai f230ad6347 test/cases fixes for fastcomp 2013-12-15 11:27:19 -08:00
Alon Zakai 79191815d0 yet more fixes for test_cases for fastcomp 2013-12-13 19:08:59 -08:00
Alon Zakai fbfa2996ed more fixes for test_cases for fastcomp 2013-12-13 18:18:50 -08:00
Alon Zakai 4edb942c56 various fixes for test_cases for fastcomp 2013-12-13 16:59:06 -08:00
Alon Zakai 11418ef9f0 emit proper large float constants when js opts are to be run 2013-11-08 19:13:57 -08:00
Alon Zakai 71ea2d7129 add testcase for select fix 2013-11-04 14:54:38 -08:00
Alon Zakai 5252554297 fix tests/cases/caall.ll 2013-10-30 16:37:53 -07:00
Alon Zakai 84f9bc30e3 improve [2 x i40] testcase 2013-10-25 11:20:42 -07:00
Alon Zakai 52b97cb911 handle internal illegal iX fields in calculateStructAlignment 2013-10-25 11:10:01 -07:00
Alon Zakai 067a60d649 handle empty inline asms; fixes #1729 2013-10-24 12:14:55 -07:00
Alon Zakai 76556a057a properly parse ctors fully; fixes #1155 2013-10-14 12:03:55 -07:00
Alon Zakai 02199633fa use full params when legalizing phis, not just their idents; fixes #1702 2013-10-11 14:58:45 -04:00
Alon Zakai da9b1401a8 do not assert on output of numeric 0 from a js handler 2013-10-10 13:19:01 -04:00
Alon Zakai b379e05eb6 remove obsolete fp80 test 2013-10-02 17:31:37 -07:00
Alon Zakai 2a0f90ac59 asm coerce in atomicrmw; fixes #1637 2013-09-23 16:03:06 -07:00
Alon Zakai 5912c32ab0 do not switchify illegally-typed switches 2013-09-12 21:55:47 -07:00
Alon Zakai 27acdf30fb fix test_cases/callwithstructural 2013-08-27 10:16:57 -07:00
Alon Zakai 315570d2fd handle illegal values in structural constants in calls; fixes #1318 2013-08-26 22:13:56 -07:00
Alon Zakai 71ce392233 handle structural constants in calls 2013-08-26 21:42:49 -07:00
Alon Zakai 38a35036a9 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
Alon Zakai 984e7b2aff properly parse things like { i8*, { i64, i8* } (i8*)* }, issue #1319 2013-08-13 11:27:13 -07:00
Alon Zakai def22b8d53 legalize add etc. of < 32-bit illegal values properly; fixes #1505 2013-08-12 11:23:31 -07:00
Alon Zakai 2cb37d3818 improve testcase 2013-08-02 15:29:12 -07:00
Alon Zakai 94457cf057 accept phi subItems that are parsable LLVM functions 2013-08-02 15:24:23 -07:00
Alon Zakai 7b1cee52c4 make i24_mem test ta2 only 2013-07-29 17:54:45 -07:00
Alon Zakai f4cff4862c properly handle loads of i24s and similar illegal values 2013-07-24 10:22:38 -07:00
Alon Zakai 099f970ee7 properly handle generation of instances of structures ending in [0 x ..] 2013-07-23 20:26:44 -07:00
Alon Zakai 2980ce7c70 fix structure size when it has a [0 x ..] at the end - that should add nothing 2013-07-23 12:18:02 -07:00
Alon Zakai e59bfd4f6c 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
Alon Zakai a1143f0cf7 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
Alon Zakai 52712de67e when we are calling an implemented function, call it using the signature it is implemented as, to avoid issues with LLVM casting for no reason 2013-07-15 18:26:40 -07:00
Alon Zakai 7f43bd7673 only remove unneeded arguments based on library sigs for llvm intrinsics (which cannot be aliased by user functions) 2013-07-09 16:33:57 -07:00
Alon Zakai 415a82bfa6 notice when a function call definitely does not have a return 2013-06-24 14:38:35 -07:00
Alon Zakai 2008d70624 disable some test_cases tests in s_x_x 2013-06-03 12:10:02 -07:00
Alon Zakai abe3dbef68 handle illegal mathops in processMathop; valid for <64 bits in some cases 2013-05-30 11:21:40 -07:00
Alon Zakai e814b40a71 handle phi loops properly 2013-05-30 10:12:51 -07:00
Alon Zakai bf8c659ebc handle globals with no value and no zeroinit 2013-05-24 14:24:57 -07:00
Alon Zakai 70d0363b35 handle dynamic indexes properly, even out of bounds, for array gep lookups; fixes #865 2013-05-22 17:23:40 -07:00
Alon Zakai 7a951f6ba5 fix test_cases:trace 2013-05-10 19:17:04 -07:00
Alon Zakai 300e44e423 remove tests/cases/gepoverflow since it is too finicky with absolute pointers 2013-05-06 12:04:29 -07:00