| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add PR to this FIXME, looks like I didn't commit this change after all. | Torok Edwin | 2009-10-07 | 1 | -1/+2 |
| | | | | | llvm-svn: 83457 | ||||
| * | Don't treat malloc calls with non-matching prototype as malloc. | Torok Edwin | 2009-10-05 | 1 | -2/+13 |
| | | | | | | | | Fixes second part of PR5130, miscompilation in FreeBSD kernel, where malloc takes 3 params, and *does* initialize memory. llvm-svn: 83324 | ||||
| * | No need to verify that malloc's return type is i8*. | Victor Hernandez | 2009-09-22 | 1 | -1/+1 |
| | | | | | llvm-svn: 82561 | ||||
| * | Update malloc call creation code (AllocType is now the element type of the ↵ | Victor Hernandez | 2009-09-18 | 1 | -41/+55 |
| | | | | | | | | | | | | | | | | | | | malloc, not the resulting type). In getMallocArraySize(), fix bug in the case that array size is the product of 2 constants. Extend isArrayMalloc() and getMallocArraySize() to handle case where malloc is used as char array. Ensure that ArraySize in LowerAllocations::runOnBasicBlock() is correct type. Extend Instruction::isSafeToSpeculativelyExecute() to handle malloc calls. Add verification for malloc calls. Reviewed by Dan Gohman. llvm-svn: 82257 | ||||
| * | Fit code within 80 columns | Victor Hernandez | 2009-09-10 | 1 | -2/+4 |
| | | | | | llvm-svn: 81459 | ||||
| * | Add some braces to make newer GCCs happy and update CMakeLists. | Benjamin Kramer | 2009-09-10 | 1 | -1/+1 |
| | | | | | llvm-svn: 81443 | ||||
| * | Add malloc call utility functions. Patch by Victor Hernandez. | Evan Cheng | 2009-09-10 | 1 | -0/+202 |
| llvm-svn: 81426 | |||||

