[PATCH] D152646: [ValueTracking] More unsigned binary op implied conditions
Joshua Cao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 11 00:22:22 PDT 2023
caojoshua created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
caojoshua requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
We add rules for sub, mul, udiv, urem, shl, and &&. We also add
strengthened rule for add to work for all Values, and not just
constants. We have to check for zeros for mul, div, and urem.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D152646
Files:
llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Transforms/InstSimplify/implies.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152646.530283.patch
Type: text/x-patch
Size: 5452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230611/b0ff4f62/attachment.bin>
More information about the llvm-commits
mailing list