aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-12-26 15:22:20 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-12-26 15:48:04 +0100
commitb21840751278128ef6942074ae89ea63c9c6ac58 (patch)
tree7af7fa9ea738a409932043eef079047e44708dd8 /llvm/lib/Support/SourceMgr.cpp
parente8c7e7cdbbb12a485999a8b9d69e7138b3f34845 (diff)
downloadllvm-b21840751278128ef6942074ae89ea63c9c6ac58.zip
llvm-b21840751278128ef6942074ae89ea63c9c6ac58.tar.gz
llvm-b21840751278128ef6942074ae89ea63c9c6ac58.tar.bz2
[ValueTracking] Handle more non-trivial conditions in isKnownNonZero()
In 35676a4f9a536a2aab768af63ddbb15bc722d7f9 I've added handling for non-trivial dominating conditions that imply non-zero on the true branch. This adds the same support for the false branch. The changes in pr45360.ll change block ordering and naming, but don't change the control flow. The urem is still guaraded by a non-zero check correctly.
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions