[PATCH] D137862: InstCombine: Fold some identities for canonicalize
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 11 12:48:45 PST 2022
arsenm created this revision.
arsenm added reviewers: spatel, kpn, andrew.w.kaylor, scanon, cameron.mcinally.
Herald added a subscriber: hiraditya.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
Equality is directly stated as true in the LangRef,
and I believe this works for every compare type.
https://reviews.llvm.org/D137862
Files:
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/canonicalize.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137862.474838.patch
Type: text/x-patch
Size: 21311 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221111/f806b903/attachment-0001.bin>
More information about the llvm-commits
mailing list