commit | 8b94db17a43a9d847fb088ac49bafde15ba61a6d | [log] [tgz] |
---|---|---|
author | Brendon Cahoon <bcahoon@codeaurora.org> | Wed Apr 22 15:06:40 2015 +0000 |
committer | Brendon Cahoon <bcahoon@codeaurora.org> | Wed Apr 22 15:06:40 2015 +0000 |
tree | 4245999730831e01d7cb15c3ca2637ffc2d167ef | |
parent | 6c347524e2bfd8dc69f4393f48c7f0c99344cb2b [diff] |
Fix a type mismatch assert in SCEV division An assert was triggered when attempting to create a new SCEV with operands of different types in the visitAddRecExpr. In this test case, the operand types of the numerator and denominator are different. The SCEV division code should generate a conservative answer when this happens. Differential Revision: http://reviews.llvm.org/D9021 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235511 91177308-0d34-0410-b5e6-96231b3b80d8