OSDN Git Service

[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)
commita4a86e57a833ef4935d0fcd9a3c7b1be81c3b736
tree7ad72e681ec7e7738a421dfd8330c26903d76608
parent06e3fec531cb51bd6bfdc0171dd2676be355e76b
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279454 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SROA.cpp