Avoid a confusing assert for silly options: -unroll-runtime -unroll-count=1.
authorAndrew Trick <atrick@apple.com>
Fri, 16 Dec 2011 02:03:48 +0000 (02:03 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 16 Dec 2011 02:03:48 +0000 (02:03 +0000)
commit1da282764aa8f155973769b44e4d5e67a0420af9
tree37ff15a4b7a5d52d199023bb81e8240aae7f4e1e
parent478a4d997ac4f0b3286e2ab0d4b445aff3cf2448
Avoid a confusing assert for silly options: -unroll-runtime -unroll-count=1.

No need for an explicit test case for an unsupported combination of options.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146721 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LoopUnroll.cpp