[PATCH] D96945: [InstCombine] Add simplification of two logical and/ors
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 7 07:35:21 PST 2021
aqjune marked an inline comment as done.
aqjune added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/select-safe-bool-transforms.ll:53
; CHECK-NEXT: [[C:%.*]] = select i1 [[A:%.*]], i1 [[B:%.*]], i1 false
; CHECK-NEXT: [[RES:%.*]] = or i1 [[C]], [[A]]
; CHECK-NEXT: ret i1 [[RES]]
----------------
There are a few suboptimal patterns left; Since they are just simple syntactic patterns, I'll write them and push directly.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96945/new/
https://reviews.llvm.org/D96945
More information about the llvm-commits
mailing list