search for: insideloop_io

Displaying 2 results from an estimated 2 matches for "insideloop_io".

2015 May 04
2
[LLVMdev] Memory Allocation Optimized away with new by not with ::operator new
...:operator new. When I’ve switched back to new, the optimisation came back. Is it expected or a bug from LLVM? François Fayard Founder & Consultant - Inside Loop Tel: +33 (0)6 01 44 06 93 <tel:+33%206%2001%2044%2006%2093> Web: www.insideloop.io <http://www.insideloop.io/> Twitter: @insideloop_io ===== #include <iostream> #include <vector> std::vector<double> f_val(std::size_t i, std::size_t n) { auto v = std::vector<double>(n); for (std::size_t k = 0; k < v.size(); ++k) { v[k] = static_cast<double>(i); } return v; } int main (in...
2015 May 06
2
[LLVMdev] Memory Allocation Optimized away with new by not with ::operator new
...k search and the only thread I found is back from 2013. Could you please provide me with a link to the thread? François Fayard Founder & Consultant - Inside Loop Tel: +33 (0)6 01 44 06 93 <tel:+33%206%2001%2044%2006%2093> Web: www.insideloop.io <http://www.insideloop.io/> Twitter: @insideloop_io > On 06 May 2015, at 07:21, David Blaikie <dblaikie at gmail.com> wrote: > > Didn't we just have this discussion on cfe-dev? (or is there something different I've missed?) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm...