[PATCH] D125264: [ConstraintElimination] Simplify ssub(a, b) if a s>=b && a s>=0.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 11 13:22:32 PDT 2022
fhahn updated this revision to Diff 428754.
fhahn added a comment.
Fix check to ensure B s>= 0, this also ensures A s>= 0.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125264/new/
https://reviews.llvm.org/D125264
Files:
llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
llvm/test/Transforms/ConstraintElimination/ssub-with-overflow.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125264.428754.patch
Type: text/x-patch
Size: 6713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220511/fbdaf9d7/attachment.bin>
More information about the llvm-commits
mailing list