log gen/toir.cpp @ 1638:0de4525a9ed6

age author description
Sun, 14 Feb 2010 10:11:05 +0100 Christian Kamm Improve array append performance.
Sun, 08 Nov 2009 16:16:17 +0000 Robert Clipsham Fixed DStress tests nocompile/c/{const_32_B.d,const_32_C.d}.
Wed, 09 Sep 2009 20:13:17 +0200 Moritz Warning allow forward referencing, fix #361
Fri, 14 Aug 2009 01:43:30 +0200 Benjamin Kramer Avoid some unecessary heap allocations by using llvm's StringRef class.
Fri, 14 Aug 2009 00:39:18 +0200 Benjamin Kramer IntegerType is now contextifed.
Thu, 06 Aug 2009 01:47:39 +0200 Benjamin Kramer Push the context through StructType::get.
Thu, 06 Aug 2009 16:52:43 +0200 Tomas Lindquist Olsen Added framework for writing a static printf call checker for bearophile to implement.
Fri, 31 Jul 2009 23:01:29 +0200 Benjamin Kramer getNullValue is in Constant again
Fri, 31 Jul 2009 19:11:07 +0200 Benjamin Kramer getTrue/getFalse were moved back to ConstantInt
Fri, 31 Jul 2009 01:16:30 +0200 Benjamin Kramer ConstantAggregateZero moved back to LLVM 2.5-style API
Thu, 30 Jul 2009 15:25:10 +0200 Benjamin Kramer LLVMContext changes up to r77366
Tue, 21 Jul 2009 13:11:39 +0200 Benjamin Kramer ConstantInt::get{True,False} moved to LLVMContext
Wed, 15 Jul 2009 18:09:41 +0200 Benjamin Kramer More factory methods moved to LLVMContext
Mon, 13 Jul 2009 20:16:15 +0200 Benjamin Kramer Don't use llvm::getGlobalContext() anymore
Mon, 13 Jul 2009 12:17:58 +0200 Benjamin Kramer Build fix for the latest LLVMContext changes (LLVM r75445)
Fri, 10 Jul 2009 21:30:02 +0200 Christian Kamm Adjust LDC to work with the LLVMContext LLVM changes.
Mon, 22 Jun 2009 19:31:25 +0200 Christian Kamm Emit file and line info for 'Array operation ... not recognized' error.
Sun, 21 Jun 2009 19:05:24 +0200 Christian Kamm Make == for associative arrays test for equality, not identity.
Sun, 21 Jun 2009 00:12:29 +0200 Frits van Bommel Implement equality comparison for associative arrays. The semantics aren't in
Tue, 16 Jun 2009 23:00:27 +0200 Christian Kamm Made is and !is use the same numeric comparison as == and !=, fixes #328
Sun, 14 Jun 2009 12:27:51 +0200 Christian Kamm Cannot take the address of a slice or struct literal as a constant expression.
Fri, 12 Jun 2009 21:34:35 +0200 Christian Kamm More DtoType -> DtoTypeNotVoid for getting the array element llvm type.
Sat, 06 Jun 2009 20:16:13 +0200 Frits van Bommel Rewrite `StructLiteralExp::toElem` to store individual fields instead of
Wed, 03 Jun 2009 03:49:24 +0200 Tomas Lindquist Olsen Added missing initializer of (LDC introduced) Expression::cachedLvalue in D2 frontend.
Sat, 30 May 2009 13:04:49 +0200 Frits van Bommel Remove code duplication for vtable loads and improve instruction naming to make
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.