[PATCH] D93935: [ConstraintElimination] Add support for select form of and/or
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 29 23:21:08 PST 2020
aqjune created this revision.
aqjune added reviewers: fhahn, nikic.
Herald added a subscriber: hiraditya.
aqjune requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch adds support for select form of and/or.
Currently there is an ongoing effort for moving towards using `select a, b, false` instead of `and i1 a, b` and
`select a, true, b` instead of `or i1 a, b` as well.
D93065 <https://reviews.llvm.org/D93065> has links to relevant changes.
Alive2 proof: (undef input was disabled due to timeout :( )
- and: https://alive2.llvm.org/ce/z/AgvFbQ
- or: https://alive2.llvm.org/ce/z/KjLJyb
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93935
Files:
llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
llvm/test/Transforms/ConstraintElimination/and.ll
llvm/test/Transforms/ConstraintElimination/or.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93935.314078.patch
Type: text/x-patch
Size: 4874 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201230/3e6c9cc0/attachment.bin>
More information about the llvm-commits
mailing list