Change conditional to assert. NFC.
authorPete Cooper <peter_cooper@apple.com>
Wed, 15 Jul 2015 00:07:57 +0000 (00:07 +0000)
committerPete Cooper <peter_cooper@apple.com>
Wed, 15 Jul 2015 00:07:57 +0000 (00:07 +0000)
commit6d27336681487de98652f7db4b2e70e69b15bd82
treece4e70219bf7b0dee834229f1a3e4c7a472806ec
parent74d5c149560b430655ab8889db45bcc4520b9cf4
Change conditional to assert.  NFC.

This code was breaking from the case statement if the getStoreSizeInBits()
value was not a multiple of 0.  Given that the implementation returns
getStoreSize() * 8, it can only be a multiple of 8.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242255 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/XCore/XCoreISelLowering.cpp