diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-03-13 17:17:15 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-03-13 17:17:15 +0000 |
commit | 9855b3938093eb4a3663474a42a1a694327816c0 (patch) | |
tree | 3045d2a84bc5a492b0afa9277b958b8c0708173d /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py | |
parent | 8afcd938ed9cc51dd7db79171d1b06d1e479b3dc (diff) | |
download | bcm5719-llvm-9855b3938093eb4a3663474a42a1a694327816c0.tar.gz bcm5719-llvm-9855b3938093eb4a3663474a42a1a694327816c0.zip |
[DAGCombine] visitREM - Don't assume that one divrem isn't driving another
Under some circumstances the divrems won't have been combined together before getting to this code.
So replace the assertion with a if() guard to not expand to X-((X/C)*C) to give the other combine chance to happen.
Reduced from OSS-Fuzz #6883
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6883
llvm-svn: 327424
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py')
0 files changed, 0 insertions, 0 deletions