]> granicus.if.org Git - clang/commit
Do not disable completely loop unroll when optimizing for size.
authorMarianne Mailhot-Sarrasin <marianne.mailhot.sarrasin@gmail.com>
Wed, 4 May 2016 15:26:28 +0000 (15:26 +0000)
committerMarianne Mailhot-Sarrasin <marianne.mailhot.sarrasin@gmail.com>
Wed, 4 May 2016 15:26:28 +0000 (15:26 +0000)
commit346d1b48180296f0c0bbbf9c3ae6d3d55d54738f
tree4841752d362104da4cd244b7c7e5b13aa3ef6433
parent0820d77473e88902818ec579b2d0dd115ba803e4
Do not disable completely loop unroll when optimizing for size.

Let the loop unroll pass handle /Os. It already checks that option and adjust its thresholds accordingly. Also, will allow the #pragma unroll to have an effect in /Os.

Differential Revision: http://reviews.llvm.org/D19827

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268509 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/CompilerInvocation.cpp