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)
commite46f7ef385950cfc9f5b910c4dded6a0315a748d
tree7cee492506c938923c433443ec7aef8b744e16c2
parent7e747d26c5434e2e6526fccf22a8931ca02aa387
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.

llvm-svn: 242255
llvm/lib/Target/XCore/XCoreISelLowering.cpp