[SROA] Remove incorrect assertion
authorJames Molloy <james.molloy@arm.com>
Mon, 22 Aug 2016 18:49:42 +0000 (18:49 +0000)
committerJames Molloy <james.molloy@arm.com>
Mon, 22 Aug 2016 18:49:42 +0000 (18:49 +0000)
commit0fee97f8baf4c1942666df7adbfd07b6f8e8c904
tree22f5fa8377f0b9b08ca01340eef5f7ee02ff86e0
parent3820ac31061f59806a2c1cffbbe6e2ef6031ff6f
[SROA] Remove incorrect assertion

Confirmed with aprantl, this assertion is incorrect - code can get here (for example 80-bit FP types) and if it does it's benign. This is exposed by a completely unrelated patch of mine, so stop the compiler falling over.

Original differential: http://reviews.llvm.org/D16187
aprantl's advice to remove assertion: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160815/382129.html

llvm-svn: 279454
llvm/lib/Transforms/Scalar/SROA.cpp