log gen/toir.cpp @ 1419:a6dfd3cb5b99 0.9.1

age author description
Wed, 27 May 2009 19:20:18 +0200 Christian Kamm Error instead of assert on delegate literals as constant expressions. 0.9.1
Wed, 20 May 2009 16:20:59 +0200 Frits van Bommel Don't print the entire declaration of the alliassee when `->toChars()` is
Mon, 18 May 2009 16:01:22 +0200 Tomas Lindquist Olsen Try to cut down reallocations when building string literals.
Sun, 17 May 2009 11:06:14 +0200 Frits van Bommel Use %La to hex-format a real instead of pretending it's an integer.
Sun, 17 May 2009 10:33:21 +0200 Frits van Bommel Specify a large integer constant more portably.
Sun, 17 May 2009 00:15:25 +0200 Frits van Bommel Fix format-string bugs by adding __attribute__((__format__)) in all applicable
Sat, 16 May 2009 22:21:31 +0200 Tomas Lindquist Olsen Merged DMD 1.045 !!!
Thu, 14 May 2009 17:20:17 +0200 Tomas Lindquist Olsen Initial (but disabled) fix for ticket #294 , the actual part that fixes the bug is in a #if 0 block as I'm afraid it will cause regressions. I'm most likely not going to be around tonight, and maybe not tomorrow as well, so I'm pushing it in case someone wants to run some serious testing/investigate the problem noted in llvmhelpers.cpp : realignOffset .
Thu, 14 May 2009 13:26:40 +0200 Tomas Lindquist Olsen Adds explicit alignment information for alloca instructions in general, there's a few cases that still needs to be looked at but this should catch the majority. Fixes ticket #293 .
Sun, 10 May 2009 00:46:09 +0200 Tomas Lindquist Olsen Fixed dmdfe generated class invariant calls. Also insert proper "this !is null" check before it. Fixed invariant* dstress regressions and generally seems like a good idea. Hope I didn't break anything.. minitests run fine!
Sun, 03 May 2009 11:16:54 +0200 Christian Kamm Make static int[] a = [1, 2]; a[0] = 4; not segfault
Mon, 27 Apr 2009 13:59:15 +0200 Tomas Lindquist Olsen Forgot the special case part in last !ThisExp change.
Mon, 27 Apr 2009 13:30:48 +0200 Tomas Lindquist Olsen Moved special casing of 'assert(this, "null this");' generated statements from !ThisExp into !AssertExp.
Mon, 27 Apr 2009 03:40:40 +0200 Tomas Lindquist Olsen Fixed class default initializers and type generation. Bug #260 is fixed.
Wed, 22 Apr 2009 03:08:28 +0200 Tomas Lindquist Olsen Rewrote runtime struct literal codegen.
Tue, 21 Apr 2009 17:54:43 +0200 Tomas Lindquist Olsen Merge.
Fri, 17 Apr 2009 14:38:29 +0200 Tomas Lindquist Olsen Fixed all issues preventing Tango 0.99.8 to compile with `sh build-tango.sh --verbose ldc'.
Thu, 16 Apr 2009 19:21:30 +0200 Tomas Lindquist Olsen Fixed some minitest regressions.
Wed, 15 Apr 2009 20:06:25 +0200 Tomas Lindquist Olsen Added Doxygen file.
Sun, 19 Apr 2009 19:28:10 +0200 Frits van Bommel No need for temporary alloca's here, use a phi node instead.
Sun, 12 Apr 2009 22:22:15 +0200 Frits van Bommel Merge
Sun, 12 Apr 2009 13:08:24 +0200 Frits van Bommel Isolate all knowledge of what a function's nested context looks like in a
Sun, 12 Apr 2009 14:58:18 +0200 Christian Kamm Introduce checks to fix #173.
Sun, 29 Mar 2009 03:27:04 +0200 Frits van Bommel Clean up some suspicious code.
Sat, 28 Mar 2009 20:01:37 +0100 Christian Kamm Force initialize the runtime module in Module::genLLVMModule. It is required
Sat, 28 Mar 2009 06:32:06 +0100 Tomas Lindquist Olsen Added initial support for raw LLVM inline asm.
Sat, 28 Mar 2009 05:00:43 +0100 Tomas Lindquist Olsen - Versioned Expresssion::toElem with #if IN_DMD/IN_LLVM.
Fri, 27 Mar 2009 23:17:04 +0100 Tomas Lindquist Olsen Fixed problems introduced by previous commits that prevented Tango from compiling.
Fri, 27 Mar 2009 21:50:32 +0100 Tomas Lindquist Olsen Eliminated the need for resolve, declare, const-init and define lists to drive code generation.
Fri, 27 Mar 2009 17:54:27 +0100 Tomas Lindquist Olsen Changed use of toObjFile to a new codegen method.
Thu, 26 Mar 2009 20:45:53 +0100 Tomas Lindquist Olsen * Moved ir/irsymbol.cpp/h into ir/irdsymbol.cpp/h.
Tue, 24 Mar 2009 21:18:18 +0100 Christian Kamm Reorganize EnclosingHandlers to require less changes to the frontend and allow us to
Tue, 24 Mar 2009 14:33:57 +0100 Christian Kamm Fix #239.
Thu, 12 Mar 2009 20:37:27 +0100 Tomas Lindquist Olsen - Updated to DMD frontend 1.041.
Tue, 03 Mar 2009 19:18:47 +0100 Tomas Lindquist Olsen Added ~{memory} clobber when a jump_target is generated in inline asm (branch out of inline asm)
Tue, 03 Mar 2009 17:27:14 +0100 Tomas Lindquist Olsen Fixed potential assertion failure in taking address of function as a constant expression.
Thu, 26 Feb 2009 14:51:02 +0100 Frits van Bommel Use LLVM OStream wrapper instead of <iostream> in the logger.
Wed, 25 Feb 2009 19:30:06 +0100 Frits van Bommel Call llvm_shutdown when shutting down the backend.
Tue, 17 Feb 2009 18:25:34 +0100 Christian Kamm Fix #216 by implementing TypeExp::toElem. It just provides the appropriate
Wed, 04 Feb 2009 02:10:23 +0100 Tomas Lindquist Olsen Removed some dead code.
Tue, 03 Feb 2009 23:48:47 +0100 Tomas Lindquist Olsen Fixed dstress/run/a/array_initialization_17_A.d regression. default initialized static array elements in a constant static array initializer was getting incorrect values.
Tue, 03 Feb 2009 08:54:57 +0100 Tomas Lindquist Olsen Implemented proper support for naked asm using llvm module level asm. Still not 100% complete, but already 1000 times better that what we had before. Don's BignumX86 implementation from Tango (when turned into a standalone unittest) seems to fully work with no changes, and great performance :)
Mon, 02 Feb 2009 01:44:51 +0100 Tomas Lindquist Olsen Changed templates and typeinfo to use linkonce linkage instead of weak linkage, this should fix inlining problems, fixing bug #197 . If problems show up, it's easy to change it back by changing the define in mars.h . I'm 95% sure this is safe, given how we handle templates.
Mon, 02 Feb 2009 00:26:32 +0100 Tomas Lindquist Olsen Fix bug #199
Sun, 01 Feb 2009 20:20:56 +0100 Christian Kamm Fix #198 and #199 by making CTFE on static struct initializers work.
Sat, 17 Jan 2009 14:53:32 +0100 Christian Kamm Fix #163.
Tue, 30 Dec 2008 11:42:01 +0100 Christian Kamm Fix #153. Factor out common code in StructLiteralExp::to(Const)Elem.
Sat, 20 Dec 2008 09:13:44 +0100 Christian Kamm Adjust error message for missing toConstExp to include 'is not a const exp'.
Thu, 18 Dec 2008 07:59:03 +0100 Christian Kamm Add more toConstElem stubs to get better error messages.
Wed, 17 Dec 2008 21:24:17 +0100 Christian Kamm Applied modification of wilsonk's patch for AndAnd and OrOrExp for void rhs funcs.
Wed, 17 Dec 2008 21:03:06 +0100 Christian Kamm Remove some dead code.
Wed, 17 Dec 2008 20:40:27 +0100 Christian Kamm Apply wilsonk's patch to AddrExp::toConstElem for struct literals.
Tue, 09 Dec 2008 14:07:30 +0100 Tomas Lindquist Olsen Removed error on naked, not fully complete, but I'll be doing more work on it during this Christmas, and some things do work.
Tue, 09 Dec 2008 03:01:19 +0100 Tomas Lindquist Olsen This ''should'' fix #139 , I failed to produce a testcase, but I would imagine this to be correct, and it removes '''that''' error when building Hybrid.
Tue, 09 Dec 2008 01:56:39 +0100 Tomas Lindquist Olsen Added proper "need 'this' to access member foo" errors instead of "variable foo not resolved" for some cases, added FIXME for the old error!
Thu, 04 Dec 2008 16:11:09 +0100 Tomas Lindquist Olsen Commented some logging that could be '''very''' long, cuts -vv output size of a gtkd gl sample down 1.2GB by 3/4.
Wed, 03 Dec 2008 01:40:28 +0100 Tomas Lindquist Olsen Fixed non-static struct initializers.
Tue, 02 Dec 2008 01:20:22 +0100 Tomas Lindquist Olsen Implemented allocating storage for a slice if its address is taken, fixes #115
Tue, 02 Dec 2008 01:07:22 +0100 Tomas Lindquist Olsen Fixed taking address of global static array element as constant expression.
Sun, 30 Nov 2008 20:22:09 +0100 Tomas Lindquist Olsen Changed some hardcoded offset/alignment for classes in DMD, broke offsets for 64bits.
Sat, 29 Nov 2008 20:57:52 +0100 Tomas Lindquist Olsen Fixed some problems with the addZeros forward declarations having type mismatches.
Sat, 29 Nov 2008 21:25:43 +0100 Tomas Lindquist Olsen Removed KDevelop3 project files, CMake can generate them just fine!
Sat, 22 Nov 2008 18:35:52 +0100 Christian Kamm Get rid of DtoBoolean - use DtoCast(... Type::tbool) instead.
Fri, 14 Nov 2008 16:26:12 +0100 Christian Kamm Cast result of ...AssignExp to type the frontend expects if necessary. Fixes #116.
Wed, 12 Nov 2008 07:22:05 +0100 Tomas Lindquist Olsen D2 changes!
Tue, 11 Nov 2008 01:38:48 +0100 Tomas Lindquist Olsen Added initial D2 support, D2 frontend and changes to codegen to make things compile.
Thu, 23 Oct 2008 00:34:46 +0200 Tomas Lindquist Olsen Added inreg attribute where appropriate on x86 to follow ABI docs.
Wed, 22 Oct 2008 21:50:08 +0200 Tomas Lindquist Olsen Implemented first class delegates. closes #101
Wed, 22 Oct 2008 14:55:33 +0200 Tomas Lindquist Olsen Removed TypeOpaque from DMD.
Tue, 14 Oct 2008 15:35:49 +0200 Tomas Lindquist Olsen Fixed weird struct problem from downs, see mini/compile_structs1.d
Tue, 14 Oct 2008 13:21:14 +0200 Tomas Lindquist Olsen Fixed issue with accessing a WithStatement context from inside a nested function. see mini/with2.d
Mon, 13 Oct 2008 23:19:32 +0200 Tomas Lindquist Olsen Changed premake.lua to work with mingw.
Mon, 13 Oct 2008 17:28:39 +0200 Tomas Lindquist Olsen Started changing target triple stuff, part of fixing #97
Sat, 11 Oct 2008 22:44:17 +0200 Christian Kamm Remove too strict type check for DotTypeExp. Fixes run/t/typedef_19_B.
Wed, 08 Oct 2008 20:41:43 +0200 Christian Kamm When newing a struct, make sure the initializer is available.
Tue, 07 Oct 2008 20:19:19 +0200 Christian Kamm Add DotTypeExp
Tue, 07 Oct 2008 18:41:00 +0200 Christian Kamm Implement BoolExp.
Mon, 06 Oct 2008 16:22:54 +0200 Tomas Lindquist Olsen Forgot a change from DMD update.
Mon, 06 Oct 2008 14:06:55 +0200 Tomas Lindquist Olsen Support structs that are merely a forward reference. See mini/forwdecl1.d
Fri, 03 Oct 2008 19:24:46 +0200 Christian Kamm Fix -oq, closes #96
Thu, 02 Oct 2008 01:28:33 +0200 Tomas Lindquist Olsen Fixed problem with taking the delegate of a nested function of the current function.
Wed, 01 Oct 2008 20:55:13 +0200 Tomas Lindquist Olsen Fixed issue with IsExpression and potential type mismatch for classes.
Wed, 01 Oct 2008 20:32:12 +0200 Christian Kamm Detect a missing global before trying to const init it.
Wed, 01 Oct 2008 19:15:01 +0200 Christian Kamm Make invalid compile time casts an error instead of asserting.
Wed, 01 Oct 2008 18:32:31 +0200 Tomas Lindquist Olsen Wrapped all the most potentially expensive logging calls in a conditional to only do work when actually requested.
Sun, 28 Sep 2008 21:09:21 +0200 tomas Implemented constant pointer casts (like casting function pointer to void* as a constant global initializer)
Sun, 21 Sep 2008 19:28:57 +0200 Christian Kamm Fix NegExp not to use substraction.
Sun, 21 Sep 2008 14:45:41 +0200 Christian Kamm Backed out changeset 1b62222581fb
Sat, 20 Sep 2008 10:13:15 +0200 Christian Kamm Change bool type to i8
Tue, 16 Sep 2008 16:06:39 +0200 Tomas Lindquist Olsen Removed useless assert in ArrayLiteralExp::toConstElem
Tue, 16 Sep 2008 08:42:40 +0200 Christian Kamm Fix typo in ArrayLiteralExp::toConstElem.
Mon, 15 Sep 2008 15:48:59 +0200 Tomas Lindquist Olsen Fixed ArrayLiteralExp::toConstElem for dynamic arrays, tango-user library should now be possible to build. It seems to be related to DMD bug 2356, which must have been introduced recently, as we already handled this fine for ArrayInitializers, just not ArrayLiterals... Kinda annoying to have to do this work due to DMD bugs ...
Mon, 15 Sep 2008 02:39:55 +0200 Tomas Lindquist Olsen Fixed AddrExp might silently change the type of its value, but we weren't casting to compensate ... why doesn't DMD insert a cast?
Mon, 15 Sep 2008 02:04:26 +0200 Tomas Lindquist Olsen Fixed .funcptr property of delegates, no longer uses the infamous DMD rewrites to pointer arithmetic, instead a GEPExp has been introduced.
Sun, 14 Sep 2008 14:36:11 +0200 Christian Kamm Fix #88 : pragma(lib, "str") is now converted to -lstr in the linker command line.
Sun, 14 Sep 2008 10:56:01 +0200 Christian Kamm Allocate dynamic array literals on the heap.
Sun, 14 Sep 2008 10:13:50 +0200 Christian Kamm Add _d_newarrayvT and _d_newarraymvT to create arrays without initialization.
Thu, 11 Sep 2008 21:10:15 +0200 Tomas Lindquist Olsen Fixed a few mini tests issues.
Tue, 09 Sep 2008 16:49:47 -0700 Tomas Lindquist Olsen Complex number should now follow the D ABI on x86. They're also treated as first class values now. Big change.
Thu, 04 Sep 2008 17:24:10 +0200 Tomas Lindquist Olsen Pointer comparisons were being treated as signed integers. Now they are handled as unsigned integers.
Thu, 04 Sep 2008 17:17:40 +0200 Tomas Lindquist Olsen Fixed pointer comparisons with differing types.
Thu, 28 Aug 2008 20:17:21 +0200 Christian Kamm Always call finalizer for stack classes. Checking for the number of
Thu, 28 Aug 2008 20:15:36 +0200 Christian Kamm Do not assert on non-existing supposed globals. (see nocompile/union_12,14)
Thu, 21 Aug 2008 15:19:45 +0200 Christian Kamm Make class invariants work.
Sun, 17 Aug 2008 13:16:35 +0200 Christian Kamm Fix binops change for OpAssign.
Sun, 17 Aug 2008 12:21:53 +0200 Christian Kamm Binary ops had the wrong result type for real op imaginary.
Sat, 16 Aug 2008 14:01:23 +0200 Christian Kamm Do not need to allocate temporary for function literal.
Sat, 16 Aug 2008 13:33:37 +0200 Christian Kamm Fix function literals. They never carry a context.
Fri, 15 Aug 2008 22:41:47 +0200 Christian Kamm Add interface comparison to EqualExp: just do pointer comparison.
Sun, 10 Aug 2008 10:40:26 +0200 Christian Kamm Make struct literals work with typedefs.
Sun, 10 Aug 2008 08:37:38 +0200 Tomas Lindquist Olsen Added pragma(llvmdc, "string") for misc per-module compiler configuration, currently "string" can only be "verbose" which forces -vv for module it appears in.
Sat, 09 Aug 2008 09:03:52 +0200 Christian Kamm Default initialize temporary struct generated from struct literal.
Tue, 05 Aug 2008 19:28:19 +0200 Christian Kamm Move AllocaInst creation into DtoAlloca helper. Will enable special zero-init of fp80 reals' padding.
Mon, 04 Aug 2008 03:38:23 +0200 Tomas Lindquist Olsen Fixed constant expression taking address of function.
Mon, 04 Aug 2008 02:59:34 +0200 Tomas Lindquist Olsen Removed the 'needsstorage' thing from Dsymbol. Arguments are not always given storage when applicable. This is not longer treat specially
Sun, 03 Aug 2008 16:59:28 +0200 Tomas Lindquist Olsen Fixed problem in AssignExp where the result value might be uninitialized. see mini/assign1.d
Sun, 03 Aug 2008 16:10:00 +0200 Tomas Lindquist Olsen Fixed problem with using the variable names _arguments and _argptr in non D-style vararg functions.
Sat, 02 Aug 2008 22:54:46 +0200 Christian Kamm Automated merge with http://hg.dsource.org/projects/llvmdc
Sat, 02 Aug 2008 22:54:36 +0200 Christian Kamm Implement a rough AddrExp::toConstElem()
Sat, 02 Aug 2008 22:35:24 +0200 Tomas Lindquist Olsen Fixed AA Rvalue-only access (like indexing an AA return value immediately).