Re: r304127 - IRGen: Add optnone attribute on function during O0

2017-05-29 Thread David Blaikie via cfe-commits
I'm assuming most of these tests aren't actually testing for attributes - perhaps it'd be better to remove their dependence on a particular attribute list number so future changes to attributes don't require so many touches? On Sun, May 28, 2017 at 10:38 PM Mehdi Amini via cfe-commits < cfe-commi

r304127 - IRGen: Add optnone attribute on function during O0

2017-05-28 Thread Mehdi Amini via cfe-commits
Author: mehdi_amini Date: Mon May 29 00:38:20 2017 New Revision: 304127 URL: http://llvm.org/viewvc/llvm-project?rev=304127&view=rev Log: IRGen: Add optnone attribute on function during O0 Amongst other, this will help LTO to correctly handle/honor files compiled with O0, helping debugging failur