summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/attr-optnone.c
Commit message (Collapse)AuthorAgeFilesLines
* Instead of having -Os/-Oz add OptimizeForSize/MinSize first, and laterPaul Robinson2014-12-111-0/+9
| | | | | | | | | | having OptimizeNone remove them again, just don't add them in the first place if the function already has OptimizeNone. Note that MinSize can still appear due to attributes on different declarations; a future patch will address that. llvm-svn: 224047
* Diagnose attributes 'optnone' and 'minsize' on the same declaration.Paul Robinson2014-12-101-1/+1
| | | | | | | Eventually we'll diagnose them on different declarations, but let's get this part out of the way first. llvm-svn: 223985
* Revert r223980 as it had wrong commit message.Paul Robinson2014-12-101-1/+1
| | | | llvm-svn: 223984
* Rename a couple of preprocessor symbols to be more descriptive. NFC.Paul Robinson2014-12-101-1/+1
| | | | | | Review feedback from recent changes to GetSVN.cmake. llvm-svn: 223980
* Correctly remove OptimizeForSize from functions marked OptimizeNone.Paul Robinson2014-11-241-1/+9
| | | | | | | This allows using __attribute__((optnone)) and the -Os/-Oz options. Fixes PR21604. llvm-svn: 222683
* Fix broken FileCheck prefixNico Rieck2014-05-231-1/+1
| | | | llvm-svn: 209541
* Implement the 'optnone' attribute, which suppresses most optimizationsPaul Robinson2014-03-311-0/+25
on a function. llvm-svn: 205255
OpenPOWER on IntegriCloud