Disable loop re-rotation for -Oz (patch by Andrey Turetsky)
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 10 Jul 2015 10:37:09 +0000 (10:37 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 10 Jul 2015 10:37:09 +0000 (10:37 +0000)
commitf7dc9d0f5e88411546fda2bd3640ed971df7d096
treebb4eaff661b816a0f4ca211c919d50a549fc539a
parent8229e332bd6e7add96dabe230f8e6c701d5f3e39
Disable loop re-rotation for -Oz (patch by Andrey Turetsky)

After changes in rL231820 loop re-rotation is performed even in -Oz mode. Since loop rotation is disabled for -Oz, it seems loop re-rotation should be disabled too.
Differential Revision: http://reviews.llvm.org/D10961

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241897 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/PassManagerBuilder.cpp
test/Transforms/LoopRotate/oz-disable.ll [new file with mode: 0644]