aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectScript.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2022-01-08 10:29:19 +0000
committerFlorian Hahn <flo@fhahn.com>2022-01-08 10:31:04 +0000
commit9345ab3a45509f61175e73084c03fbb523fb05cb (patch)
treea090fc35095bd84a1737a5023572a76121a7ef39 /lldb/source/Commands/CommandObjectScript.cpp
parent0e19186c82a8e6b403788aa9f24752cbc3bb2dc9 (diff)
downloadllvm-9345ab3a45509f61175e73084c03fbb523fb05cb.zip
llvm-9345ab3a45509f61175e73084c03fbb523fb05cb.tar.gz
llvm-9345ab3a45509f61175e73084c03fbb523fb05cb.tar.bz2
[SCEVExpander] Skip creating <u 0 check, which is always false.
Unsigned compares of the form <u 0 are always false. Do not create such a redundant check in generateOverflowCheck. The patch introduces a new lambda to create the check, so we can exit early conveniently and skip creating some instructions feeding the check. I am planning to sink a few additional instructions as follow-ups, but I would prefer to do this separately, to keep the changes and diff smaller. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D116811
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions