| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Make MemoryBuiltins aware of TargetLibraryInfo. | Benjamin Kramer | 2012-08-29 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | This disables malloc-specific optimization when -fno-builtin (or -ffreestanding) is specified. This has been a problem for a long time but became more severe with the recent memory builtin improvements. Since the memory builtin functions are used everywhere, this required passing TLI in many places. This means that functions that now have an optional TLI argument, like RecursivelyDeleteTriviallyDeadFunctions, won't remove dead mallocs anymore if the TLI argument is missing. I've updated most passes to do the right thing. Fixes PR13694 and probably others. llvm-svn: 162841 | ||||
| * | revert r160742: it's breaking CMake build | Nuno Lopes | 2012-07-25 | 1 | -4/+1 |
| | | | | | | | | original commit msg: MemoryBuiltins: add support to determine the size of strdup'ed non-constant strings llvm-svn: 160751 | ||||
| * | MemoryBuiltins: add support to determine the size of strdup'ed non-constant ↵ | Nuno Lopes | 2012-07-25 | 1 | -1/+4 |
| | | | | | | | strings llvm-svn: 160742 | ||||
| * | move the bounds checking pass to the instrumentation folder, where it ↵ | Nuno Lopes | 2012-07-20 | 1 | -0/+209 |
| belongs. I dunno why in the world I dropped it in the Scalar folder in the first place. No functionality change. llvm-svn: 160587 | |||||

