[PATCH] D113141: [InstCombine] Relax and reorganize one use checks in the ~(a | b) & c
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 10 08:37:23 PST 2021
spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/test/Transforms/InstCombine/and-xor-or.ll:1713
define i32 @or_and_not_not_2_extra_uses(i32 %a, i32 %b, i32 %c) {
; CHECK-LABEL: @or_and_not_not_2_extra_uses(
----------------
Might want to put an explanatory comment on this test and/or add another test that shows that we have a use-limit in place, but it could be adjusted in the future to be more flexible.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113141/new/
https://reviews.llvm.org/D113141
More information about the llvm-commits
mailing list