summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-03-13 17:17:15 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-03-13 17:17:15 +0000
commit9855b3938093eb4a3663474a42a1a694327816c0 (patch)
tree3045d2a84bc5a492b0afa9277b958b8c0708173d /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py
parent8afcd938ed9cc51dd7db79171d1b06d1e479b3dc (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud